Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首航-临时账号
api
Commits
61f6e755
Commit
61f6e755
authored
Dec 21, 2020
by
java-李谡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步代码bug
parent
5a89e4f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
15 deletions
+8
-15
OilAnalysisService.java
src/com/ejweb/modules/airport/service/OilAnalysisService.java
+8
-15
No files found.
src/com/ejweb/modules/airport/service/OilAnalysisService.java
View file @
61f6e755
package
com
.
ejweb
.
modules
.
airport
.
service
;
package
com
.
ejweb
.
modules
.
airport
.
service
;
import
com.ejweb.core.base.BaseService
;
import
com.ejweb.core.base.BaseService
;
import
com.ejweb.core.base.PageEntity
;
import
com.ejweb.modules.airport.bean.OilAnalysisBean
;
import
com.ejweb.modules.airport.bean.OilAnalysisBean
;
import
com.ejweb.modules.airport.dao.OilAnalysisDao
;
import
com.ejweb.modules.airport.dao.OilAnalysisDao
;
import
com.ejweb.modules.airport.entity.OilAnalysisEntity
;
import
com.ejweb.modules.airport.entity.OilAnalysisEntity
;
import
com.ejweb.modules.airport.entity.StatisticalEntity
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.StringUtils
;
import
org.springframework.util.StringUtils
;
import
com.ejweb.core.base.PageEntity
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
sun.security.util.ArrayUtil
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.List
;
@Service
@Service
...
@@ -55,17 +51,15 @@ public class OilAnalysisService extends BaseService<OilAnalysisDao> {
...
@@ -55,17 +51,15 @@ public class OilAnalysisService extends BaseService<OilAnalysisDao> {
String
strKGS
=
oilArr
[
0
];
String
strKGS
=
oilArr
[
0
];
String
strLBS
=
oilArr
[
1
];
String
strLBS
=
oilArr
[
1
];
if
(
strKGS
.
length
()
==
0
)
if
(
strKGS
.
length
()
==
0
)
{
{
strKGS
=
"0"
;
strKGS
=
"0"
;
}
}
if
(
strLBS
.
length
()
==
0
)
if
(
strLBS
.
length
()
==
0
)
{
{
strKGS
=
"0"
;
strKGS
=
"0"
;
}
}
oilAnalysisEntity
.
setTotalOilKGS
(
Integer
.
valueOf
(
strKGS
.
replaceAll
(
"KGS"
,
""
)));
oilAnalysisEntity
.
setTotalOilKGS
(
Integer
.
valueOf
(
strKGS
.
replaceAll
(
"KGS"
,
""
)));
oilAnalysisEntity
.
setTotalOilLBS
(
Integer
.
valueOf
(
strLBS
.
replaceAll
(
"LBS"
,
""
)));
oilAnalysisEntity
.
setTotalOilLBS
(
Integer
.
valueOf
(
strLBS
.
replaceAll
(
"LBS"
,
""
)));
}
}
String
oilFuelReason
=
oilAnalysisEntity
.
getExtraOilFuelReason
();
String
oilFuelReason
=
oilAnalysisEntity
.
getExtraOilFuelReason
();
...
@@ -95,8 +89,7 @@ public class OilAnalysisService extends BaseService<OilAnalysisDao> {
...
@@ -95,8 +89,7 @@ public class OilAnalysisService extends BaseService<OilAnalysisDao> {
}
}
}
}
if
(
oilNum
.
length
()
==
0
)
if
(
oilNum
.
length
()
==
0
)
{
{
oilNum
=
"0"
;
oilNum
=
"0"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment