|
@@ -192,11 +192,11 @@ public class ApsProductionOrderServiceImpl extends ServiceImpl<ApsProductionOrde
|
|
|
if (ObjectUtil.isEmpty(apsProductDetailVoList) || apsProductDetailVoList.size() <= 0) {
|
|
|
return R.error("产品明细至少有一个");
|
|
|
}
|
|
|
- for (ApsProductDetailVo apsProductDetailVo : apsProductDetailVoList) {
|
|
|
- if (ObjectUtil.isEmpty(apsProductDetailVo.getTotalordercount()) || ObjectUtil.isEmpty(apsProductDetailVo.getPlanout()) || apsProductDetailVo.getTotalordercount().compareTo(apsProductDetailVo.getPlanout()) != 0) {
|
|
|
- return R.error("订单产品 " + apsProductDetailVo.getInputmaterialdescription() + " 订单总数量与坯料计划输出总重量不一致");
|
|
|
- }
|
|
|
- }
|
|
|
+// for (ApsProductDetailVo apsProductDetailVo : apsProductDetailVoList) {
|
|
|
+// if (ObjectUtil.isEmpty(apsProductDetailVo.getTotalordercount()) || ObjectUtil.isEmpty(apsProductDetailVo.getPlanout()) || apsProductDetailVo.getTotalordercount().compareTo(apsProductDetailVo.getPlanout()) != 0) {
|
|
|
+// return R.error("订单产品 " + apsProductDetailVo.getInputmaterialdescription() + " 订单总数量与坯料计划输出总重量不一致");
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
//查询此订单所有产品明细对应的输出成品的卷数和
|
|
|
// List<ProductDetailIdAndPlanOutPutRollCountAllVo> planOutPutRollCountAllVos = this.baseMapper.getProductDetailIdAndPlanOutPutRollCountAll(apsProductDetailVoList.get(0).getMainid());
|