Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李丛阳
education
Commits
c3aff7d7
Commit
c3aff7d7
authored
Jul 12, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 菜单外链 返回push标志
parent
accea26a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
MenuDTO.java
.../java/org/rcisoft/business/bexternallink/dto/MenuDTO.java
+5
-3
SysUserMapper.java
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
+3
-3
No files found.
src/main/java/org/rcisoft/business/bexternallink/dto/MenuDTO.java
View file @
c3aff7d7
...
@@ -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
;
}
}
src/main/java/org/rcisoft/sys/user/dao/SysUserMapper.java
View file @
c3aff7d7
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment