where
${if(len(FNAME)==0&&len(FSHORTNAME)==0&&len(SALER)==0,"1=0","1=1")}
${if(len(FNAME)=0,"","and a.FNAME like '%"+ FNAME +"%'")}
${if(len(FSHORTNAME) == 0,"","and a.FSHORTNAME like '%" + FSHORTNAME + "%'")}
${if(len(SALER) == 0,"","and c.f_bln_name like '%" + SALER + "%'")}