| | |
| | | <if test="code != null and code !=''"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="lineId != null"> |
| | | line_id = #{lineId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="name != null and name !=''"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | |
| | | name like concat('%', #{name}, '%') |
| | | </if> |
| | | </trim> |
| | | order by id desc |
| | | order by line_id ASC, id ASC |
| | | <trim prefix="limit " > |
| | | <if test="start != null and count != null"> |
| | | #{start}, #{count} |
| | |
| | | <select id="selectAll" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from plt_station where deleted!=1 |
| | | from plt_station |
| | | where deleted!=1 |
| | | order by line_id ASC, id ASC |
| | | </select> |
| | | <select id="selectMaxCode" resultType="java.lang.String"> |
| | | select max(code) from plt_station |