| | |
| | | <select id="selectPatMedRegistrationList" parameterType="com.smartor.domain.PatMedRegistration" |
| | | resultMap="PatMedRegistrationResult"> |
| | | <include refid="selectPatMedRegistrationVo"/> |
| | | <where> |
| | | where 1=1 |
| | | <if test="serialnum != null and serialnum != ''">and serialnum = #{serialnum}</if> |
| | | <if test="patid != null ">and patid = #{patid}</if> |
| | | <if test="hospitalname != null and hospitalname != ''">and hospitalname like concat('%', #{hospitalname}, |
| | |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | | |