From 4430ceb824ac85a3b50108dadb2eac1e31d2c7d8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 23 一月 2021 15:48:33 +0800
Subject: [PATCH] 优化 考勤编辑功能
---
java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
index 9b7966f..c2f1845 100644
--- a/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/FileRelServiceDaoImplMapper.xml
@@ -89,6 +89,27 @@
)
</insert>
+ <insert id="deleteFileRel" parameterType="Map">
+ update file_rel t set t.status_cd = '1'
+ where 1=1
+ <if test="relTypeCd !=null and relTypeCd != ''">
+ and t.rel_type_cd= #{relTypeCd}
+ </if>
+ <if test="fileRealName !=null and fileRealName != ''">
+ and t.file_real_name= #{fileRealName}
+ </if>
+ <if test="objId !=null and objId != ''">
+ and t.obj_id= #{objId}
+ </if>
+ <if test="fileSaveName !=null and fileSaveName != ''">
+ and t.file_save_name= #{fileSaveName}
+ </if>
+ <if test="fileRelId !=null and fileRelId != ''">
+ and t.file_rel_id= #{fileRelId}
+ </if>
+
+ </insert>
+
<!-- 鏌ヨ鏂囦欢瀛樻斁淇℃伅 add by wuxw 2018-07-03 -->
<select id="getFileRelInfo" parameterType="Map" resultType="Map">
--
Gitblit v1.8.0