Commit e1a17cc6 authored by 王果's avatar 王果

删除时,同时删除待办数据批量操作

parent 34a1cb83
......@@ -218,6 +218,8 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
.eq(JgMaintenanceContractEq::getIsDelete, false);
List<Long> listSeq = jgMaintenanceContractEqService.list(queryWrapper).stream()
.map(JgMaintenanceContractEq::getSequenceNbr).collect(Collectors.toList());
commonService.deleteTaskModel(String.valueOf(jgMaintenanceContract.getSequenceNbr()));
maintenanceContractEqMapper.deleteForBatch(listSeq);
});
maintenanceContractMapper.deleteForBatch(list);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment