diff --git a/securitycontrol-commons/securitycontrol-commons-entity/src/main/java/com/securitycontrol/entity/background/vo/SjProjectProgress.java b/securitycontrol-commons/securitycontrol-commons-entity/src/main/java/com/securitycontrol/entity/background/vo/SjProjectProgress.java index b11608d..b385407 100644 --- a/securitycontrol-commons/securitycontrol-commons-entity/src/main/java/com/securitycontrol/entity/background/vo/SjProjectProgress.java +++ b/securitycontrol-commons/securitycontrol-commons-entity/src/main/java/com/securitycontrol/entity/background/vo/SjProjectProgress.java @@ -32,6 +32,14 @@ public class SjProjectProgress { * 结束时间 */ private String endTime; + /** + * 计划进度 + */ + private String planAccess; + /** + * 实际进度 + */ + private String exeAccess; diff --git a/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/SjProjectProgressMapper.xml b/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/SjProjectProgressMapper.xml index 5a97505..7808f5f 100644 --- a/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/SjProjectProgressMapper.xml +++ b/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/SjProjectProgressMapper.xml @@ -4,20 +4,21 @@ insert into sj_construction_progress( - pro_type ,pro_gx , plan_start_time , plan_end_time ,start_time , end_time - )values (#{proType},#{proGx},#{planStartTime},#{planEndTime},#{startTime},#{endTime}) + pro_type ,pro_gx , plan_start_time , plan_end_time ,start_time , end_time,plan_access,exe_access + )values (#{proType},#{proGx},#{planStartTime},#{planEndTime},#{startTime},#{endTime},#{planAccess},#{exeAccess}) update sj_construction_progress set pro_type=#{proType} ,pro_gx =#{proGx}, - plan_start_time =#{planStartTime}, plan_end_time =#{planEndTime},start_time =#{startTime}, end_time =#{endTime} + plan_start_time =#{planStartTime}, plan_end_time =#{planEndTime},start_time =#{startTime}, end_time =#{endTime}, + plan_access=#{planAccess},exe_access=#{exeAccess} where id=#{id} delete from sj_construction_progress where id=#{id} SELECT date_list.dt AS date, @@ -159,4 +125,33 @@ SELECT FROM sj_construction_progress ORDER BY id + + diff --git a/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjEnergyReductionMapper.xml b/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjEnergyReductionMapper.xml index cd93213..432dd23 100644 --- a/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjEnergyReductionMapper.xml +++ b/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjEnergyReductionMapper.xml @@ -115,4 +115,31 @@ WHERE date_list.dt BETWEEN #{startTime} AND #{endTime} ORDER BY t.type, date_list.dt + + + diff --git a/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjProjectEnvironmentMapper.xml b/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjProjectEnvironmentMapper.xml index 93d3cbc..c7b6e58 100644 --- a/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjProjectEnvironmentMapper.xml +++ b/securitycontrol-model/securitycontrol-screen/src/main/resources/mapper/SjProjectEnvironmentMapper.xml @@ -14,6 +14,7 @@ + @@ -29,7 +30,7 @@ tdd.mode_name, DATE(thdv.create_time) AS `currentDay`, HOUR(thdv.create_time) AS `hour`, - thdv.val, + thdv.val,thdv.unit, thdv.is_warn FROM tb_pro_bd tpd