From 0894b9328ae1c11146175b492ae348bbd4b13404 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 29 四月 2019 16:42:32 +0800
Subject: [PATCH] 加入统一消息提示功能 请用 vc.messege('错误内容')

---
 java110-config/src/main/resources/mapper/center/PrivilegeDAOImplMapper.xml |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/java110-config/src/main/resources/mapper/center/PrivilegeDAOImplMapper.xml b/java110-config/src/main/resources/mapper/center/PrivilegeDAOImplMapper.xml
index 3ea379c..d1a129c 100644
--- a/java110-config/src/main/resources/mapper/center/PrivilegeDAOImplMapper.xml
+++ b/java110-config/src/main/resources/mapper/center/PrivilegeDAOImplMapper.xml
@@ -132,4 +132,20 @@
         ]]>
     </insert>
 
+    <!-- 鍒犻櫎鏉冮檺缁� -->
+    <update id="deleteUserPrivilege" parameterType="Map">
+        update p_privilege_user ppu set ppu.status_cd = '1'
+        where 1=1
+        <if test="pId != null and pId != ''">
+            and ppu.p_id= #{pId}
+        </if>
+        <if test="privilegeFlag != null and privilegeFlag != ''">
+            and ppu.privilege_flag = #{privilegeFlag}
+        </if>
+        <if test="userId != null and userId != ''">
+            and ppu.user_id = #{userId}
+        </if>
+        and ppu.status_cd = '0'
+    </update>
+
 </mapper>

--
Gitblit v1.8.0