组态信息调整
This commit is contained in:
@@ -27,6 +27,6 @@ public class SyncDeviceMaintenanceRepairJob {
|
||||
|
||||
deviceMaintenanceRepairService.syncDeviceMaintenanceRepairInfo();
|
||||
|
||||
log.info("*********** 开始同步维修保修数据 ************");
|
||||
log.info("*********** 同步维修保修数据结束 ************");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,8 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
by_management_jl w
|
||||
LEFT JOIN sys_device s ON s.id = w.equipment_info
|
||||
WHERE
|
||||
s.dev_type = #{devtype}
|
||||
AND w.is_deleted = 0;
|
||||
w.is_deleted = 0
|
||||
<if test="devtype != null">
|
||||
AND s.dev_type = #{devtype}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -51,7 +51,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
LEFT JOIN
|
||||
sys_device s ON s.id = w.dev_name
|
||||
WHERE
|
||||
w.dev_type = #{devtype} AND w.is_deleted = 0
|
||||
w.is_deleted = 0
|
||||
<if test="devtype != null">
|
||||
AND w.dev_type = #{devtype}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="deviceList" resultType="iot.lidee.iot.domain.Device">
|
||||
@@ -62,7 +65,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
LEFT JOIN
|
||||
iot_device_group g ON g.device_id = w.device_id
|
||||
WHERE
|
||||
w.del_flag = 0 AND g.group_id = #{devtype}
|
||||
w.del_flag = 0
|
||||
<if test="devtype != null">
|
||||
AND g.group_id = #{devtype}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user