From 7caeae303d4a93d0af2dc2d2f546987dd192be3c Mon Sep 17 00:00:00 2001
From: zjh <1084500556@qq.com>
Date: 星期二, 21 一月 2025 19:34:34 +0800
Subject: [PATCH] zjh20250121

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

diff --git a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
index f5e7ec7..6b78b04 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
@@ -27,6 +27,7 @@
         <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">
@@ -41,6 +42,8 @@
                deleted,
                pac_status,
                price,
+               limits,
+               new_price,
                category_id,
                keywords,
                is_on_sale,
@@ -51,7 +54,8 @@
                sale_num,
                category_id,
                his_pac_bm,
-               pym
+               pym,
+               tj_category
         from tj_package
     </sql>
 
@@ -61,6 +65,7 @@
             <if test="pacName != null  and pacName != ''">and pac_name like concat('%', #{pacName}, '%')</if>
             <if test="pacRemark != null  and pacRemark != ''">and pac_remark like concat('%', #{pacRemark}, '%')</if>
             <if test="categoryId != null  and categoryId != ''">and category_id = #{categoryId}</if>
+            <if test="tjCategory != null  and tjCategory != ''">and tj_category = #{tjCategory}</if>
             and deleted =0
         </where>
     </select>
@@ -91,6 +96,7 @@
             <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=",">
@@ -112,6 +118,7 @@
             <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>
 
@@ -136,6 +143,7 @@
             <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