From 150797c3dda721f411481bdd2a587095e52b2451 Mon Sep 17 00:00:00 2001
From: zjh <zjh@888>
Date: 星期五, 21 六月 2024 10:16:24 +0800
Subject: [PATCH] zjh 本地 2024/06/21 --1

---
 ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml |    7 ++++++-
 1 files changed, 6 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..f5e7ec7 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
@@ -26,6 +26,7 @@
         <result property="saleNum" column="sale_num"/>
         <result property="categoryId" column="category_id"/>
         <result property="hisPacBm" column="his_pac_bm"/>
+        <result property="pym" column="pym"/>
     </resultMap>
 
     <sql id="selectTjPackageVo">
@@ -49,7 +50,8 @@
                counter_price,
                sale_num,
                category_id,
-               his_pac_bm
+               his_pac_bm,
+               pym
         from tj_package
     </sql>
 
@@ -88,6 +90,7 @@
             <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>
 
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -108,6 +111,7 @@
             <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>
         </trim>
     </insert>
 
@@ -131,6 +135,7 @@
             <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>
         </trim>
         where pac_id = #{pacId}
     </update>

--
Gitblit v1.8.0