Commit f3315fac authored by 332784038@qq.com's avatar 332784038@qq.com

复制价格业务再次重构补充提交

parent c28b11d3
...@@ -96,7 +96,7 @@ public class BasePrice extends BaseDO { ...@@ -96,7 +96,7 @@ public class BasePrice extends BaseDO {
@ApiModelProperty(value = "特殊需求列表") @ApiModelProperty(value = "特殊需求列表")
@TableField(exist = false) @TableField(exist = false)
private List<ProductPriceSpecialDO> specialList; private List<ProductPriceSpecialDO> specialDOList;
@ApiModelProperty(value = "运费包装价格列表") @ApiModelProperty(value = "运费包装价格列表")
@TableField(exist = false) @TableField(exist = false)
......
...@@ -3463,7 +3463,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -3463,7 +3463,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
lineChannelList.add(vo); lineChannelList.add(vo);
createReqVO.setLineChannelList(lineChannelList); createReqVO.setLineChannelList(lineChannelList);
ProductPriceRespVO respVO = this.getProductPriceDetail(price.getId()); ProductPriceRespVO respVO = this.getProductPriceDetail(price.getId());
price.setSpecialList(respVO.getSpecialList()); price.setSpecialDOList(respVO.getSpecialList());
//阶梯运费价格列表 //阶梯运费价格列表
List<ProductPriceStepDO> freightPriceStepList = new ArrayList<>(); List<ProductPriceStepDO> freightPriceStepList = new ArrayList<>();
//阶梯清关费价格列表 //阶梯清关费价格列表
...@@ -3641,8 +3641,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper, ...@@ -3641,8 +3641,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if (productPriceDO.getStepPrice() == 1) { if (productPriceDO.getStepPrice() == 1) {
copyStepPrice(stepList, transportType, productPriceDO, dbStepMap, insertList1, productPricePackagingDOS, updateList); copyStepPrice(stepList, transportType, productPriceDO, dbStepMap, insertList1, productPricePackagingDOS, updateList);
} else { } else {
if (CollectionUtil.isNotEmpty(productPriceDO.getSpecialList())) { if (CollectionUtil.isNotEmpty(productPriceDO.getSpecialDOList())) {
for (ProductPriceSpecialDO specialDO : productPriceDO.getSpecialList()) { for (ProductPriceSpecialDO specialDO : productPriceDO.getSpecialDOList()) {
ProductPriceSpecialDO priceSpecialDO = new ProductPriceSpecialDO(); ProductPriceSpecialDO priceSpecialDO = new ProductPriceSpecialDO();
BeanUtils.copyProperties(specialDO, priceSpecialDO); BeanUtils.copyProperties(specialDO, priceSpecialDO);
priceSpecialDO.setId(null); priceSpecialDO.setId(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment