sql+=" and site in (select site from eam_access_site where username = '"+this.param7+"') "+" and bu_no in (select a.bu_no from AccessBu as a left join eam_access_site as b on a.site = b.site and a.username = b.username where a.username = '"+this.param7+"')"
sql+=" and site in (select site from eam_access_site where username = '"+this.param7+"') "+" and bu_no in (select a.bu_no from AccessBu as a left join eam_access_site as b on a.site = b.site and a.username = b.username where a.username = '"+this.param7+"')"
}
}
}
}
//500-1000自动增加site过滤
if(this.tagNo>500&&this.tagNo<1000){
if(this.tagNo>500&&this.tagNo<1000){
if(this.param7){
if(this.param7){
sql+=" and site in (select site from eam_access_site where username = '"+this.param7+"') "
sql+=" and site in (select site from eam_access_site where username = '"+this.param7+"') "