From 3b0ddfa0b1c3490fbbf421a84e0431a60fb58387 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 01 四月 2021 12:25:35 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/xinghong-dev'

---
 java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
index c2f1845..b596bea 100644
--- a/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
@@ -77,7 +77,6 @@
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
         </if>
-
     </insert>
 
     <insert id="saveFileRel" parameterType="Map">
@@ -89,7 +88,7 @@
         )
     </insert>
 
-    <insert id="deleteFileRel" parameterType="Map">
+    <update id="deleteFileRel" parameterType="Map">
         update file_rel t set t.status_cd = '1'
         where 1=1
         <if test="relTypeCd !=null and relTypeCd != ''">
@@ -107,9 +106,7 @@
         <if test="fileRelId !=null and fileRelId != ''">
             and t.file_rel_id= #{fileRelId}
         </if>
-
-    </insert>
-
+    </update>
 
     <!-- 鏌ヨ鏂囦欢瀛樻斁淇℃伅 add by wuxw 2018-07-03 -->
     <select id="getFileRelInfo" parameterType="Map" resultType="Map">
@@ -159,9 +156,7 @@
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>
-
     </select>
-
 
     <!-- 淇敼鏂囦欢瀛樻斁淇℃伅 add by wuxw 2018-07-03 -->
     <update id="updateFileRelInfoInstance" parameterType="Map">
@@ -191,7 +186,6 @@
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
         </if>
-
     </update>
 
     <!-- 鏌ヨ鏂囦欢瀛樻斁鏁伴噺 add by wuxw 2018-07-03 -->
@@ -230,8 +224,5 @@
         <if test="bId !=null and bId != ''">
             and t.b_id= #{bId}
         </if>
-
-
     </select>
-
 </mapper>

--
Gitblit v1.8.0