Procházet zdrojové kódy

aps-未提交的坯料计划应该不可以排程

sucheng před 9 měsíci
rodič
revize
71d8e28bcc

+ 1 - 1
cx-aps/cx-aps-common/src/main/java/com/rongwei/bscommon/sys/dao/ApsBlankOrderDao.java

@@ -35,7 +35,7 @@ public interface ApsBlankOrderDao extends BaseMapper<ApsBlankOrderDo> {
             "LEFT JOIN aps_process_operation c on c.BLANKID=a.ID " +
             "where a.PRODUCTIONORDERID=#{orderId} " +
             "and (c.LOCKMARK='n' or c.LOCKMARK is null) " +
-            "and a.DELETED='0' and b.DELETED='0' and c.DELETED='0'")
+            "and a.DELETED='0' and b.DELETED='0' and c.DELETED='0' and a.ISSTAG ='否'")
     List<ApsBlankOrderVo> getByOrderId(@Param("orderId") String orderId);
 
     @Select("select a.*,b.DELIVERYDATE,b.DELIVERYTIME from aps_blank_order a LEFT JOIN aps_production_order b on a.PRODUCTIONORDERID=b.ID \n" +