1.技术监督月报,供电次数重新统计
2.终端通信管理_日表和终端数据评价_日表,pq和pms兼容修改
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<select id="statisticPlanReport" resultType="ProcessPublicDTO">
|
||||
select count(1) value,supv_Org_Id id from supv_plan
|
||||
where
|
||||
(delete_Flag = 0 or delete_Flag is null ) and
|
||||
supv_Type = #{statisticType}
|
||||
<if test="startTime!=null and endTime!=null">
|
||||
and effect_End_Time between #{startTime} and #{endTime}
|
||||
@@ -28,12 +29,13 @@
|
||||
select count(1) value,a.duty_Org_Id id from supv_problem a
|
||||
inner join supv_plan b on a.plan_Id = b.plan_id
|
||||
where
|
||||
(b.delete_Flag = 0 or b.delete_Flag is null ) and
|
||||
b.supv_Type = #{statisticType}
|
||||
<if test="startTime!=null and endTime!=null">
|
||||
and a.discovery_Time between #{startTime} and #{endTime}
|
||||
</if>
|
||||
<if test="rectificationStatus !=null and rectificationStatus!=''">
|
||||
and a.rectification_Status = #{rectificationStatus}
|
||||
and a.rectification_Status = #{rectificationStatus}
|
||||
</if>
|
||||
<if test="objType !=null and objType!=''">
|
||||
and b.obj_type = #{objType}
|
||||
@@ -45,6 +47,7 @@
|
||||
select count(1) value,a.duty_Org_Id id from supv_problem a
|
||||
inner join supv_plan b on a.plan_Id = b.plan_id
|
||||
where
|
||||
(b.delete_Flag = 0 or b.delete_Flag is null ) and
|
||||
b.supv_Type = #{statisticType}
|
||||
<if test="startTime!=null and endTime!=null">
|
||||
and a.rectification_Time between #{startTime} and #{endTime}
|
||||
@@ -60,6 +63,7 @@
|
||||
<select id="statisticPlanReportYear" resultType="com.njcn.process.pojo.dto.ProcessPublicDTO">
|
||||
select count(1) value,supv_Org_Id id from supv_plan
|
||||
where
|
||||
(delete_Flag = 0 or delete_Flag is null ) and
|
||||
supv_Type = #{statisticType}
|
||||
<if test="startTime!=null and endTime!=null">
|
||||
and plan_Supv_Date between #{startTime} and #{endTime}
|
||||
|
||||
Reference in New Issue
Block a user