Commit 0935e2d4 authored by 李秀明's avatar 李秀明

Merge remote-tracking branch 'origin/develop_dl' into develop_dl

parents 465a95ae 4565b116
...@@ -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;
......
...@@ -5979,33 +5979,13 @@ ...@@ -5979,33 +5979,13 @@
from from
cb_water_resource cb_water_resource
<where> <where>
(resource_type = 'industryPool' or resource_type = 'pool')
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
biz_org_code like concat(#{bizOrgCode}, '%') AND biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
</where> </where>
) AS total, ) 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 != ''">
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
</where>
) AS crane,
(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}, '%')
......
...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment