fix
Helius
2021-07-14 a8560eb20f89c32e9c2cdb3e137ece2fa3c10ec4
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xzx.gc.role.mapper.CoreMenuMapper">
    <update id="clearMenuFunction" parameterType="java.util.List">
        update core_menu set FUNCTION_ID=null where FUNCTION_ID in
        <foreach collection="functionIds" index="index" item="id" open="(" separator="," close=")">
            #{id}
        </foreach>
    </update>
    <select id="allMenuWithURL" resultType="com.xzx.gc.entity.CoreMenu">
         select m.*,f.access_url from core_menu m left join core_function  f on m.function_id=f.id
    </select>
</mapper>