Commit 1bd83911 authored by liuyuanjun's avatar liuyuanjun

修改sql的bug

parent f6b24a2d
......@@ -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 ,is_push isPush " +
" 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 del_flag !=1 and flag = 1 ORDER BY sort </script>")
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