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
d8bdef22
Commit
d8bdef22
authored
Jul 12, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计接口
parent
aaccb931
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
MaintenanceResourceDataMapper.xml
...c/main/resources/mapper/MaintenanceResourceDataMapper.xml
+14
-3
No files found.
amos-boot-system-equip/src/main/resources/mapper/MaintenanceResourceDataMapper.xml
View file @
d8bdef22
...
@@ -252,7 +252,17 @@
...
@@ -252,7 +252,17 @@
m.maintenance_company_name,
m.maintenance_company_name,
m.owner_unit_id,
m.owner_unit_id,
m.owner_unit_name,
m.owner_unit_name,
m.fire_fight_sys_id,
<choose>
<when
test=
"fireFightSysId != null and fireFightSysId != '' "
>
m.fire_fight_sys_id,
</when>
<otherwise>
'' as fire_fight_sys_id,
</otherwise>
</choose>
m.fire_fight_sys_name,
m.fire_fight_sys_name,
m.classify_id,
m.classify_id,
m.classify_name,
m.classify_name,
...
@@ -279,7 +289,8 @@
...
@@ -279,7 +289,8 @@
</if>
</if>
</where>
</where>
GROUP BY
GROUP BY
m.classify_code
-- m.classify_code
m.classify_id
</select>
</select>
<select
id=
"getFireFacilityPage"
resultType=
"com.yeejoin.equipmanage.common.dto.MaintenanceResourceDataDto"
>
<select
id=
"getFireFacilityPage"
resultType=
"com.yeejoin.equipmanage.common.dto.MaintenanceResourceDataDto"
>
SELECT
SELECT
...
@@ -316,7 +327,7 @@
...
@@ -316,7 +327,7 @@
<if
test=
"ownerUnitId != null"
>
<if
test=
"ownerUnitId != null"
>
AND m.owner_unit_id = #{ownerUnitId}
AND m.owner_unit_id = #{ownerUnitId}
</if>
</if>
<if
test=
"fireFightSysId != null"
>
<if
test=
"fireFightSysId != null
and fireFightSysId != ''
"
>
AND m.fire_fight_sys_id = #{fireFightSysId}
AND m.fire_fight_sys_id = #{fireFightSysId}
</if>
</if>
<if
test=
"classifyId != null"
>
<if
test=
"classifyId != null"
>
...
...
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