| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="operator" column="operator"/> |
| | | <result property="operatorId" column="operator_id"/> |
| | | <result property="remark" column="remark"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedInhospVo"> |
| | | select inhospid, |
| | | patname, |
| | | remark, |
| | | guid, |
| | | operator, |
| | | operator_id, |
| | |
| | | a.sex, |
| | | b.guid, |
| | | b.operator, |
| | | b.remark, |
| | | b.operator_id, |
| | | b.inhospid, |
| | | b.nurse_id, |
| | |
| | | b.patname, |
| | | b.operator_id, |
| | | b.operator, |
| | | b.remark, |
| | | b.out_way_id, |
| | | b.out_way_name, |
| | | b.nurse_id, |
| | |
| | | <if test="operator != null ">operator,</if> |
| | | <if test="operatorId != null ">operator_id,</if> |
| | | <if test="inhospno != null ">inhospno,</if> |
| | | <if test="remark != null ">remark,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | |
| | | <if test="operator != null ">#{operator},</if> |
| | | <if test="operatorId != null ">#{operatorId},</if> |
| | | <if test="inhospno != null ">#{inhospno},</if> |
| | | <if test="remark != null ">#{remark},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="guid != null ">guid = #{guid},</if> |
| | | <if test="operator != null ">operator = #{operator},</if> |
| | | <if test="operatorId != null ">operator_id = #{operatorId},</if> |
| | | <if test="remark != null ">remark = #{remark},</if> |
| | | </trim> |
| | | where inhospid = #{inhospid} |
| | | </update> |