fix(超管权限):超管也放开导入跨部门、课程审批等!
deploy-hxtesting / build-and-deploy (push) Successful in 1m15s

This commit is contained in:
runny committed 2026-11-28 15:16:55 +08:00
1 parent 9d4092bc7f
commit 78e9787793
11 files changed
+489 -85

No files matched your search

@@ -286,8 +286,8 @@ func (s *trainingService) SetCourseLibraryPublishStatus(ctx context.Context, ten
}
// VerifyCourseLibraryItems 批量审核课程条目(000163:核验升级为「审核」,审核
// 通过即自动发布;单个/批量共用):审核人所在部门(deptScope,handler 保证恒
// 非空)必须与课程所属部门一致;已确认行与部门不匹配行跳过。
// 通过即自动发布;单个/批量共用):审核人所在部门(deptScope,课长/经理恒非空;
// 超级管理员传空放开跨部门)必须与课程所属部门一致;已确认行与部门不匹配行跳过。
// 审核前置(测试反馈 2026-11-26):课程权限必填 —— perm 两列与存量 suitable_members
// 均为空的课程拒绝审核,整批报错定位到具体课程。
// 审核通过后:已有课件(原始文件或知识库挂接)的课程同步置为已发布,无需再点