Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
36139e26
Commit
36139e26
authored
Jan 11, 2019
by
cjl
Browse files
添加注释
parent
85d96bb2
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/erp/controller/AppController.java
View file @
36139e26
...
@@ -26,7 +26,14 @@ public class AppController {
...
@@ -26,7 +26,14 @@ public class AppController {
@Resource
@Resource
private
UserBusinessService
userBusinessService
;
private
UserBusinessService
userBusinessService
;
/**
* create by: cjl
* description:
* 桌面菜单按钮初始化
* create time: 2019/1/11 17:01
* @Param: request
* @return com.alibaba.fastjson.JSONObject
*/
@GetMapping
(
value
=
"/findDesk"
)
@GetMapping
(
value
=
"/findDesk"
)
public
JSONObject
findDesk
(
HttpServletRequest
request
)
{
public
JSONObject
findDesk
(
HttpServletRequest
request
)
{
JSONObject
obj
=
new
JSONObject
();
JSONObject
obj
=
new
JSONObject
();
...
...
src/main/java/com/jsh/erp/service/app/AppService.java
View file @
36139e26
...
@@ -28,7 +28,14 @@ public class AppService {
...
@@ -28,7 +28,14 @@ public class AppService {
List
<
App
>
list
=
appMapper
.
selectByExample
(
example
);
List
<
App
>
list
=
appMapper
.
selectByExample
(
example
);
return
list
;
return
list
;
}
}
/**
* create by: cjl
* description:
* 桌面功能菜单初始化列表
* create time: 2019/1/11 16:59
* @Param: null
* @return
*/
public
List
<
App
>
findDesk
(){
public
List
<
App
>
findDesk
(){
AppExample
example
=
new
AppExample
();
AppExample
example
=
new
AppExample
();
example
.
createCriteria
().
andZlEqualTo
(
"desk"
).
andEnabledEqualTo
(
true
);
example
.
createCriteria
().
andZlEqualTo
(
"desk"
).
andEnabledEqualTo
(
true
);
...
...
Write
Preview
Supports
Markdown
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