fix: 修正运行时的流程抄送相关异常

This commit is contained in:
kyle 2024-01-22 12:01:06 +08:00
parent 5622ba8acf
commit 97d6aab41c
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -59,6 +59,7 @@ public class BpmProcessInstanceCopyServiceImpl implements BpmProcessInstanceCopy
private BpmCandidateSourceInfoProcessorChain processorChain;
@Resource
@Lazy
private BpmTaskService bpmTaskService;
@Resource