feat(aps): 添加根据排产单ID删除明细功能
- 在ApsPlanDetailMapper中新增deleteByPlanSheetIds方法 - 在ApsPlanDetailMapper.xml中添加对应的DELETE语句实现软删除 - 在ApsPlanDetailServiceImpl中实现deleteByPlanSheetIds方法 - 在ApsPlanSheetServiceImpl中注入IApsPlanDetailService依赖 - 在排产单删除时调用planDetailService.deleteByPlanSheetIds方法 - 在IApsPlanDetailService接口中定义deleteByPlanSheetIds方法
This commit is contained in:
@@ -4,6 +4,8 @@ import com.klp.aps.domain.entity.ApsPlanDetail;
|
||||
import com.klp.aps.domain.vo.ApsPlanDetailVo;
|
||||
import com.klp.common.core.mapper.BaseMapperPlus;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* 排产单明细Mapper接口
|
||||
*
|
||||
@@ -12,4 +14,5 @@ import com.klp.common.core.mapper.BaseMapperPlus;
|
||||
*/
|
||||
public interface ApsPlanDetailMapper extends BaseMapperPlus<ApsPlanDetailMapper, ApsPlanDetail, ApsPlanDetailVo> {
|
||||
|
||||
int deleteByPlanSheetIds(Collection<Long> planSheetIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user