|
|
|
@ -149,7 +149,7 @@ public class MesStationMatchAssemblyStepService extends BaseStepService {
|
|
|
|
|
List<String> containerSnList = null;
|
|
|
|
|
for (MesContainerPackageDetailContext containerPackageDetailContext : containerSnStationList) {
|
|
|
|
|
if (null == containerPackageDetailContext || StringUtils.isEmpty(containerPackageDetailContext.getPartNo())) continue;
|
|
|
|
|
if (!containerPackageDetailContext.getPartNo().equals(productionAssemblyContext.getPartNo()) || MathOperation.compareTo(containerPackageDetailContext.getRemainQty(), new Double(0)) <= 0) continue;
|
|
|
|
|
if (!containerPackageDetailContext.getPartNo().equals(productionAssemblyContext.getAssemblyPartNo()) || MathOperation.compareTo(containerPackageDetailContext.getRemainQty(), new Double(0)) <= 0) continue;
|
|
|
|
|
|
|
|
|
|
//验证时效性
|
|
|
|
|
Map<String, Object> result = timeEfficientCfgMatchService.checkSnTimelinessContainerMatch(reqBean.getOrganizeCode(), containerPackageDetailContext,
|
|
|
|
|