Skip to content

feat: 自选抄送人后端功能实现#4

Open
KylehsuXu wants to merge 1 commit intomrtylerzhou:masterfrom
KylehsuXu:feat/2025-06/ccSelfSelectFlag
Open

feat: 自选抄送人后端功能实现#4
KylehsuXu wants to merge 1 commit intomrtylerzhou:masterfrom
KylehsuXu:feat/2025-06/ccSelfSelectFlag

Conversation

@KylehsuXu
Copy link

自选抄送人的后端实现

前提:

t_bpmn_node表新增一个字段,代表是否为自选抄送人节点

-- 增加自选抄送人字段
alter table antflow.t_bpmn_node add cc_self_select_flag tinyint default 0 not null comment '自选抄送人' after is_deduplication;
思路:
  1. 流程设计时,将前端传来的saveCcSelfFlag参数保存到t_bpmn_node表,=1表示当前节点是自选抄送人节点
  2. 流程发起前时,在SubmitProcessImpl类中的bpmnConfCommonService.startProcess前,需要将抄送人信息保存到t_bpmn_node_personnel_empl_conf表
  3. BpmnConfCommonServiceImpl#startProcess里在bpmnConfService.detail(bpmnCode)的时候就会将保存的抄送人信息从t_bpmn_node_personnel_empl_conf表查出来,
  4. 在bpmnRemoveConfFormatFactory.removeBpmnConf里写入empToForwardList
  5. 最后,保存到bpm_process_forward实现抄送功能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant