Commit 454891c7 authored by luzhuang's avatar luzhuang

fix: 菜单问题

parent 487f68ba
...@@ -317,7 +317,7 @@ public interface SysUserMapper extends BaseMapper<SysUser> { ...@@ -317,7 +317,7 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
@Select("<script>select title menuName,external_url url,mobile_logo mobileLogo ,computer_logo computerLogo ,type " + @Select("<script>select title menuName,external_url url,mobile_logo mobileLogo ,computer_logo computerLogo ,type " +
"from b_external_link where 1=1 " + "from b_external_link where 1=1 " +
"<if test=\"type !=null \"> and type in ('1',${type}) </if>" + "<if test=\"type != null and type != '' \"> and type in ('1',#{type}) </if>" +
" and corp_id = #{corpId} " + " and corp_id = #{corpId} " +
" and del_flag !=1 and flag = 1 ORDER BY sort </script>") " and del_flag !=1 and flag = 1 ORDER BY sort </script>")
List<MenuDTO> getReadingMenu(@Param("type") String type, @Param("corpId") String corpId); List<MenuDTO> getReadingMenu(@Param("type") String type, @Param("corpId") String corpId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment