From ed721d3c77517ce4e3bcc52cad9b7f52aa865c51 Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期五, 01 八月 2025 17:57:49 +0800
Subject: [PATCH] pdf医师图片
---
ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml | 17 ++++++++++++++++-
1 files changed, 16 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..6b78b04 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">
@@ -39,6 +42,8 @@
deleted,
pac_status,
price,
+ limits,
+ new_price,
category_id,
keywords,
is_on_sale,
@@ -47,7 +52,10 @@
retail_price,
counter_price,
sale_num,
- category_id
+ category_id,
+ his_pac_bm,
+ pym,
+ tj_category
from tj_package
</sql>
@@ -57,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>
@@ -86,6 +95,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 +117,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 +142,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