Commit f792cf8d by 翁国栋

审批移除人员bug

parent 19cebcff
...@@ -1484,7 +1484,13 @@ public class SpmkController { ...@@ -1484,7 +1484,13 @@ public class SpmkController {
isFinal = true; isFinal = true;
} }
//执行中的人会存在操作记录 //执行中的人会存在操作记录
SpmkApproveExecuteRecord spmkApproveExecuteRecord = spmkApproveExecuteRecordMapper.selectExecuteRecordById(Integer.parseInt(currentUser.getId()), spmkApproveDetailSummary.getApproveSummaryId()); SpmkApproveExecuteRecord spmkApproveExecuteRecord;
//执行中的人会存在操作记录/spmk/delteApprove
if (spmkApproveDetailDto.getApproveExecuteRecordId()!=null) {
spmkApproveExecuteRecord = SpmkApproveExecuteRecord.builder().id(spmkApproveDetailDto.getApproveExecuteRecordId()).build().selectById();
} else {
spmkApproveExecuteRecord = spmkApproveExecuteRecordMapper.selectExecuteRecordById(Integer.parseInt(currentUser.getId()), spmkApproveDetailSummary.getApproveSummaryId());
}
//删除操作人记录 //删除操作人记录
if (spmkApproveExecuteRecord != null) { if (spmkApproveExecuteRecord != null) {
SpmkExecutor spmkExecutor =SpmkExecutor.builder().build().selectOne(new LambdaQueryWrapper<SpmkExecutor>() SpmkExecutor spmkExecutor =SpmkExecutor.builder().build().selectOne(new LambdaQueryWrapper<SpmkExecutor>()
......
...@@ -65,4 +65,7 @@ public class SpmkApproveDetailDto { ...@@ -65,4 +65,7 @@ public class SpmkApproveDetailDto {
private Integer userIndex;//插入审批人的当前用户索引 private Integer userIndex;//插入审批人的当前用户索引
private Integer approveExecuteId;
private Integer approveExecuteRecordId;
} }
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