select * from ods_qcci_bi.ods_eam_ledger_online_m_assetwhere 1=1${if(len($fine_username) == 0||$fine_username='admin'||$fine_role='管理员',"","and udbelong in (select dept_num from fr_user_farm t where t.username='"+$fine_username+"')")}只读到where 1=1 就没了