${ if( or( SQL("JDBC1","SELECT 部门 from 表 where name = '"+fr_username+"'",1,1)="部门1", SQL("JDBC1","SELECT 部门 from 表 where name = '"+fr_username+"'",1,1)="部门2", SQL("JDBC1","SELECT 部门 from 表 where name = '"+fr_username+"'",1,1)="部门3" ), "", "and SQL中部门 = (SELECT 部门 from 表 where name = '"+fr_username+"')") }