From 2d55769f7f28172b1bf358965417b31573f2e819 Mon Sep 17 00:00:00 2001 From: zjh <zjh@888> Date: 星期四, 20 六月 2024 18:24:32 +0800 Subject: [PATCH] zjh 本地 2024/06/20 --2 --- ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml | 9 ++++++++- 1 files changed, 8 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..f5e7ec7 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml @@ -25,6 +25,8 @@ <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"/> </resultMap> <sql id="selectTjPackageVo"> @@ -47,7 +49,9 @@ retail_price, counter_price, sale_num, - category_id + category_id, + his_pac_bm, + pym from tj_package </sql> @@ -86,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=","> @@ -106,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> @@ -129,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