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