-- select * from tabname where 1=1 ${if(len(xlk)=0," and zd='"+fine_username+"'"," and zd='"+xlk+"'")}
——————————————————————
不用js的,直接单元格 =$fine_username 就可以啊