增加逻辑:删除仓库删除关联的商品的初始库存,删除仓库删除关联的商品的当前库存

This commit is contained in:
jishenghua
2024-08-29 00:14:37 +08:00
parent 6ab20c7baa
commit b0c0c18f3d
5 changed files with 42 additions and 14 deletions

View File

@@ -19,4 +19,6 @@ public interface MaterialCurrentStockMapperEx {
@Param("materialId") Long materialId);
BigDecimal getCurrentUnitPriceByMId(@Param("materialId") Long materialId);
void batchDeleteByDepots(@Param("ids") String ids[]);
}

View File

@@ -13,4 +13,5 @@ public interface MaterialInitialStockMapperEx {
List<MaterialInitialStock> getListExceptZero();
void batchDeleteByDepots(@Param("ids") String ids[]);
}