Commit 34a1cb83 authored by 刘凡's avatar 刘凡

优化:移装变更 删除时,同时删除待办数据批量操作

parent 7164eb1f
......@@ -455,12 +455,20 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
}
}
// 删除待办
this.deleteTaskBatch(Arrays.asList(sequenceNbrs));
} catch (Exception e) {
return false;
}
return true;
}
// 删除待办
private void deleteTaskBatch(List<Long> ids) {
ids.forEach(id-> commonService.deleteTaskModel(id + ""));
}
/**
* 根据移装变更记录sequenceNbr查询详情
*
......
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