|
|
@@ -1976,8 +1976,14 @@ func (this *OilSupplierController) GetFirAuditerByDept() {
|
|
|
userIds := strings.Replace(tempstr, "uid_", "", -1)
|
|
|
userIds = strings.Trim(userIds, ",")
|
|
|
if userIds != "" {
|
|
|
- where := "Id in (" + userIds + ")" + "and (UnitId=" + Id + " or Departmentid in (" + alldep + ")) "
|
|
|
- svc.GetEntities(&userlist, where)
|
|
|
+ // 企管法规处
|
|
|
+ if unitId == "100000517" {
|
|
|
+ where := "Id in (" + userIds + ")"
|
|
|
+ svc.GetEntities(&userlist, where)
|
|
|
+ } else {
|
|
|
+ where := "Id in (" + userIds + ")" + "and (UnitId=" + Id + " or Departmentid in (" + alldep + ")) "
|
|
|
+ svc.GetEntities(&userlist, where)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//svc := organize.GetOrganizeService(utils.DBE)
|