mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-03-12 06:09:07 +08:00
【代码重构】工作流:完善 BpmTaskCandidateInvoker 的单元测试
This commit is contained in:
parent
7c7748d7e8
commit
86bce66bad
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm
controller/admin/definition/vo/process
convert/task
service/task
@ -33,8 +33,8 @@ public class BpmProcessDefinitionRespVO {
|
||||
@Schema(description = "流程分类名字", example = "请假")
|
||||
private String categoryName;
|
||||
|
||||
@Schema(description = "流程模型的类型", example = "10")
|
||||
private Integer modelType;
|
||||
@Schema(description = "流程模型的类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
|
||||
private Integer modelType; // 参见 BpmModelTypeEnum 枚举类
|
||||
|
||||
@Schema(description = "表单类型-参见 bpm_model_form_type 数据字典", example = "1")
|
||||
private Integer formType;
|
||||
|
@ -88,8 +88,8 @@ public interface BpmProcessInstanceConvert {
|
||||
AdminUserRespDTO startUser,
|
||||
DeptRespDTO dept) {
|
||||
BpmProcessInstanceRespVO respVO = BeanUtils.toBean(processInstance, BpmProcessInstanceRespVO.class);
|
||||
respVO.setStatus(FlowableUtils.getProcessInstanceStatus(processInstance));
|
||||
respVO.setFormVariables(FlowableUtils.getProcessInstanceFormVariable(processInstance));
|
||||
respVO.setStatus(FlowableUtils.getProcessInstanceStatus(processInstance))
|
||||
.setFormVariables(FlowableUtils.getProcessInstanceFormVariable(processInstance));
|
||||
// definition
|
||||
respVO.setProcessDefinition(BeanUtils.toBean(processDefinition, BpmProcessDefinitionRespVO.class));
|
||||
copyTo(processDefinitionInfo, respVO.getProcessDefinition());
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user