diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml index c733ac3d..e5020122 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/device/ProjectPitMonitCfgMapper.xml @@ -25,10 +25,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select id, project_id, sub_dept_id, vendor_code, vendor_paramter, enabled, state, remark, is_del, create_by, create_time, update_by, update_time, projectName, deptName from ( - select a.*, pi.project_name as projectName, b.dept_name as deptName + select a.*, pi.project_name as projectName, '' as deptName from sur_project_pit_monit_cfg a - JOIN pro_project_info pi on pi.id=a.project_id - join sys_dept b on b.dept_id = a.sub_dept_id ) sur_project_pit_monit_cfg + JOIN pro_project_info pi on pi.id=a.project_id ) sur_project_pit_monit_cfg