fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
19bc66ba45
commit
5dad1bb0e3
142 files changed
+95584
-65717
No files matched your search
@@ -0,0 +1,41 @@
|
||||
-- 样本采集通知人员角色(幂等)
|
||||
-- 仅插入角色,不挂菜单、不自动绑用户;由运营在「角色管理」中挂人。
|
||||
-- 对齐 docs/superpowers/specs/2026-10-23-sample-collect-wx-notify-design.md
|
||||
|
||||
INSERT INTO sys_role (
|
||||
id,
|
||||
role_name,
|
||||
data_scope,
|
||||
status,
|
||||
tenant_no,
|
||||
order_num,
|
||||
remark,
|
||||
create_by,
|
||||
create_dept_id,
|
||||
create_time,
|
||||
update_by,
|
||||
update_time,
|
||||
del_flag
|
||||
)
|
||||
SELECT
|
||||
REPLACE(UUID(), '-', ''),
|
||||
'样本采集通知人员',
|
||||
'1',
|
||||
'1',
|
||||
'zkxw',
|
||||
0,
|
||||
'协议新增样本时接收服务号模板消息',
|
||||
'system',
|
||||
'',
|
||||
NOW(),
|
||||
'system',
|
||||
NOW(),
|
||||
0
|
||||
FROM DUAL
|
||||
WHERE NOT EXISTS (
|
||||
SELECT 1
|
||||
FROM sys_role r
|
||||
WHERE r.tenant_no = 'zkxw'
|
||||
AND r.role_name = '样本采集通知人员'
|
||||
AND r.del_flag = 0
|
||||
);
|
||||
Reference in new issue
Block a user