wkyuer 2 сар өмнө
parent
commit
bff52fbb79

+ 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)