where 1=1
${if(TTTID=0,"and CZRQ='"+RQ+"' and RS='"+RS+"'","and id='"+TTTID+"'")}
那个等于0?
if(len(TTTID)=0,"",if(TTTID=0," and CZRQ='"+RQ+"' and RS='"+RS+"'"," and ID='"+TTTID+"'"))
${if(len(TTTID)=0,"and CZRQ='"+RQ+"' and RS='"+RS+"'","and id='"+TTTID+"'")}