44632 零件发运组 明细不需要校验是否为空

tags/yfai-pcn-ext-v2.7
王杰 5 months ago
parent e2fb2740c9
commit 04f9abeb20

@ -206,6 +206,7 @@ public class MesSortShippingCheckService implements IMesSortShippingCheckService
}else{ }else{
//自制件校验前道工艺 零件发运组详情中的优先 //自制件校验前道工艺 零件发运组详情中的优先
MesPartShippingGroupDetail groupDetail = mesPartShippingGroupService.getMesPartShippingGroupDetailByPartNo(organizeCode, shippingGroup.getShippingGroupCode(), produceSn.getPartNo()); MesPartShippingGroupDetail groupDetail = mesPartShippingGroupService.getMesPartShippingGroupDetailByPartNo(organizeCode, shippingGroup.getShippingGroupCode(), produceSn.getPartNo());
if (null == groupDetail) return true;
if (!StringUtils.isEmpty(groupDetail.getFrontProcessCode())){ if (!StringUtils.isEmpty(groupDetail.getFrontProcessCode())){
Integer count = mesProductionRecordService.findFrontProcessProductionRecord(organizeCode, produceSn.getProductSn(), groupDetail.getFrontProcessCode()); Integer count = mesProductionRecordService.findFrontProcessProductionRecord(organizeCode, produceSn.getProductSn(), groupDetail.getFrontProcessCode());
if (count > 0){ if (count > 0){

Loading…
Cancel
Save