|
|
@ -358,7 +358,7 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
dto.setCreateBySid(wmsShelfBill.getCreateBySid()); |
|
|
|
dto.setBatchNumber(s.getBatchNumber()); |
|
|
|
dto.setGoodsID(getGoodsId(s.getGoodsSkuSid())); |
|
|
|
dto.setGoodSpuSid(s.getGoodSpuSid()); |
|
|
|
dto.setGoodsSpuSid(s.getGoodsSpuSid()); |
|
|
|
dto.setGoodsSpuName(s.getGoodsSpuName()); |
|
|
|
dto.setGoodsSkuSid(s.getGoodsSkuSid()); |
|
|
|
dto.setGoodsSkuTitle(s.getGoodsSkuTitle()); |
|
|
@ -385,7 +385,7 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
wmsInventoryRecordDto.setBillNo(wmsShelfBill.getSourceBillNo()); |
|
|
|
wmsInventoryRecordDto.setBillType("1"); |
|
|
|
wmsInventoryRecordDto.setBatchNumber(dto.getBatchNumber()); |
|
|
|
wmsInventoryRecordDto.setGoodSpuSid(dto.getGoodSpuSid()); |
|
|
|
wmsInventoryRecordDto.setGoodsSpuSid(dto.getGoodsSpuSid()); |
|
|
|
wmsInventoryRecordDto.setGoodsSpuName(dto.getGoodsSpuName()); |
|
|
|
wmsInventoryRecordDto.setGoodsSkuSid(dto.getGoodsSkuSid()); |
|
|
|
wmsInventoryRecordDto.setGoodsSkuCode(dto.getGoodsSkuCode()); |
|
|
@ -956,8 +956,8 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
for (String sid : sids) { |
|
|
|
WmsReceiptBillDetail receiptBillDetail = wmsReceiptBillDetailService.fetchBySid(sid); |
|
|
|
String billSid = receiptBillDetail.getBillSid(); |
|
|
|
String goodSpuSid = receiptBillDetail.getGoodSpuSid(); |
|
|
|
List<WmsGoodsTag> wmsGoodsTags = wmsGoodsTagService.selByBillSidAndBillDetailsSidAndGoodsSpuSid(billSid, sid, goodSpuSid); |
|
|
|
String goodsSpuSid = receiptBillDetail.getGoodsSpuSid(); |
|
|
|
List<WmsGoodsTag> wmsGoodsTags = wmsGoodsTagService.selByBillSidAndBillDetailsSidAndGoodsSpuSid(billSid, sid, goodsSpuSid); |
|
|
|
String goodsSkuCode = receiptBillDetail.getGoodsSkuCode(); |
|
|
|
String rule = goodsSkuCode + format; |
|
|
|
if (!wmsGoodsTags.isEmpty() && wmsGoodsTags.size() > 0) { |
|
|
@ -976,7 +976,7 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
} |
|
|
|
} else { |
|
|
|
//查询该商品是否为一物一码
|
|
|
|
String isGoodsID = baseGoodsSpuFeign.selIsGoodsID(goodSpuSid).getData(); |
|
|
|
String isGoodsID = baseGoodsSpuFeign.selIsGoodsID(goodsSpuSid).getData(); |
|
|
|
BigDecimal actualInCount = receiptBillDetail.getActualInCount(); |
|
|
|
int actualInCountInt = actualInCount.intValue(); |
|
|
|
if (actualInCountInt > 1) { |
|
|
@ -1115,7 +1115,7 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
int actualInCountInt = actualInCount.intValue(); |
|
|
|
if (actualInCountInt > 1) { |
|
|
|
//查询该商品是否为一物一码
|
|
|
|
String isGoodsID = baseGoodsSpuFeign.selIsGoodsID(receiptBillDetail.getGoodSpuSid()).getData(); |
|
|
|
String isGoodsID = baseGoodsSpuFeign.selIsGoodsID(receiptBillDetail.getGoodsSpuSid()).getData(); |
|
|
|
if (isGoodsID.equals("0")) { |
|
|
|
wmsGoodsTag.setGoodsCount(receiptBillDetail.getActualInCount()); |
|
|
|
} else { |
|
|
|