feat(REQ-3647) - 调整审批中的节点文案
This commit is contained in:
parent
3fc7d89dfc
commit
59cfbab4b3
@ -155,6 +155,7 @@ public class TaskEntityEventHandle implements EntityEventHandle<TaskEntity> {
|
|||||||
update.setAssigneeTenantId(assignee.getTenantId());
|
update.setAssigneeTenantId(assignee.getTenantId());
|
||||||
update.setAssigneeName(assignee.getAssignerName());
|
update.setAssigneeName(assignee.getAssignerName());
|
||||||
update.setAssigneeOuId(assignee.getOuId());
|
update.setAssigneeOuId(assignee.getOuId());
|
||||||
|
update.setOperationDesc(assignee.getAssignerName());
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean needDelete = false;
|
boolean needDelete = false;
|
||||||
|
|||||||
@ -16,7 +16,11 @@ import javax.annotation.Resource;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import static cn.axzo.workflow.common.constant.BpmnConstants.*;
|
import static cn.axzo.workflow.common.constant.BpmnConstants.DUMMY_ASSIGNEE_ID;
|
||||||
|
import static cn.axzo.workflow.common.constant.BpmnConstants.HIDDEN_ASSIGNEE_ID;
|
||||||
|
import static cn.axzo.workflow.common.constant.BpmnConstants.NO_ASSIGNEE;
|
||||||
|
import static cn.axzo.workflow.common.constant.BpmnConstants.ROBOT_ASSIGNEE_ID;
|
||||||
|
import static cn.axzo.workflow.core.common.enums.BpmnProcessTaskResultEnum.HANDLING;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Api Log 表操服务实现
|
* Api Log 表操服务实现
|
||||||
@ -51,7 +55,7 @@ public class ExtAxProcessLogServiceImpl implements ExtAxProcessLogService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateAssignee(ExtAxProcessLog queryLog, BpmnTaskDelegateAssigner assignee) {
|
public void updateAssignee(ExtAxProcessLog queryLog, BpmnTaskDelegateAssigner assignee) {
|
||||||
updateAssignee(queryLog, assignee, assignee.getAssignerName());
|
updateAssignee(queryLog, assignee, assignee.getAssignerName() + HANDLING.getDesc());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -63,7 +67,7 @@ public class ExtAxProcessLogServiceImpl implements ExtAxProcessLogService {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ExtAxProcessLog update = new ExtAxProcessLog();
|
ExtAxProcessLog update = new ExtAxProcessLog();
|
||||||
update.setOperationDesc(StringUtils.hasText(operationDesc) ? operationDesc : assignee.getAssignerName());
|
update.setOperationDesc(StringUtils.hasText(operationDesc) ? operationDesc : assignee.getAssignerName() + HANDLING.getDesc());
|
||||||
update.setAssigneeFull(Lists.newArrayList(assignee));
|
update.setAssigneeFull(Lists.newArrayList(assignee));
|
||||||
update.setAssigneeId(Long.valueOf(assignee.getPersonId()));
|
update.setAssigneeId(Long.valueOf(assignee.getPersonId()));
|
||||||
update.setAssigneeTenantId(assignee.getTenantId());
|
update.setAssigneeTenantId(assignee.getTenantId());
|
||||||
@ -79,7 +83,7 @@ public class ExtAxProcessLogServiceImpl implements ExtAxProcessLogService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ExtAxProcessLog findByProcessIdAndTaskIdWithDeleted(String processId, String taskId) {
|
public ExtAxProcessLog findByProcessIdAndTaskIdWithDeleted(String processId, String taskId) {
|
||||||
return extAxProcessLogMapper.findByProcessIdAndTaskIdWithDeleted(processId,taskId);
|
return extAxProcessLogMapper.findByProcessIdAndTaskIdWithDeleted(processId, taskId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user