...
|
...
|
@@ -158,7 +158,9 @@ func buildSqlForAuditList(usercompanyid int64, companyid int64, userid int64) st |
|
|
//指定部门未通过
|
|
|
ids := []string{}
|
|
|
for _, v := range usrPermission.CheckOption.Departments {
|
|
|
ids = append(ids, fmt.Sprint(v.Id))
|
|
|
if v.NotPass > 0 {
|
|
|
ids = append(ids, fmt.Sprint(v.Id))
|
|
|
}
|
|
|
}
|
|
|
if len(ids) > 0 {
|
|
|
log.Debug("命中规则:指定部门未通过")
|
...
|
...
|
|