Commit c3aff7d7 authored by luzhuang's avatar luzhuang

fix: 菜单外链 返回push标志

parent accea26a
...@@ -12,9 +12,11 @@ public class MenuDTO { ...@@ -12,9 +12,11 @@ public class MenuDTO {
public String url; public String url;
public String mobileLogo; public String mobileLogo;
public String computerLogo; public String computerLogo;
public String type; public String type;
public String isPush;
} }
...@@ -315,10 +315,10 @@ public interface SysUserMapper extends BaseMapper<SysUser> { ...@@ -315,10 +315,10 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
int getUserflag (CurUser curUser); int getUserflag (CurUser curUser);
@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 ,is_push isPush " +
"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 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