提交 38f05408 authored 作者: 林业通's avatar 林业通

定时任务状态查询

上级 1110d417
......@@ -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))"
+ " </script>")
List<ShDeviceTimingEntity> listTimingByTime(Map<String, Object> params);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论