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
0935e2d4
Commit
0935e2d4
authored
Aug 17, 2023
by
李秀明
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_dl' into develop_dl
parents
465a95ae
4565b116
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
46 deletions
+25
-46
LeavePlanTaskPointVo.java
...yeejoin/amos/patrol/business/vo/LeavePlanTaskPointVo.java
+19
-0
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+4
-46
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+2
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/vo/LeavePlanTaskPointVo.java
View file @
0935e2d4
...
@@ -12,6 +12,25 @@ public class LeavePlanTaskPointVo {
...
@@ -12,6 +12,25 @@ public class LeavePlanTaskPointVo {
private
String
pointNO
;
private
String
pointNO
;
private
String
offline
;
private
String
offline
;
private
String
status
;
private
String
status
;
private
int
shotMinNumber
;
private
int
shotMaxNumber
;
public
int
getShotMinNumber
()
{
return
shotMinNumber
;
}
public
void
setShotMinNumber
(
int
shotMinNumber
)
{
this
.
shotMinNumber
=
shotMinNumber
;
}
public
int
getShotMaxNumber
()
{
return
shotMaxNumber
;
}
public
void
setShotMaxNumber
(
int
shotMaxNumber
)
{
this
.
shotMaxNumber
=
shotMaxNumber
;
}
private
String
isFixed
;
private
String
isFixed
;
private
String
orderNo
;
private
String
orderNo
;
private
String
remark
;
private
String
remark
;
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
0935e2d4
...
@@ -5979,33 +5979,13 @@
...
@@ -5979,33 +5979,13 @@
from
from
cb_water_resource
cb_water_resource
<where>
<where>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
(resource_type = 'industryPool' or resource_type = 'pool')
biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</where>
) AS total,
(select
count(sequence_nbr)
from
cb_water_resource
<where>
resource_type = 'hydrant'
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</where>
) AS hydrant,
(select
count(sequence_nbr)
from
cb_water_resource
<where>
resource_type = 'crane'
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</if>
</where>
</where>
) AS crane,
) AS total,
(select
(select
count(sequence_nbr)
count(sequence_nbr)
from
from
...
@@ -6022,28 +6002,6 @@
...
@@ -6022,28 +6002,6 @@
from
from
cb_water_resource
cb_water_resource
<where>
<where>
resource_type = 'natural'
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</where>
) AS `natural`,
(select
count(sequence_nbr)
from
cb_water_resource
<where>
resource_type = 'waterTank'
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</where>
) AS waterTank,
(select
count(sequence_nbr)
from
cb_water_resource
<where>
resource_type = 'industryPool'
resource_type = 'industryPool'
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
AND biz_org_code like concat(#{bizOrgCode}, '%')
AND biz_org_code like concat(#{bizOrgCode}, '%')
...
@@ -6068,7 +6026,7 @@
...
@@ -6068,7 +6026,7 @@
'red'
'red'
END AS statusCode
END AS statusCode
from
from
cb_water_resource
(select * from cb_water_resource where resource_type = 'industryPool' or resource_type = 'pool')
<where>
<where>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
biz_org_code like concat(#{bizOrgCode}, '%')
biz_org_code like concat(#{bizOrgCode}, '%')
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
0935e2d4
...
@@ -826,6 +826,8 @@
...
@@ -826,6 +826,8 @@
p.offline,
p.offline,
ptd.is_finish status,
ptd.is_finish status,
p.is_fixed isFixed,
p.is_fixed isFixed,
p.shot_max_number shotMaxNumber,
p.shot_min_number shotMinNumber,dc-center/dc-center/
pt.route_id routeId,
pt.route_id routeId,
c.id checkId,
c.id checkId,
pt.id planTaskId,
pt.id planTaskId,
...
...
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