mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	fix: 修正运行时的流程抄送相关异常
This commit is contained in:
		| @@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.*; | ||||
| import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success; | ||||
| import static cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils.getLoginUserId; | ||||
|  | ||||
| @Tag(name = "管理后台 - 流程实例") // 流程实例,通过流程定义创建的一次“申请” | ||||
| @Tag(name = "管理后台 - 流程实例抄送") | ||||
| @RestController | ||||
| @RequestMapping("/bpm/process-instance/cc") | ||||
| @Validated | ||||
|   | ||||
| @@ -31,8 +31,7 @@ public interface BpmProcessInstanceCopyConvert { | ||||
|             , Map<String, String/* processInstaneName */> processInstaneMap | ||||
|             , Map<Long, String/* userName */> userMap | ||||
|     ) { | ||||
|         List<BpmProcessInstanceCopyPageItemRespVO> list = convertList(page.getList()); | ||||
|         List<BpmProcessInstanceCopyPageItemRespVO> list2 = BeanUtils.toBean(page.getList(), | ||||
|         List<BpmProcessInstanceCopyPageItemRespVO> list = BeanUtils.toBean(page.getList(), | ||||
|                 BpmProcessInstanceCopyPageItemRespVO.class, | ||||
|                 copy -> { | ||||
|                     MapUtils.findAndThen(userMap, Long.valueOf(copy.getCreator()), copy::setCreatorNickname); | ||||
|   | ||||
| @@ -59,6 +59,7 @@ public class BpmProcessInstanceCopyServiceImpl implements BpmProcessInstanceCopy | ||||
|     private BpmCandidateSourceInfoProcessorChain processorChain; | ||||
|  | ||||
|     @Resource | ||||
|     @Lazy | ||||
|     private BpmTaskService bpmTaskService; | ||||
|  | ||||
|     @Resource | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 kyle
					kyle