diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDataMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDataMapper.xml index 7638a881..57aa1508 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDataMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDataMapper.xml @@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - + insert into dev_pitmonit_southsmos_data cfgId, diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDeviceMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDeviceMapper.xml index 56b7ad50..a3319cc5 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDeviceMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosDeviceMapper.xml @@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" from dev_pitmonit_southsmos_device - SELECT a.*,c.unitName AS deptName,b.project_id AS projectId,p.projectName prjName,c.unitName AS deptName,b.sub_dept_id subDeptId, sp.meName,sp.meNameEn,sp.name spName,sp.position spPosition,sp.groupName FROM dev_pitmonit_southsmos_device a @@ -166,7 +166,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + update dev_pitmonit_southsmos_device cfgId = #{cfgId}, diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementItemMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementItemMapper.xml index 434f0ab8..8094d708 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementItemMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementItemMapper.xml @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select id, cfgId, srvId, monitorElementId, name, step, unit, valueRange, gmtCreate, gmtModified, state, remark, is_del, create_by, create_time, update_by, update_time from dev_pitmonit_southsmos_element_item - and cfgId = #{cfgId} @@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - + insert into dev_pitmonit_southsmos_element_item cfgId, diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementMapper.xml index 30f66041..7163682e 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosElementMapper.xml @@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - + insert into dev_pitmonit_southsmos_element cfgId, @@ -102,7 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + update dev_pitmonit_southsmos_element cfgId = #{cfgId}, diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosSurveypointMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosSurveypointMapper.xml index 19b50cb8..9cbe0175 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosSurveypointMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosSurveypointMapper.xml @@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - + insert into dev_pitmonit_southsmos_surveypoint cfgId, diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosThresholdMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosThresholdMapper.xml index b5171850..fb36e55a 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosThresholdMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosThresholdMapper.xml @@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select id, cfgId, srvId, alarmInfo, alarmName, intervalA, intervalB, level, monitorElementId, monitorItemId, monitorItemName, tgId, threshold, type, unit, state, remark, is_del, create_by, create_time, update_by, update_time from dev_pitmonit_southsmos_threshold - SELECT a.*,e.name AS elName,c.unitName AS deptName,b.project_id AS projectId,p.projectName prjName,c.unitName AS deptName,b.sub_dept_id subDeptId FROM dev_pitmonit_southsmos_threshold a JOIN sur_project_pit_monit_cfg b ON a.cfgId = b.id @@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - + insert into dev_pitmonit_southsmos_threshold cfgId, diff --git a/yanzhu-jh/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml index 413ae18b..57b5f5fe 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml @@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - and project_id = #{projectId} @@ -52,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where id = #{id} - + insert into sur_project_pit_monit_cfg project_id,