Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
98842865
Commit
98842865
authored
Sep 04, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
省测卡片问题
parent
f17495dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+2
-3
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+4
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
98842865
...
...
@@ -2034,7 +2034,6 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
if
(
StringUtils
.
isEmpty
(
bizOrgCode
)
&&
StringUtil
.
isNotEmpty
(
companyCode
))
{
bizOrgCode
=
planTaskMapper
.
queryByCompanyCode
(
companyCode
);
}
DecimalFormat
df
=
new
DecimalFormat
(
"#.00"
);
List
<
Map
<
String
,
Object
>>
statics
=
planTaskMapper
.
getStatics
(
bizOrgCode
);
int
xcdw
=
0
;
int
hgdw
=
0
;
...
...
@@ -2065,10 +2064,10 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
for
(
Map
<
String
,
Object
>
map
:
statics
)
{
if
(
map
.
get
(
"code"
).
equals
(
"xfxchgzb"
))
{
map
.
put
(
"value"
,
df
.
format
(
hgdw
/
xcdw
)
);
map
.
put
(
"value"
,
(
hgdw
/
xcdw
)*
100
);
}
if
(
map
.
get
(
"code"
).
equals
(
"xfxclcl"
))
{
map
.
put
(
"value"
,
df
.
format
(
lcdw
/
xcdw
)
);
map
.
put
(
"value"
,
(
lcdw
/
xcdw
)*
100
);
}
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
98842865
...
...
@@ -5959,6 +5959,7 @@
wl_equipment_specific wes
WHERE
wes.biz_org_code LIKE CONCAT(#{bizOrgCode}, '%')
</select>
<select
id=
"selectCarStats"
resultType=
"java.util.Map"
>
...
...
@@ -5968,8 +5969,11 @@
0 AS redCodeCount
FROM
wl_car wc
LEFT JOIN wl_equipment wle ON wle.id = wc.equipment_id
LEFT JOIN wl_equipment_category wec ON wle.category_id = wec.id
WHERE
wc.biz_org_code LIKE CONCAT(#{bizOrgCode}, '%')
and LEFT (wec.CODE, 6) = '210101'
</select>
<select
id=
"getFireWaterInfo"
resultType=
"Map"
>
...
...
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