Ver Fonte

提醒7 维修汇总数据的维修状态更新,只查询 除去 无需维修、已关闭 的单据

huangpeng há 1 ano atrás
pai
commit
c82afca39a

+ 1 - 1
cx-equipment/cx-equipment-common/src/main/java/com/rongwei/bscommon/sys/dao/EquMaintenanceOrderDao.java

@@ -29,7 +29,7 @@ public interface EquMaintenanceOrderDao extends BaseMapper<EquMaintenanceOrderDo
             "WHERE\n" +
             "\t1 = 1 \n" +
             "\tAND a.DELETED = '0' \n" +
-            "\tAND a.REPAIRSTATUS IN ( 10, 20, 30, 100, 110 ) \n" +
+            "\tAND a.REPAIRSTATUS NOT IN (50,120) \n" +
             "\tAND a.MAINTENANCECLASSIFY IN ( 1, 3 ) \n" +
             "\tand a.INCIDENTTIME BETWEEN  #{startDate} and #{endDate} \n" +
             "\t) d \n" +