Jelajahi Sumber

清除0库存

k 2 tahun lalu
induk
melakukan
e342a7350a

+ 1 - 1
warewms-ams/src/main/java/com/ruoyi/ams/inv/service/impl/InvLotLocIdServiceImpl.java

@@ -359,7 +359,7 @@ public class InvLotLocIdServiceImpl implements IInvLotLocIdService {
             return AjaxResult.error();
         }
         if (invLotLocId.getQty().compareTo(BigDecimal.ZERO) == 0) {
-            invLotLocIdService.deleteInvLotLocIdByLotnum(null);
+            invLotLocIdService.deleteInvLotLocIdById(locationId, customerId, sku, lotnum);
         }
         return AjaxResult.success();
     }