| | |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="name" column="name"/> |
| | | <result property="caseno" column="caseno"/> |
| | | <result property="sort" column="sort"/> |
| | | <result property="organStartTime" column="organ_start_time"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceDonationwitnessorganVo"> |
| | | select ID, |
| | | InfoID, |
| | | sort, |
| | | DonorNo, |
| | | organ_start_time, |
| | | OrganNo, |
| | |
| | | <include refid="selectServiceDonationwitnessorganVo"/> |
| | | <where> |
| | | <if test="infoid != null ">and InfoID = #{infoid}</if> |
| | | <if test="sort != null ">and sort = #{sort}</if> |
| | | <if test="donorno != null and donorno != ''">and DonorNo = #{donorno}</if> |
| | | <if test="organno != null and organno != ''">and OrganNo = #{organno}</if> |
| | | <if test="organname != null and organname != ''">and OrganName like concat('%', #{organname}, '%')</if> |