1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.unis.transaction.server.dao.PassBackDao">
-
- <select id="selectDetail" resultType="com.unis.transaction.server.entity.givebackbail.PassBackDO">
- select * from ty_jywcjtk
- <where>
- <if test="ccbm !=null and ccbm!=''">
- and ccbm = #{ccbm}
- </if>
- </where>
- </select>
- <select id="selectPageList" resultType="com.unis.transaction.common.vo.givebackbail.PassBackVO">
- select
- *
- from
- ty_jywcjtk tk
- <where>
- <if test="tkzt != null">
- and tk.tkzt=#{tkzt}
- </if>
- <if test="jylx != null">
- and tk.jylx=#{jylx}
- </if>
- <if test="tkztList!= null">
- and tk.tkzt in
- <foreach collection="tkztList" item="item" open="(" close=")" separator=",">
- #{item}
- </foreach>
- </if>
-
- </where>
- order by tk.apcc desc
- </select>
- </mapper>
|