|
@@ -175,7 +175,7 @@ public class WorkerStockLogic {
|
|
|
workerStockDTO.setGoodsName(workerGoods.getGoodsName());
|
|
|
workerStockDTO.setGoodsType(WebsitGoodsTypeEnum.M.getKey());
|
|
|
workerStockDTO.setPrice(new BigDecimal(price));
|
|
|
- workerStockDTO.setUnitName(workerGoods.getSalesUnit());
|
|
|
+ workerStockDTO.setGoodsStockUnit(workerGoods.getSalesUnit());
|
|
|
workerStockDTO.setRef(idStr);
|
|
|
workerStockDTO.setRefType("库存导入");
|
|
|
workerStockDTO.setPartsAttr(PartsAttrEnum.NEW.getKey());
|
|
@@ -234,7 +234,7 @@ public class WorkerStockLogic {
|
|
|
workerStockDTO.setGoodsId(websitGoods.getGoodsId());
|
|
|
workerStockDTO.setGoodsName(websitGoods.getGoodsName());
|
|
|
workerStockDTO.setGoodsType(WebsitGoodsTypeEnum.P.getKey());
|
|
|
- workerStockDTO.setUnitName(websitGoods.getGoodsSalesUnit());
|
|
|
+ workerStockDTO.setGoodsStockUnit(websitGoods.getGoodsSalesUnit());
|
|
|
workerStockDTO.setRef(idStr);
|
|
|
workerStockDTO.setRefType("库存导入");
|
|
|
workerStockDTO.setPartsAttr(PartsAttrEnum.NEW.getKey());
|
|
@@ -260,7 +260,7 @@ public class WorkerStockLogic {
|
|
|
workerStockDTO2.setGoodsId(websitGoods.getGoodsId());
|
|
|
workerStockDTO2.setGoodsName(websitGoods.getGoodsName());
|
|
|
workerStockDTO2.setGoodsType(WebsitGoodsTypeEnum.P.getKey());
|
|
|
- workerStockDTO2.setUnitName(websitGoods.getGoodsSalesUnit());
|
|
|
+ workerStockDTO2.setGoodsStockUnit(websitGoods.getGoodsSalesUnit());
|
|
|
workerStockDTO2.setRef(idStr);
|
|
|
workerStockDTO2.setRefType("库存导入");
|
|
|
workerStockDTO2.setPartsAttr(PartsAttrEnum.OLD.getKey());
|