|
|
@@ -1281,11 +1281,12 @@ public class ProductionRdsService extends BaseService<ProductionRds> {
|
|
|
throw new BaseBusinessException(modelPdtErpRes.getCode(), modelPdtErpRes.getMessage());
|
|
|
}
|
|
|
}
|
|
|
- if (modelPdtErpList.stream().noneMatch(n ->
|
|
|
- n.get("erpNodeId").equals(it.getErpNodeId()) && n.get("colourId").equals(it.getPdtColourId()) && n.get("logoId").equals(it.getPdtLogoId())
|
|
|
- )) {
|
|
|
- throw new BaseBusinessException(ErrorCodeEnum.COLOR_LOGO_NOT_MATCH_ERP_NODE.getCode(), ErrorCodeEnum.COLOR_LOGO_NOT_MATCH_ERP_NODE.getMessage());
|
|
|
- }
|
|
|
+ // todo 暂时不知道为啥有什么用,暂时注释掉
|
|
|
+// if (modelPdtErpList.stream().noneMatch(n ->
|
|
|
+// n.get("erpNodeId").equals(it.getErpNodeId()) && n.get("colourId").equals(it.getPdtColourId()) && n.get("logoId").equals(it.getPdtLogoId())
|
|
|
+// )) {
|
|
|
+// throw new BaseBusinessException(ErrorCodeEnum.COLOR_LOGO_NOT_MATCH_ERP_NODE.getCode(), ErrorCodeEnum.COLOR_LOGO_NOT_MATCH_ERP_NODE.getMessage());
|
|
|
+// }
|
|
|
|
|
|
});
|
|
|
}
|