Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
8c2c65fa
Commit
8c2c65fa
authored
Mar 31, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
3f28107b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
0 deletions
+81
-0
AuditController.java
...com/gic/haoban/manage/web/controller/AuditController.java
+16
-0
StaffVO.java
...b/src/main/java/com/gic/haoban/manage/web/vo/StaffVO.java
+65
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/AuditController.java
View file @
8c2c65fa
...
...
@@ -20,6 +20,7 @@ import com.gic.haoban.manage.api.service.ApplicationSettingApiService;
import
com.gic.haoban.manage.api.service.AuditApiService
;
import
com.gic.haoban.manage.api.service.AuditSettingApiService
;
import
com.gic.haoban.manage.api.service.DepartmentApiService
;
import
com.gic.haoban.manage.api.service.StaffApiService
;
import
com.gic.haoban.manage.api.service.WxApplicationApiService
;
import
com.gic.haoban.manage.api.service.WxEnterpriseApiService
;
import
com.gic.haoban.manage.web.anno.IgnoreLogin
;
...
...
@@ -51,6 +52,8 @@ public class AuditController extends WebBaseController{
@Autowired
private
AuditApiService
auditApiService
;
@Autowired
private
StaffApiService
staffApiService
;
@Autowired
private
StoreService
storeService
;
//设置保存
...
...
@@ -123,6 +126,19 @@ public class AuditController extends WebBaseController{
page
.
setResult
(
list
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
page
);
}
//获取详情
@RequestMapping
(
"get-staff-detail"
)
public
HaobanResponse
getStaffDetail
(
String
staffId
)
{
if
(
StringUtils
.
isAnyBlank
(
staffId
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
StaffDTO
staffDTO
=
staffApiService
.
selectById
(
staffId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
staffDTO
);
}
//审核拒绝
@RequestMapping
(
"refuse"
)
public
HaobanResponse
refuse
(
String
auditId
,
String
auditReason
)
{
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/vo/StaffVO.java
0 → 100644
View file @
8c2c65fa
package
com
.
gic
.
haoban
.
manage
.
web
.
vo
;
import
java.io.Serializable
;
import
com.gic.haoban.manage.api.dto.StaffDTO
;
public
class
StaffVO
implements
Serializable
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
private
String
staffName
;
private
String
phoneNumber
;
private
String
nationCode
;
private
String
postion
;
private
String
departmentName
;
public
String
getStaffName
()
{
return
staffName
;
}
public
void
setStaffName
(
String
staffName
)
{
this
.
staffName
=
staffName
;
}
public
String
getPhoneNumber
()
{
return
phoneNumber
;
}
public
void
setPhoneNumber
(
String
phoneNumber
)
{
this
.
phoneNumber
=
phoneNumber
;
}
public
String
getNationCode
()
{
return
nationCode
;
}
public
void
setNationCode
(
String
nationCode
)
{
this
.
nationCode
=
nationCode
;
}
public
String
getPostion
()
{
return
postion
;
}
public
void
setPostion
(
String
postion
)
{
this
.
postion
=
postion
;
}
public
String
getDepartmentName
()
{
return
departmentName
;
}
public
void
setDepartmentName
(
String
departmentName
)
{
this
.
departmentName
=
departmentName
;
}
}
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