Browse Source

git debug

master
PoffyZhang 1 year ago
parent
commit
dc9002baa1
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/declared/manage/DeclaredProjectManage.java

+ 7
- 1
pmapi/src/main/java/com/ningdatech/pmapi/declared/manage/DeclaredProjectManage.java View File

@@ -17,6 +17,7 @@ import com.ningdatech.pmapi.projectlib.model.vo.ProjectLibListItemVO;
import com.ningdatech.pmapi.projectlib.service.IProjectService;
import com.wflow.bean.entity.WflowModels;
import com.wflow.exception.BusinessException;
import com.wflow.workflow.bean.dto.ProcessInstanceUserDto;
import com.wflow.workflow.bean.vo.ProcessStartParamsVo;
import com.wflow.workflow.service.ProcessInstanceService;
import com.wflow.workflow.service.ProcessModelService;
@@ -118,7 +119,12 @@ public class DeclaredProjectManage {
}

ProcessStartParamsVo params = new ProcessStartParamsVo();
params.setDeptId("6179678");
ProcessInstanceUserDto user = new ProcessInstanceUserDto();
user.setOrgCode("6179678");
user.setOrgName("数转办");
user.setUserId("381496");
user.setUserName("旅人");
params.setUser(user);
params.setProcessUsers(Collections.emptyMap());
dto.getFormData().putAll(
JSON.parseObject(JSON.toJSONString(dto.getProjectInfo()), new TypeReference<Map<String, Object>>() {


Loading…
Cancel
Save