| | |
| | | <result property="deptcode" column="deptcode" /> |
| | | <result property="deptname" column="deptname" /> |
| | | <result property="roomno" column="roomno" /> |
| | | <result property="bedno" column="bedno" /> |
| | | <result property="bedNo" column="bed_no" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedInhospVo"> |
| | | select inhospid,inhospno, serialnum, hospitalname, hospitalcode, hospitaldistrictcode, hospitaldistrictname, icd10code, diagname, starttime, endtime, deptcode, deptname, roomno, bedno, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, patid, leavediagname, leaveicd10code, drcode, drname, schemestatus, generalschemestatus, leaveldeptcode, leaveldeptname, hospitaldistrictid, leavehospitaldistrictcode, leavehospitaldistrictname, leavehospitaldistrictid, deptid, leaveldeptid, schemetime from pat_med_inhosp |
| | | select inhospid,inhospno, serialnum, hospitalname, hospitalcode, hospitaldistrictcode, hospitaldistrictname, icd10code, diagname, starttime, endtime, deptcode, deptname, roomno, bed_no, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, patid, leavediagname, leaveicd10code, drcode, drname, schemestatus, generalschemestatus, leaveldeptcode, leaveldeptname, hospitaldistrictid, leavehospitaldistrictcode, leavehospitaldistrictname, leavehospitaldistrictid, deptid, leaveldeptid, schemetime from pat_med_inhosp |
| | | </sql> |
| | | |
| | | <select id="selectPatMedInhospList" parameterType="com.smartor.domain.PatMedInhosp" resultMap="PatMedInhospResult"> |
| | |
| | | <if test="deptcode != null">deptcode,</if> |
| | | <if test="deptname != null">deptname,</if> |
| | | <if test="roomno != null">roomno,</if> |
| | | <if test="bedno != null">bedno,</if> |
| | | <if test="bedNo != null">bed_no,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | |
| | | <if test="deptcode != null">#{deptcode},</if> |
| | | <if test="deptname != null">#{deptname},</if> |
| | | <if test="roomno != null">#{roomno},</if> |
| | | <if test="bedno != null">#{bedno},</if> |
| | | <if test="bedNo != null">#{bedNo},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | |
| | | <if test="deptcode != null">deptcode = #{deptcode},</if> |
| | | <if test="deptname != null">deptname = #{deptname},</if> |
| | | <if test="roomno != null">roomno = #{roomno},</if> |
| | | <if test="bedno != null">bedno = #{bedno},</if> |
| | | <if test="bedNo != null">bed_no = #{bedNo},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | |
| | | #{inhospid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | | </mapper> |