|
|
|
@ -294,7 +294,7 @@ public class PurOrderReceiveController extends BaseController {
|
|
|
|
|
List<PurApplyDetailEntity> purApplyDetailEntityList = purReceiveDetailEntityList.stream().map(e -> {
|
|
|
|
|
PurApplyDetailEntity d = new PurApplyDetailEntity();
|
|
|
|
|
d.setOrderIdFk(purApplyEntity.getId() + "");
|
|
|
|
|
d.setProductId(e.getRelIdFk().intValue());
|
|
|
|
|
d.setProductId(e.getRelIdFk());
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(e.getNameCode());
|
|
|
|
|
d.setProductName(udiProductEntity.getCpmctymc());
|
|
|
|
|
d.setCount(e.getCount());
|
|
|
|
@ -331,7 +331,7 @@ public class PurOrderReceiveController extends BaseController {
|
|
|
|
|
purPlanDetailEntityList = purReceiveDetailEntityList.stream().map(e -> {
|
|
|
|
|
PurPlanDetailEntity d = new PurPlanDetailEntity();
|
|
|
|
|
d.setOrderIdFk(purPlanEntity.getId() + "");
|
|
|
|
|
d.setProductId(e.getRelIdFk().intValue());
|
|
|
|
|
d.setProductId(e.getRelIdFk());
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(e.getNameCode());
|
|
|
|
|
d.setProductName(udiProductEntity.getCpmctymc());
|
|
|
|
|
d.setCount(e.getCount());
|
|
|
|
@ -371,7 +371,7 @@ public class PurOrderReceiveController extends BaseController {
|
|
|
|
|
List<PurOrderDetailEntity> purOrderDetailEntityList = purReceiveDetailEntityList.stream().map(e -> {
|
|
|
|
|
PurOrderDetailEntity d = new PurOrderDetailEntity();
|
|
|
|
|
d.setOrderIdFk(purOrderEntity.getId() + "");
|
|
|
|
|
d.setProductId(e.getRelIdFk().intValue());
|
|
|
|
|
d.setProductId(e.getRelIdFk());
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(e.getNameCode());
|
|
|
|
|
d.setProductName(udiProductEntity.getCpmctymc());
|
|
|
|
|
d.setCount(e.getCount());
|
|
|
|
@ -469,7 +469,7 @@ public class PurOrderReceiveController extends BaseController {
|
|
|
|
|
List<PurApplyDetailEntity> purOrderDetailEntityList = purPlanDetailEntityList.stream()
|
|
|
|
|
.map(e -> {
|
|
|
|
|
PurApplyDetailEntity d = new PurApplyDetailEntity();
|
|
|
|
|
d.setProductId(e.getRelIdFk().intValue());
|
|
|
|
|
d.setProductId(e.getRelIdFk());
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(e.getNameCode());
|
|
|
|
|
d.setProductName(udiProductEntity.getCpmctymc());
|
|
|
|
|
d.setCount(e.getCount());
|
|
|
|
|