@@ -14,5 +14,5 @@ public interface EquMaintenancePredictivePlanDao extends BaseMapper<EquMaintenan
List<EquMaintenancePredictivePlanVo> queryDateByids(@Param("ids") List<String> ids);
- void getDetail(List<String> ids);
+
}
@@ -18,7 +18,7 @@
<where>
a.DELETED ='0'
and DATEDIFF(DATE_ADD(a.LASTMAINTENANCEDATE, INTERVAL a.FREQUENCY DAY), CURDATE()) < 30
- and b.NEXTTASKID is null
+ and b.NEXTTASKID is null and a.ISOUTOFSERVICE='启用'
<if test="ids != null and ids.size()>0">
AND a.ID in
<foreach collection="ids" item="id" open="(" close=")" separator=",">