From 43727df73e52cc00a1f1aee3c20a1aec8db1b92f Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期四, 27 二月 2025 08:45:25 +0800
Subject: [PATCH] 修改查询

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

diff --git a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
index ed14c8f..6b78b04 100644
--- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml
@@ -54,7 +54,8 @@
                sale_num,
                category_id,
                his_pac_bm,
-               pym,tj_category
+               pym,
+               tj_category
         from tj_package
     </sql>
 
@@ -64,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>

--
Gitblit v1.8.0