| | |
| | | id = #{id,jdbcType=VARCHAR} |
| | | </if> |
| | | <if test="rtuAddr != null and rtuAddr != ''"> |
| | | AND rtuAddr = #{rtuAddr,jdbcType=VARCHAR} |
| | | AND rtuAddr = #{rtuAddr,jdbcType=VARCHAR} |
| | | </if> |
| | | <if test="protocol != null and protocol != ''"> |
| | | AND protocol = #{protocol,jdbcType=VARCHAR} |
| | | AND protocol = #{protocol,jdbcType=VARCHAR} |
| | | </if> |
| | | </where> |
| | | order by rtuAddr desc |
| | | order by id desc |
| | | <trim prefix="limit " > |
| | | <if test="start != null and count != null"> |
| | | #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} |