diff --git a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/ProdReadyTaskServiceImpl.java b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/ProdReadyTaskServiceImpl.java index ac7ed5e0..51ee3f71 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/ProdReadyTaskServiceImpl.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/ProdReadyTaskServiceImpl.java @@ -487,7 +487,7 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl resrceEnter(WorkCenterDto workCenterDto) { @@ -208,9 +205,8 @@ public class PodTemplateServiceImpl implements PodTemplateService { String dispatchNo = sfcDto.getDispatchNo(); Sfc sfcServiceById = sfcService.getById(HandleEnum.SFC.getHandle(site, sfc)); BigDecimal qty = new BigDecimal(sfcServiceById.getQty().toString()); - WorkShopTransfer transfer = workShopTransferService.sfcEnter(sfc, "OUT"); - String isOutSource = transfer.getIsOutSource(); - if (StringUtil.isBlank(isOutSource)||!isOutSource.equals(Constants.STATUS_Y)){ + + if (!operation.equals("WX_6106GX")){ //是否有互检检验项目 List inspectionItemDetails = inspectionItemService.selectQualityInspection(sfc, operation, stepId, Constants.INSPECTION_TYPE_H); if (inspectionItemDetails.size() > 0 && inspectionItemDetails.get(0) != null) { @@ -264,9 +260,7 @@ public class PodTemplateServiceImpl implements PodTemplateService { } BigDecimal workHour=BigDecimal.ZERO; BigDecimal qty = new BigDecimal(sfcServiceById.getQty().toString()); - WorkShopTransfer transfer = workShopTransferService.sfcEnter(sfc, "OUT"); - String isOutSource = transfer.getIsOutSource(); - if (StringUtil.isBlank(isOutSource)||!isOutSource.equals(Constants.STATUS_Y)) { + if (!operation.equals("WX_6106GX")) { //是否有自检检验项目 List inspectionItemDetails = inspectionItemService.selectQualityInspection(sfc, operation, stepId, Constants.INSPECTION_TYPE_Z); if (inspectionItemDetails.size() > 0 && inspectionItemDetails.get(0) != null) {