|
@ -178,7 +178,7 @@ public class SmsSalesBillService extends MybatisBaseService<SmsSalesBillMapper, |
|
|
if (!goods.isEmpty()) { |
|
|
if (!goods.isEmpty()) { |
|
|
for (ReviewGoods good : goods) { |
|
|
for (ReviewGoods good : goods) { |
|
|
String goodsSkuSid = good.getGoodsSkuSid(); |
|
|
String goodsSkuSid = good.getGoodsSkuSid(); |
|
|
GoodsCountVo goodsCountVo = warehouseInventoryFeign.selCountsBySkuSid(goodsSkuSid); |
|
|
GoodsCountVo goodsCountVo = warehouseInventoryFeign.selCountsBySkuSid(goodsSkuSid,data.getUseOrgSid()); |
|
|
if (null != goodsCountVo) { |
|
|
if (null != goodsCountVo) { |
|
|
good.setAllocateCount(goodsCountVo.getAllocateCount()); |
|
|
good.setAllocateCount(goodsCountVo.getAllocateCount()); |
|
|
good.setUseCount(goodsCountVo.getUseCount()); |
|
|
good.setUseCount(goodsCountVo.getUseCount()); |
|
|