@@ -13,7 +13,7 @@ public interface OtherShDeviceTimingDao extends BaseMapper<ShDeviceTimingEntity>
@Select("<script>"+
" select *"
+" from sh_device_timing a where (a.repeats = 0 AND a.time = #{time1}) OR (a.repeats = 1 AND a.time = #{time2} AND FIND_IN_SET(${week},a.repeat_time))"
+" from sh_device_timing a where a.`status` = 1 AND (a.repeats = 0 AND a.time = #{time1}) OR (a.repeats = 1 AND a.time = #{time2} AND FIND_IN_SET(${week},a.repeat_time))"