<if test = "str1 lte str2"> and 第一条SQL and 第二条SQL </if> <if test = "str1 gt str2"> and (第一条SQL or 第二条SQL) </if>