From b8bf9a10ca1c65e94d75a2db5550e6263b582512 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期一, 16 十二月 2024 15:01:41 +0800
Subject: [PATCH] 调整结果项目状态判断结论增加非空判断

---
 ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
index aa7b35a..dbf7b91 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
@@ -26,6 +26,8 @@
         <result property="saleNum" column="sale_num"/>
         <result property="categoryId" column="category_id"/>
         <result property="hisPacBm" column="his_pac_bm"/>
+        <result property="pym" column="pym"/>
+        <result property="tjCategory" column="tj_category"/>
     </resultMap>
 
     <sql id="selectTjPackageVo">
@@ -49,7 +51,8 @@
                counter_price,
                sale_num,
                category_id,
-               his_pac_bm
+               his_pac_bm,
+               pym,tj_category
         from tj_package
     </sql>
 
@@ -88,6 +91,8 @@
             <if test="retailPrice != null">retail_price,</if>
             <if test="counterPrice != null">counter_price,</if>
             <if test="saleNum != null">sale_num,</if>
+            <if test="pym != null">pym,</if>
+            <if test="tjCategory != null">tj_category,</if>
 
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -108,6 +113,8 @@
             <if test="retailPrice != null">#{retail_price},</if>
             <if test="counterPrice != null">#{counter_price},</if>
             <if test="saleNum != null">#{sale_num},</if>
+            <if test="pym != null">#{pym},</if>
+            <if test="tjCategory != null">#{tjCategory},</if>
         </trim>
     </insert>
 
@@ -131,6 +138,8 @@
             <if test="retailPrice != null">retail_price=#{retailPrice},</if>
             <if test="counterPrice != null">counter_price=#{counterPrice},</if>
             <if test="saleNum != null">sale_num=#{saleNum},</if>
+            <if test="pym != null">pym=#{pym},</if>
+            <if test="tjCategory != null">tj_category=#{tjCategory},</if>
         </trim>
         where pac_id = #{pacId}
     </update>

--
Gitblit v1.8.0