|
|
@ -285,9 +285,10 @@ public class HuzhouProjectinfoServiceImpl extends ServiceImpl<HuzhouProjectinfoM |
|
|
|
} |
|
|
|
} |
|
|
|
@Override |
|
|
|
public void approveProjectInfo(ProjectApproveOV projectApproveOV) { |
|
|
|
public void approveProjectInfo(ProjectApproveOV projectApproveOV,MultipartFile[] multipartFile) throws IOException { |
|
|
|
String taskId = projectApproveOV.getTaskId(); |
|
|
|
HuzhouProjectinfo projectinfo = projectApproveOV.getProjectInfo(); |
|
|
|
HuzhouProjectinfo projectinfo = new HuzhouProjectinfo(); |
|
|
|
BeanUtils.copyProperties(projectApproveOV,projectinfo); |
|
|
|
String comment = projectApproveOV.getComment(); |
|
|
|
String projectid = projectApproveOV.getProjectid(); |
|
|
|
String flag = projectApproveOV.getFlag(); |
|
|
@ -315,6 +316,9 @@ public class HuzhouProjectinfoServiceImpl extends ServiceImpl<HuzhouProjectinfoM |
|
|
|
//保存新的人员和项目对应信息
|
|
|
|
userprojectService.saveFromProject(projectinfo,"0"); |
|
|
|
} |
|
|
|
if(multipartFile!=null){ |
|
|
|
uploadfileinfoService.modifyUploadFile(multipartFile,projectid,"5"); |
|
|
|
} |
|
|
|
} |
|
|
|
WorkFlow workFlow = workflowService.approveProjectInfo(taskId, flag, comment); |
|
|
|
//暂时没有作废的说法
|
|
|
|