批量导入 sku 插入bug修复
This commit is contained in:
parent
f98cbb9def
commit
6b6628afb6
|
|
@ -215,7 +215,7 @@ public class StockServiceImpl implements StockService {
|
|||
continue;
|
||||
}
|
||||
|
||||
TbProductDto product = productService.findById(sku.getId());
|
||||
TbProductDto product = productService.findById(Integer.valueOf(sku.getProductId()));
|
||||
TbShopUnit shopUnit = shopUnitRepository.searchUnit(product.getUnitId());
|
||||
|
||||
stockDetail.setShopId(sku.getShopId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue