| | |
| | | <select id="selectPatArchiveImportList" parameterType="com.smartor.domain.PatArchiveImport" |
| | | resultMap="PatArchiveImportResult"> |
| | | <include refid="selectPatArchiveImportVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | <if test="patientno != null and patientno != ''"> |
| | | and patientno = #{patientno} |
| | | </if> |
| | |
| | | <if test="batchNo != null and batchNo != ''"> |
| | | and batch_no = #{batchNo} |
| | | </if> |
| | | </where> |
| | | ORDER BY create_time desc |
| | | </select> |
| | | |
| | |
| | | <if test="orgid != null and orgid != ''">orgid,</if> |
| | | create_time |
| | | )values( |
| | | <if test="userId != null and userId != ''">#{userId},</if> |
| | | <if test="deptId != null and deptId != ''">#{deptId},</if> |
| | | <if test="userId != null and userId != 0">#{userId},</if> |
| | | <if test="deptId != null and deptId != 0">#{deptId},</if> |
| | | <if test="userName != null and userName != ''">#{userName},</if> |
| | | <if test="nickName != null and nickName != ''">#{nickName},</if> |
| | | <if test="email != null and email != ''">#{email},</if> |