|
|
@ -186,7 +186,7 @@ public class ThrProductsAddDiController {
|
|
|
|
Integer status = thrProductsAddDiEntity.getStatus();
|
|
|
|
Integer status = thrProductsAddDiEntity.getStatus();
|
|
|
|
thrProductsAddDiEntity.setAuditTime(new Date());
|
|
|
|
thrProductsAddDiEntity.setAuditTime(new Date());
|
|
|
|
thrProductsAddDiEntity.setAuditUser(customerService.getUserId() + "");
|
|
|
|
thrProductsAddDiEntity.setAuditUser(customerService.getUserId() + "");
|
|
|
|
|
|
|
|
Integer requireCost = thrProductsAddDiEntity.getRequireCost();
|
|
|
|
thrProductsAddDiEntity = thrProductsAddDiService.selecById(thrProductsAddDiEntity.getId());
|
|
|
|
thrProductsAddDiEntity = thrProductsAddDiService.selecById(thrProductsAddDiEntity.getId());
|
|
|
|
|
|
|
|
|
|
|
|
//自增的数据就再到第三方产品里面
|
|
|
|
//自增的数据就再到第三方产品里面
|
|
|
@ -233,7 +233,7 @@ public class ThrProductsAddDiController {
|
|
|
|
udiProductEntity.setCatalogname3(thrProductsAddDiEntity.getCatalogname3());
|
|
|
|
udiProductEntity.setCatalogname3(thrProductsAddDiEntity.getCatalogname3());
|
|
|
|
udiProductEntity.setMatrial(thrProductsAddDiEntity.getMatrial());
|
|
|
|
udiProductEntity.setMatrial(thrProductsAddDiEntity.getMatrial());
|
|
|
|
udiProductEntity.setDiType(1);
|
|
|
|
udiProductEntity.setDiType(1);
|
|
|
|
udiProductEntity.setRequireCost(thrProductsAddDiEntity.getRequireCost());
|
|
|
|
udiProductEntity.setRequireCost(requireCost);
|
|
|
|
|
|
|
|
|
|
|
|
BeanUtil.copyProperties(udiProductEntity, udiRelevanceEntity);
|
|
|
|
BeanUtil.copyProperties(udiProductEntity, udiRelevanceEntity);
|
|
|
|
udiRelevanceEntity.setGroupBuy(thrProductsAddDiEntity.getGroupBuy());
|
|
|
|
udiRelevanceEntity.setGroupBuy(thrProductsAddDiEntity.getGroupBuy());
|
|
|
@ -331,7 +331,7 @@ public class ThrProductsAddDiController {
|
|
|
|
udiRelevanceEntity.setPurType(thrProductsAddDiResponse.getPurType());
|
|
|
|
udiRelevanceEntity.setPurType(thrProductsAddDiResponse.getPurType());
|
|
|
|
udiRelevanceEntity.setAttributeType(thrProductsAddDiResponse.getAttributeType());
|
|
|
|
udiRelevanceEntity.setAttributeType(thrProductsAddDiResponse.getAttributeType());
|
|
|
|
udiRelevanceEntity.setHcType(thrProductsAddDiResponse.getHcType());
|
|
|
|
udiRelevanceEntity.setHcType(thrProductsAddDiResponse.getHcType());
|
|
|
|
udiProductEntity.setRequireCost(thrProductsAddDiEntity.getRequireCost());
|
|
|
|
udiProductEntity.setRequireCost(requireCost);
|
|
|
|
|
|
|
|
|
|
|
|
String flbm = thrProductsAddDiResponse.getFlbm();
|
|
|
|
String flbm = thrProductsAddDiResponse.getFlbm();
|
|
|
|
//是否需要扫码 初始化
|
|
|
|
//是否需要扫码 初始化
|
|
|
|