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
8f568fbd
Commit
8f568fbd
authored
Nov 16, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消防管控大屏:巡检报告数据查询错误
parent
166b2fa0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+2
-1
No files found.
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
8f568fbd
...
@@ -1126,7 +1126,7 @@
...
@@ -1126,7 +1126,7 @@
<select
id=
"countData"
resultType=
"long"
>
<select
id=
"countData"
resultType=
"long"
>
SELECT
SELECT
count(
1
)
count(
DISTINCT ppk.id
)
FROM
FROM
`p_plan_task` ppk
`p_plan_task` ppk
LEFT JOIN p_plan pp ON pp.id = ppk.plan_id
LEFT JOIN p_plan pp ON pp.id = ppk.plan_id
...
@@ -1169,6 +1169,7 @@
...
@@ -1169,6 +1169,7 @@
<if
test=
"param.routeId != null"
>
and ppk.route_id = #{param.routeId}
</if>
<if
test=
"param.routeId != null"
>
and ppk.route_id = #{param.routeId}
</if>
<if
test=
"param.bizOrgCode != null"
>
and pp.biz_org_code like concat('%',#{param.bizOrgCode},'%')
</if>
<if
test=
"param.bizOrgCode != null"
>
and pp.biz_org_code like concat('%',#{param.bizOrgCode},'%')
</if>
</where>
</where>
GROUP BY ppk.id
ORDER BY
ORDER BY
ppk.begin_time DESC
ppk.begin_time DESC
<choose>
<choose>
...
...
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