|
|
@@ -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>>() { |
|
|
|