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
809e8e21
Commit
809e8e21
authored
Jul 21, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
8cadd31d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
PlanVisual3dController.java
.../amos/fas/business/controller/PlanVisual3dController.java
+2
-0
dbTemplate_view3d.xml
...sStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
+17
-17
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/PlanVisual3dController.java
View file @
809e8e21
...
@@ -23,6 +23,7 @@ import org.slf4j.Logger;
...
@@ -23,6 +23,7 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
...
@@ -44,6 +45,7 @@ public class PlanVisual3dController extends BaseController {
...
@@ -44,6 +45,7 @@ public class PlanVisual3dController extends BaseController {
@Autowired
@Autowired
private
IPlanVisual3dService
planVisual3dService
;
private
IPlanVisual3dService
planVisual3dService
;
@Lazy
@Autowired
@Autowired
private
IEmergencyTaskService
emergencyTaskService
;
private
IEmergencyTaskService
emergencyTaskService
;
...
...
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_view3d.xml
View file @
809e8e21
...
@@ -127,25 +127,25 @@
...
@@ -127,25 +127,25 @@
</select>
</select>
<select
id=
"getStatisticsCheck"
resultType=
"java.util.HashMap"
>
<select
id=
"getStatisticsCheck"
resultType=
"java.util.HashMap"
>
<![CDATA[
SELECT IFNULL(d.STATUS,'') AS type, count(1) as value
SELECT IFNULL(d.STATUS,'') AS type, count(1) as value
FROM p_plan_task_detail d
FROM p_plan_task_detail d
left JOIN p_plan_task t on t.id=d.task_no
left JOIN p_plan_task t on t.id=d.task_no
WHERE
WHERE
DATEDIFF(t.begin_time,CURRENT_DATE) <= 0 AND DATEDIFF(t.end_time,CURRENT_DATE) >
= 0
DATEDIFF(t.begin_time,CURRENT_DATE)
<![CDATA[<=]]>
0 AND DATEDIFF(t.end_time,CURRENT_DATE)
<![CDATA[>=]]>
0
AND (t.org_code like CONCAT(#{orgCode},'-%') OR t.org_code = #{orgCode})
<if
test=
"orgCode != null and orgCode != ''"
>
AND d.status = 0
AND (t.org_code like CONCAT(#{orgCode},'%') OR t.org_code = #{orgCode})
UNION ALL
</if>
select
AND d.status = 0
is_ok as type,count(1) as value
UNION ALL
from p_check a
select
where
is_ok as type,count(1) as value
TO_DAYS(a.check_time) = TO_DAYS(CURRENT_DATE)
from p_check a
<if
test=
"orgCode != null and orgCode != ''"
>
where
AND (a.org_code like CONCAT(#{orgCode},'%') OR a.org_code = #{orgCode})
TO_DAYS(a.check_time) = TO_DAYS(CURRENT_DATE)
</if>
<if
test=
"orgCode != null and orgCode != ''"
>
AND (a.org_code like CONCAT(#{orgCode},'%') OR a.org_code = #{orgCode})
</if>
GROUP BY a.is_ok
GROUP BY a.is_ok
]]>
</select>
</select>
<select
id=
"getRiskErrorTop5"
resultType=
"com.yeejoin.amos.fas.business.bo.SafetyExecuteBo"
>
<select
id=
"getRiskErrorTop5"
resultType=
"com.yeejoin.amos.fas.business.bo.SafetyExecuteBo"
>
...
...
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