diff --git a/zc-business/src/main/resources/mapper/business/StatusMapper.xml b/zc-business/src/main/resources/mapper/business/StatusMapper.xml index a00cf156..cce1976e 100644 --- a/zc-business/src/main/resources/mapper/business/StatusMapper.xml +++ b/zc-business/src/main/resources/mapper/business/StatusMapper.xml @@ -112,7 +112,15 @@ AND s.device_no = #{status.deviceNo} - AND (d.device_type = #{status.type} or d.child_type=#{status.type}) + AND (d.device_type in + + #{typeItem} + + or d.child_type in + + #{typeItem} + + ) AND s.device_id = #{status.deviceId}