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
76c5d1ae
Commit
76c5d1ae
authored
May 30, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装备列表优化
parent
16a297ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+15
-7
No files found.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
76c5d1ae
...
...
@@ -2100,6 +2100,7 @@
<select
id=
"getColaCategoryAmountEquList"
resultMap=
"CategoryAmountList"
>
SELECT
...
...
@@ -2134,7 +2135,9 @@
wled.code as eqtype,
wles.biz_org_code as bizOrgCode,
wles.biz_org_name as bizOrgName,
wles.equip_status as equipStatus
wles.equip_status as equipStatus,
wec.industry_code as industryCode,
wle.is_iot as wleIsIot
FROM
(select id,name,qr_code,code ,iot_code ,biz_org_code,team_id ,biz_org_name,create_date ,equipment_detail_id ,system_id,equip_status from wl_equipment_specific) wles
LEFT JOIN (select id,amount,status,equipment_specific_id,warehouse_structure_id from wl_stock_detail ) wlsd on wlsd.equipment_specific_id = wles.id
...
...
@@ -2149,9 +2152,7 @@
and LEFT (wle.CODE, #{hierarchy}) = #{codeHead}
<!-- and wec.`code` like concat(#{codeHead}, '%')-->
</if>
<if
test=
"equipTypeAmountPage.industryCode!=null"
>
and wec.industry_code = #{equipTypeAmountPage.industryCode}
</if>
<if
test=
"equipTypeAmountPage.teamId!=null"
>
and wles.team_id = #{equipTypeAmountPage.teamId}
</if>
...
...
@@ -2176,9 +2177,7 @@
<if
test=
"equipTypeAmountPage.status == 1"
>
and wlsd.warehouse_structure_id is null
</if>
<if
test=
"equipTypeAmountPage.isIot!=null"
>
and wle.is_iot=#{equipTypeAmountPage.isIot}
</if>
<if
test=
"equipTypeAmountPage.status == 0"
>
and wlsd.warehouse_structure_id is not null
</if>
...
...
@@ -2201,9 +2200,18 @@
<if
test=
"equipTypeAmountPage.bizOrgCode!=null and equipTypeAmountPage.bizOrgCode!=''"
>
AND wles.biz_org_code LIKE CONCAT(#{equipTypeAmountPage.bizOrgCode},'%')
</if>
group by wles.id
having 1 = 1
<if
test=
"equipTypeAmountPage.industryCode!=null"
>
AND industryCode = #{equipTypeAmountPage.industryCode}
</if>
<if
test=
"equipTypeAmountPage.isIot!=null"
>
AND wleIsIot = #{equipTypeAmountPage.isIot}
</if>
order by createDate DESC
</select>
<select
id=
"listByBizOrgCode"
resultType=
"java.util.Map"
>
SELECT
form_group_id typeId,
...
...
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