Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datacollector
Overview
Overview
Details
Activity
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
chenweisong
datacollector
Commits
10c676d3
Commit
10c676d3
authored
Mar 12, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟新
parent
5561de02
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
IndexCtrl.java
src/main/java/com/keymobile/rest/ctrl/IndexCtrl.java
+0
-0
UserService.java
src/main/java/com/keymobile/rest/service/UserService.java
+11
-0
ExcelForm.java
src/main/java/com/keymobile/rest/vo/ExcelForm.java
+2
-2
No files found.
src/main/java/com/keymobile/rest/ctrl/IndexCtrl.java
View file @
10c676d3
This diff is collapsed.
Click to expand it.
src/main/java/com/keymobile/rest/service/UserService.java
View file @
10c676d3
...
@@ -17,6 +17,17 @@ public class UserService {
...
@@ -17,6 +17,17 @@ public class UserService {
return
userDao
.
findAllByRole
(
role
);
return
userDao
.
findAllByRole
(
role
);
}
}
public
User
getAudit
()
{
List
<
User
>
userList
=
userDao
.
findAllByRole
(
User
.
ROLE_AUDIT
);
User
user
=
userList
.
get
(
0
);
return
user
;
}
public
User
getNormalUser
()
{
List
<
User
>
userList
=
userDao
.
findAllByRole
(
User
.
ROLE_NORMAL
);
User
user
=
userList
.
get
(
0
);
return
user
;
}
public
User
getManager
()
{
public
User
getManager
()
{
List
<
User
>
userList
=
userDao
.
findAllByRole
(
User
.
ROLE_MANAGER
);
List
<
User
>
userList
=
userDao
.
findAllByRole
(
User
.
ROLE_MANAGER
);
...
...
src/main/java/com/keymobile/rest/vo/ExcelForm.java
View file @
10c676d3
...
@@ -20,10 +20,10 @@ public class ExcelForm {
...
@@ -20,10 +20,10 @@ public class ExcelForm {
@ApiModelProperty
(
name
=
"id"
,
value
=
"表格id,修改的时候需要用到"
)
@ApiModelProperty
(
name
=
"id"
,
value
=
"表格id,修改的时候需要用到"
)
private
Long
id
;
private
Long
id
;
@ApiModelProperty
(
required
=
true
,
name
=
"userIds"
,
value
=
"补录人员ids, 用逗号隔开"
)
@ApiModelProperty
(
required
=
true
,
name
=
"userIds"
,
value
=
"补录人员ids, 用逗号隔开"
,
hidden
=
true
)
private
String
userIds
;
private
String
userIds
;
@ApiModelProperty
(
required
=
true
,
name
=
"userIdList"
,
value
=
"补录人员id集合"
,
hidden
=
true
)
@ApiModelProperty
(
required
=
true
,
name
=
"userIdList"
,
value
=
"补录人员id集合"
)
private
List
<
Long
>
userIdList
;
private
List
<
Long
>
userIdList
;
@ApiModelProperty
(
name
=
"remark"
,
value
=
"表格名称"
,
required
=
true
)
@ApiModelProperty
(
name
=
"remark"
,
value
=
"表格名称"
,
required
=
true
)
...
...
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