From 35d6ed3c85ab2fa5c36c8817989bf56801fb2de7 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期四, 20 六月 2024 11:52:15 +0800 Subject: [PATCH] zjh 2024/06/20-1 --- ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml index aa7b35a..f5e7ec7 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjPackageMapper.xml @@ -26,6 +26,7 @@ <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"> @@ -49,7 +50,8 @@ counter_price, sale_num, category_id, - his_pac_bm + his_pac_bm, + pym from tj_package </sql> @@ -88,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=","> @@ -108,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> @@ -131,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