From 3f1dc57d57ef0ceafcc59cd5ce34ff90cfe6d146 Mon Sep 17 00:00:00 2001
From: 1098226878 <1098226878@qq.com>
Date: 星期一, 13 九月 2021 17:06:16 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/fee/FeePrintSpecServiceDaoImplMapper.xml |   10 +++++++---
 1 files changed, 7 insertions(+), 3 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..a8deae8
--- 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 != ''">
@@ -65,6 +66,9 @@
         <if test="qrImg !=null and qrImg != ''">
             , 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