feat(aps): 添加根据排产单ID删除明细功能

- 在ApsPlanDetailMapper中新增deleteByPlanSheetIds方法
- 在ApsPlanDetailMapper.xml中添加对应的DELETE语句实现软删除
- 在ApsPlanDetailServiceImpl中实现deleteByPlanSheetIds方法
- 在ApsPlanSheetServiceImpl中注入IApsPlanDetailService依赖
- 在排产单删除时调用planDetailService.deleteByPlanSheetIds方法
- 在IApsPlanDetailService接口中定义deleteByPlanSheetIds方法
This commit is contained in:
2026-03-26 15:13:54 +08:00
parent 38862cf0ea
commit 0f760e90b5
5 changed files with 22 additions and 0 deletions

View File

@@ -45,4 +45,9 @@ public interface IApsPlanDetailService {
* 校验并批量删除排产单明细信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 根据排产单ID删除明细
*/
int deleteByPlanSheetIds(Collection<Long> planSheetIds);
}