From 1ceabefb451912daa5dda7768b7ef0b89a56c08a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 25 Mar 2022 12:28:00 +0800 Subject: [PATCH] 1 --- zq-erp/src/main/resources/mybatis/mapper/common/SysRolePwoerFnDao.xml | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/common/SysRolePwoerFnDao.xml b/zq-erp/src/main/resources/mybatis/mapper/common/SysRolePwoerFnDao.xml index 3c5c8b8..a1b0ef2 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/common/SysRolePwoerFnDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/common/SysRolePwoerFnDao.xml @@ -150,10 +150,21 @@ </if> </where> </delete> - - - - <!-- 分页查询 --> + <delete id="deleteByFns"> + DELETE a + FROM + sys_role_pwoer_fn a , sys_role b + WHERE + a.role_id = b.role_id + and b.company_id=#{companyId} + and a.fn_id in <foreach collection="list" index="index" item="item" open="(" + separator="," close=")"> + #{item} + </foreach> + </delete> + + + <!-- 分页查询 --> <select id="selectInPage" resultMap="SysRolePwoerFnMap"> select rpf_id, -- Gitblit v1.9.1