Quellcode durchsuchen

aps-交期延期预警

sucheng vor 2 Monaten
Ursprung
Commit
6dc5879cd4

+ 3 - 0
cx-aps/cx-aps-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ApsProcessOperationProcessEquServiceImpl.java

@@ -3084,6 +3084,9 @@ public class ApsProcessOperationProcessEquServiceImpl extends ServiceImpl<ApsPro
             if (deliverTime == null) {
                 deliverTime = 0;
             }
+            if (apsDeliveryOffsetDo.getId().equals("ac0118d0b14f4948bb455ca5696b1433")){
+                System.out.println(1);
+            }
             //计划成品卷数>0的作业明细的最晚的排程完工时间
             ProductCardAndLatestScheduleEndDateVo productCardAndLatestScheduleEndDateVo = cardIdAndScheduleEndDateList.stream().filter(item -> item.getCardId().equals(productCardVo.getId())).findFirst().orElse(null);
             if (productCardAndLatestScheduleEndDateVo != null) {

+ 1 - 1
cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProcessOperationProcessEquDao.xml

@@ -864,7 +864,7 @@
         group by
         apope.ROOTTASKID
         ) a LEFT JOIN aps_delivery_offset ado ON a.ID = ado.ID AND ado.DELETED = 0
-        where ado.ID is null or (a.`STATUS` = ado.`STATUS` and a.`STATUS` != '已完工')
+        where ado.ID is null or (a.`STATUS` = ado.`STATUS` and ado.`STATUS` != '已完工')
     </select>
     <select id="selectAllLatestEndDateByCarIds"
             resultType="com.rongwei.bsentity.vo.ProductCardAndLatestScheduleEndDateVo">