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
9901eb40
Commit
9901eb40
authored
Dec 29, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改sql
parent
947dffb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+4
-5
No files found.
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
9901eb40
...
@@ -2183,17 +2183,16 @@
...
@@ -2183,17 +2183,16 @@
</select>
</select>
<select
id=
"getwater"
resultType=
"java.util.Map"
>
<select
id=
"getwater"
resultType=
"java.util.Map"
>
SELECT
SELECT
ei.equipment_specific_id
r.*
FROM
FROM
cb_water_resource r
cb_water_resource r
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN cb_water_resource_pool rp ON rp.resource_id = r.sequence_nbr
LEFT JOIN wl_equipment_specific_index ei ON ei.equipment_specific_id = rp.level_device_id
WHERE
WHERE
r.resource_type in ( 'industryPool','pool')
r.resource_type in ( 'industryPool','pool')
AND r.is_delete = 1
and FIND_IN_SET( #{id}, rp.level_device_id) > 0
and ei.equipment_specific_id is not null
and ei.equipment_specific_id =#{id}
</select>
</select>
...
...
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