dao/src/main/resources/mapper/MenuMapper.xml
@@ -62,4 +62,19 @@ ORDER BY t1.seq ASC </select> <select id="getUserPermissionListById" resultType="com.sandu.ximon.dao.domain.Menu"> SELECT * FROM menu t1 <where> <if test="menuIds != null"> t1.id IN <foreach collection="menuIds" open="(" close=")" item="id" separator=","> #{id} </foreach> </if> </where> </select> </mapper>