From fe47ff909096722ba8e9172c3e1f0f7910b16909 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 21 十月 2025 14:49:18 +0800
Subject: [PATCH] 结束出院日期格式
---
smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
index aea8479..afc4fc1 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedOperationItemMapper.xml
@@ -6,6 +6,7 @@
<resultMap type="com.smartor.domain.PatMedOperationItem" id="PatMedOperationItemResult">
<result property="id" column="id"/>
+ <result property="operationid" column="operationid"/>
<result property="opid" column="opid"/>
<result property="opcode" column="opcode"/>
<result property="opdesc" column="opdesc"/>
@@ -29,7 +30,7 @@
</resultMap>
<sql id="selectPatMedOperationItemVo">
- select id, opid, opcode, opdesc, main_flag, incitypecode, incitypedesc, oplevelcode, opleveldesc, opposition, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pguid, guid, pid
+ select id, operationid, opid, opcode, opdesc, main_flag, incitypecode, incitypedesc, oplevelcode, opleveldesc, opposition, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pguid, guid, pid
from pat_med_operation_item
</sql>
@@ -37,6 +38,9 @@
resultMap="PatMedOperationItemResult">
<include refid="selectPatMedOperationItemVo"/>
<where>
+ <if test="operationid != null ">
+ and operationid = #{operationid}
+ </if>
<if test="opid != null ">
and opid = #{opid}
</if>
@@ -96,6 +100,8 @@
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,
</if>
+ <if test="operationid != null">operationid,
+ </if>
<if test="opid != null">opid,
</if>
<if test="opcode != null">opcode,
@@ -139,6 +145,8 @@
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},
+ </if>
+ <if test="operationid != null">#{operationid},
</if>
<if test="opid != null">#{opid},
</if>
@@ -186,6 +194,9 @@
<update id="updatePatMedOperationItem" parameterType="com.smartor.domain.PatMedOperationItem">
update pat_med_operation_item
<trim prefix="SET" suffixOverrides=",">
+ <if test="operationid != null">operationid =
+ #{operationid},
+ </if>
<if test="opid != null">opid =
#{opid},
</if>
--
Gitblit v1.9.3