This commit is contained in:
lijiaqi 2024-03-01 14:01:33 +08:00
parent 7e9bb04745
commit b307dcdd0d
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ public class WorkFlowService extends BaseService<WorkFlowMapper, WorkFlow> {
List<WorkFlowStep> superiorWorkFlowStepList = workFlowStepService.list(new QueryWrapper<WorkFlowStep>().lambda()
.eq(WorkFlowStep::getFlowId, workFlow.getId())
.eq(WorkFlowStep::getStep, workFlow.getStep() - 1)
.last("limit 1")
// .last("limit 1")
);
// 4.删除当前环节