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