Forráskód Böngészése

feat:物业专版角色分配

wangchuanjin 1 éve
szülő
commit
f042a929f3
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      entbase/src/service/ent/ent.go

+ 1 - 1
entbase/src/service/ent/ent.go

@@ -120,7 +120,7 @@ func (a *Action) EntInfo() {
 		}
 	}
 	if Base.CountBySql(`select count(1) as count from base_power a 
-		inner join base_account b on (a.function_code='bi_yx' and a.status=1 and a.end_time>? and b.ent_id=? and b.type=1 and a.account_id=b.id)`, NowFormat(Date_Full_Layout), entId) > 0 {
+		inner join base_account b on (a.function_code in ('bi_yx','bi_yx_wyzb') and a.status=1 and a.end_time>? and b.ent_id=? and b.type=1 and a.account_id=b.id)`, NowFormat(Date_Full_Layout), entId) > 0 {
 		m["nicheDis_show"] = 1
 	}
 	a.ServeJson(Result{Data: m})