From 9155df2aeab5b0d95c89dd928dbaefbfbaeae9d1 Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期四, 05 九月 2024 17:10:35 +0800
Subject: [PATCH] zjh 2024-09-05

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

diff --git a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
index 304cd8d..dbf7b91 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
@@ -25,6 +25,9 @@
         <result property="counterPrice" column="counter_price"/>
         <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">
@@ -47,7 +50,9 @@
                retail_price,
                counter_price,
                sale_num,
-               category_id
+               category_id,
+               his_pac_bm,
+               pym,tj_category
         from tj_package
     </sql>
 
@@ -86,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=",">
@@ -106,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>
 
@@ -129,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