From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能
---
java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 6e983dc..e931057
--- a/java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml
@@ -8,9 +8,9 @@
<!-- 淇濆瓨鎵撳嵃璇存槑淇℃伅 add by wuxw 2018-07-03 -->
<insert id="saveFeePrintSpecInfo" parameterType="Map">
insert into fee_print_spec(
- print_id,content,spec_cd,community_id,qr_img
+ print_id,content,spec_cd,community_id,qr_img,print_name
) values (
- #{printId},#{content},#{specCd},#{communityId},#{qrImg}
+ #{printId},#{content},#{specCd},#{communityId},#{qrImg},#{printName}
)
</insert>
@@ -18,7 +18,8 @@
<!-- 鏌ヨ鎵撳嵃璇存槑淇℃伅 add by wuxw 2018-07-03 -->
<select id="getFeePrintSpecInfo" parameterType="Map" resultType="Map">
select t.print_id,t.print_id printId,t.content,t.spec_cd,t.spec_cd
- specCd,t.status_cd,t.status_cd statusCd,t.community_id,t.community_id communityId,t.qr_img,t.qr_img qrImg
+ specCd,t.status_cd,t.status_cd statusCd,t.community_id,t.community_id communityId,
+ t.qr_img,t.qr_img qrImg,t.print_name printName
from fee_print_spec t
where 1 =1
<if test="printId !=null and printId != ''">
@@ -53,7 +54,7 @@
<if test="newBId != null and newBId != ''">
,t.b_id = #{newBId}
</if>
- <if test="content !=null and content != ''">
+ <if test="content !=null">
, t.content= #{content}
</if>
<if test="specCd !=null and specCd != ''">
@@ -62,9 +63,12 @@
<if test="communityId !=null and communityId != ''">
, t.community_id= #{communityId}
</if>
- <if test="qrImg !=null and qrImg != ''">
+ <if test="qrImg !=null">
, t.qr_img= #{qrImg}
</if>
+ <if test="printName !=null and printName != ''">
+ , t.print_name= #{printName}
+ </if>
where 1=1
<if test="printId !=null and printId != ''">
and t.print_id= #{printId}
--
Gitblit v1.8.0