|
@@ -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})
|