From 37f2e4e68c0d55e094981fa478fc198b907f87dc Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 20 七月 2024 16:30:13 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml index cf647f6..2f42f00 100644 --- a/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/ServiceSubtaskMapper.xml @@ -54,11 +54,13 @@ <result property="patid" column="patid"/> <result property="libtemplatename" column="libtemplatename"/> <result property="libtemplateid" column="libtemplateid"/> + <result property="openid" column="openid"/> </resultMap> <sql id="selectServiceSubtaskVo"> select id, hosp_type, + openid, libtemplateid, libtemplatename, hospno, @@ -152,6 +154,7 @@ <if test="hospType != null and hospType != ''">and hosp_type = #{hospType}</if> <if test="libtemplateid != null ">and libtemplateid = #{libtemplateid},</if> <if test="libtemplatename != null ">and libtemplatename = #{libtemplatename},</if> + <if test="openid != null ">and openid = #{openid},</if> </where> order by update_time desc,id desc </select> @@ -213,6 +216,7 @@ <if test="libtemplateid != null ">libtemplateid,</if> <if test="libtemplatename != null ">libtemplatename,</if> <if test="patid != null ">patid,</if> + <if test="openid != null ">openid,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="sendname != null">#{sendname},</if> @@ -263,6 +267,7 @@ <if test="libtemplateid != null ">#{libtemplateid},</if> <if test="libtemplatename != null ">#{libtemplatename},</if> <if test="patid != null ">#{patid},</if> + <if test="openid != null ">#{openid},</if> </trim> </insert> @@ -317,6 +322,7 @@ <if test="libtemplateid != null ">libtemplateid = #{libtemplateid},</if> <if test="libtemplatename != null ">libtemplatename = #{libtemplatename},</if> <if test="patid != null ">patid = #{patid},</if> + <if test="openid != null ">openid = #{openid},</if> </trim> where id = #{id} </update> @@ -372,6 +378,7 @@ <if test="libtemplateid != null ">libtemplateid = #{libtemplateid},</if> <if test="libtemplatename != null ">libtemplatename = #{libtemplatename},</if> <if test="patid != null ">patid = #{patid},</if> + <if test="openid != null ">openid = #{openid},</if> </trim> where patid = #{patid} and taskid = #{taskid} </update> @@ -399,6 +406,7 @@ phone, sex, age, + openid, sfzh, addr, senderdetail, -- Gitblit v1.9.3