Browse Source

wip:协议归档邮件

wkyuer 2 months ago
parent
commit
bff52fbb79
1 changed files with 3 additions and 0 deletions
  1. 3 0
      internal/logic/timedTask/protocolNotice.go

+ 3 - 0
internal/logic/timedTask/protocolNotice.go

@@ -63,6 +63,9 @@ func OrderProtocolNotice() {
 		}
 
 		for _, dept_id := range deptArr {
+			if dept_id == 26819 { //最顶级部门不通知
+				continue
+			}
 			for _, s := range jyutil.JyDepartmentManager.GetLeaderId(ctx, dept_id) {
 				mailMapping[s.Id] = s.UserMail
 				leaderMapping[s.Id] = append(leaderMapping[s.Id], &noticeRow)