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 | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 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 70daaf7..e931057
--- a/java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml
@@ -8,24 +8,25 @@
<!-- 淇濆瓨鎵撳嵃璇存槑淇℃伅 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},#{context},#{specCd},#{communityId},#{qrImg}
+ #{printId},#{content},#{specCd},#{communityId},#{qrImg},#{printName}
)
</insert>
<!-- 鏌ヨ鎵撳嵃璇存槑淇℃伅 add by wuxw 2018-07-03 -->
<select id="getFeePrintSpecInfo" parameterType="Map" resultType="Map">
- select t.print_id,t.print_id printId,t.content,t.content context,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
+ 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,t.print_name printName
from fee_print_spec t
where 1 =1
<if test="printId !=null and printId != ''">
and t.print_id= #{printId}
</if>
- <if test="context !=null and context != ''">
- and t.content= #{context}
+ <if test="content !=null and content != ''">
+ and t.content= #{content}
</if>
<if test="specCd !=null and specCd != ''">
and t.spec_cd= #{specCd}
@@ -53,8 +54,8 @@
<if test="newBId != null and newBId != ''">
,t.b_id = #{newBId}
</if>
- <if test="context !=null and context != ''">
- , t.content= #{context}
+ <if test="content !=null">
+ , t.content= #{content}
</if>
<if test="specCd !=null and specCd != ''">
, t.spec_cd= #{specCd}
@@ -62,8 +63,11 @@
<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 != ''">
@@ -80,8 +84,8 @@
<if test="printId !=null and printId != ''">
and t.print_id= #{printId}
</if>
- <if test="context !=null and context != ''">
- and t.content= #{context}
+ <if test="content !=null and content != ''">
+ and t.content= #{content}
</if>
<if test="specCd !=null and specCd != ''">
and t.spec_cd= #{specCd}
--
Gitblit v1.8.0