From 8b7ce95e1f486603247f5cae882c4595e351af21 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 23 四月 2024 17:04:56 +0800 Subject: [PATCH] 分布式web文件子系统增加下载web文件功能 --- pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml index a452108..37fa18a 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml @@ -54,6 +54,15 @@ </if> </select> +<!-- <select id="selectByRole" resultType="com.dy.pmsGlobal.pojoBa.BaPrivilege">--> +<!-- select p.id,p.num,p.name,p.type--> +<!-- from ba_privilege p--> +<!-- inner join ba_role_privilege rp on p.id = rp.privilege_id--> +<!-- <if test="roleId != null">--> +<!-- where rp.role_id = #{roleId, jdbcType=BIGINT}--> +<!-- </if>--> +<!-- </select>--> + <insert id="insert" parameterType="com.dy.pmsGlobal.pojoBa.BaPrivilege"> @@ -123,4 +132,13 @@ delete from ba_privilege where id = #{id} </delete> + + <select id="selectByIds" parameterType="arraylist" resultMap="BaseResultMap"> + select + <include refid="Base_Column_List" /> + from ba_privilege where id in + <foreach item="id" collection="ids" open="(" separator="," close=")"> + #{id} + </foreach> + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0