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
4986a091
Commit
4986a091
authored
Nov 07, 2019
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
栏目配置加排序
parent
2e395cd1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
BDictionaryRepository.java
...isoft/business/bdictionary/dao/BDictionaryRepository.java
+2
-1
BDictionary.java
.../org/rcisoft/business/bdictionary/entity/BDictionary.java
+2
-0
SysRoleServiceImpl.java
...org/rcisoft/sys/role/service/impl/SysRoleServiceImpl.java
+3
-0
BDictionaryMapper.xml
.../mapper/business/bdictionary/mapper/BDictionaryMapper.xml
+2
-0
No files found.
src/main/java/org/rcisoft/business/bdictionary/dao/BDictionaryRepository.java
View file @
4986a091
...
@@ -27,7 +27,8 @@ public interface BDictionaryRepository extends BaseMapper<BDictionary> {
...
@@ -27,7 +27,8 @@ public interface BDictionaryRepository extends BaseMapper<BDictionary> {
" and corp_id = #{curUser.corpId} "
+
" and corp_id = #{curUser.corpId} "
+
" <if test=\"configList != null and configList.size()>0 \">and type in "
+
" <if test=\"configList != null and configList.size()>0 \">and type in "
+
" <foreach item='item' index='index' collection='configList' open='(' separator=',' close=')'> #{item} </foreach> "
+
" <foreach item='item' index='index' collection='configList' open='(' separator=',' close=')'> #{item} </foreach> "
+
" </if>"
+
" </if> "
+
" order by sort"
+
" </script>"
)
" </script>"
)
@ResultMap
(
value
=
"BaseResultMap"
)
@ResultMap
(
value
=
"BaseResultMap"
)
List
<
BDictionary
>
findAllColumnConfig
(
@Param
(
"curUser"
)
CurUser
curUser
,
@Param
(
"configList"
)
List
<
String
>
configList
);
List
<
BDictionary
>
findAllColumnConfig
(
@Param
(
"curUser"
)
CurUser
curUser
,
@Param
(
"configList"
)
List
<
String
>
configList
);
...
...
src/main/java/org/rcisoft/business/bdictionary/entity/BDictionary.java
View file @
4986a091
...
@@ -30,6 +30,8 @@ public class BDictionary extends IdEntity<BDictionary> {
...
@@ -30,6 +30,8 @@ public class BDictionary extends IdEntity<BDictionary> {
private
String
value
;
private
String
value
;
private
int
sort
;
}
}
src/main/java/org/rcisoft/sys/role/service/impl/SysRoleServiceImpl.java
View file @
4986a091
...
@@ -291,16 +291,19 @@ public class SysRoleServiceImpl implements SysRoleService {
...
@@ -291,16 +291,19 @@ public class SysRoleServiceImpl implements SysRoleService {
bDictionary1
.
setName
(
"关注人数"
);
bDictionary1
.
setName
(
"关注人数"
);
bDictionary1
.
setType
(
"GZRS"
);
bDictionary1
.
setType
(
"GZRS"
);
bDictionary1
.
setValue
(
"5"
);
bDictionary1
.
setValue
(
"5"
);
bDictionary1
.
setSort
(
1
);
UserUtil
.
setCurrentPersistOperation
(
bDictionary1
);
UserUtil
.
setCurrentPersistOperation
(
bDictionary1
);
BDictionary
bDictionary2
=
new
BDictionary
();
BDictionary
bDictionary2
=
new
BDictionary
();
bDictionary2
.
setName
(
"在学人数"
);
bDictionary2
.
setName
(
"在学人数"
);
bDictionary2
.
setType
(
"ZXRS"
);
bDictionary2
.
setType
(
"ZXRS"
);
bDictionary2
.
setValue
(
"7"
);
bDictionary2
.
setValue
(
"7"
);
bDictionary2
.
setSort
(
2
);
UserUtil
.
setCurrentPersistOperation
(
bDictionary2
);
UserUtil
.
setCurrentPersistOperation
(
bDictionary2
);
BDictionary
bDictionary3
=
new
BDictionary
();
BDictionary
bDictionary3
=
new
BDictionary
();
bDictionary3
.
setName
(
"总裁读书会"
);
bDictionary3
.
setName
(
"总裁读书会"
);
bDictionary3
.
setType
(
"DSH"
);
bDictionary3
.
setType
(
"DSH"
);
bDictionary3
.
setValue
(
"http://www.winnerbook.com.cn/mobile/index.php?m=site"
);
bDictionary3
.
setValue
(
"http://www.winnerbook.com.cn/mobile/index.php?m=site"
);
bDictionary3
.
setSort
(
3
);
UserUtil
.
setCurrentPersistOperation
(
bDictionary3
);
UserUtil
.
setCurrentPersistOperation
(
bDictionary3
);
dictionaryList
.
add
(
bDictionary1
);
dictionaryList
.
add
(
bDictionary1
);
...
...
src/main/resources/mapper/business/bdictionary/mapper/BDictionaryMapper.xml
View file @
4986a091
...
@@ -13,6 +13,8 @@
...
@@ -13,6 +13,8 @@
<result
column=
"UPDATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"UPDATE_DATE"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"DEL_FLAG"
jdbcType=
"VARCHAR"
property=
"delFlag"
/>
<result
column=
"DEL_FLAG"
jdbcType=
"VARCHAR"
property=
"delFlag"
/>
<result
column=
"FLAG"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"FLAG"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"corp_id"
jdbcType=
"CHAR"
property=
"corpId"
/>
<result
column=
"sort"
jdbcType=
"VARCHAR"
property=
"sort"
/>
<result
column=
"REMARKS"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"REMARKS"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
</resultMap>
</resultMap>
...
...
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