Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
2a00ef4e
Commit
2a00ef4e
authored
Sep 12, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
queryPlanStepByEquipCode查询错误
parent
c719da47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
EmergencyTaskRoleMapper.xml
.../src/main/resources/db/mapper/EmergencyTaskRoleMapper.xml
+11
-2
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/EmergencyTaskRoleMapper.xml
View file @
2a00ef4e
...
...
@@ -112,6 +112,12 @@
FROM
c_plan_step_config
WHERE
type = (
SELECT
CONVERT(plan_type USING utf8mb4)
FROM
c_plan_classify_tree
WHERE
id = (
SELECT DISTINCT
( t3.classify_id )
...
...
@@ -120,9 +126,11 @@
LEFT JOIN c_plan_equipment t2 ON t2.fire_equipment_id = t1.id
LEFT JOIN c_plan_detail t3 ON t3.id = t2.plan_id
WHERE
t1.code = #{equipCode}
ORDER BY t1.create_date desc
t1.CODE = #{equipCode}
ORDER BY
t1.create_date DESC
LIMIT 1
)
)
</select>
</mapper>
\ No newline at end of file
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