优化商品的excel导入

This commit is contained in:
季圣华
2022-05-14 23:47:21 +08:00
parent b4db7c6722
commit ad9ee39c80
12 changed files with 546 additions and 266 deletions

View File

@@ -179,7 +179,7 @@ public class DepotController {
DepotEx de = new DepotEx();
if(mId!=0) {
BigDecimal initStock = materialService.getInitStock(mId, depot.getId());
BigDecimal currentStock = materialService.getCurrentStock(mId, depot.getId());
BigDecimal currentStock = materialService.getCurrentStockByMaterialIdAndDepotId(mId, depot.getId());
de.setInitStock(initStock);
de.setCurrentStock(currentStock);
MaterialInitialStock materialInitialStock = materialService.getSafeStock(mId, depot.getId());