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
3ca80fe1
Commit
3ca80fe1
authored
Oct 13, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:审核展示修改
parent
cd895823
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
AuditController.java
...com/gic/haoban/manage/web/controller/AuditController.java
+11
-0
AuditController.java
...com/gic/haoban/manage/web/controller/AuditController.java
+2
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/AuditController.java
View file @
3ca80fe1
...
@@ -2,6 +2,8 @@ package com.gic.haoban.manage.web.controller;
...
@@ -2,6 +2,8 @@ package com.gic.haoban.manage.web.controller;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
import
com.gic.clerk.api.dto.ClerkDTO
;
import
com.gic.clerk.api.service.ClerkService
;
import
com.gic.enterprise.api.dto.StoreDTO
;
import
com.gic.enterprise.api.dto.StoreDTO
;
import
com.gic.enterprise.api.service.StoreService
;
import
com.gic.enterprise.api.service.StoreService
;
import
com.gic.haoban.base.api.common.BasePageInfo
;
import
com.gic.haoban.base.api.common.BasePageInfo
;
...
@@ -42,6 +44,8 @@ public class AuditController extends WebBaseController {
...
@@ -42,6 +44,8 @@ public class AuditController extends WebBaseController {
private
StaffApiService
staffApiService
;
private
StaffApiService
staffApiService
;
@Autowired
@Autowired
private
StoreService
storeService
;
private
StoreService
storeService
;
@Autowired
private
ClerkService
clerkService
;
//设置保存
//设置保存
@HttpLimit
@HttpLimit
...
@@ -130,7 +134,14 @@ public class AuditController extends WebBaseController {
...
@@ -130,7 +134,14 @@ public class AuditController extends WebBaseController {
AuditStaffDTO
oldAuditStaffDTO
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
AuditStaffDTO
oldAuditStaffDTO
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
String
staffName
=
oldAuditStaffDTO
.
getStaffName
();
String
staffName
=
oldAuditStaffDTO
.
getStaffName
();
String
clerkCode
=
oldAuditStaffDTO
.
getClerkCode
();
String
clerkCode
=
oldAuditStaffDTO
.
getClerkCode
();
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkId
(
oldAuditStaffDTO
.
getClerkId
());
String
detail
=
staffName
+
"申请关联导购code:"
+
clerkCode
;
String
detail
=
staffName
+
"申请关联导购code:"
+
clerkCode
;
if
(
clerkDTO
!=
null
)
{
Integer
clerkType
=
clerkDTO
.
getClerkType
();
if
(
clerkType
==
2
)
{
detail
=
staffName
+
"申请关联区经code:"
+
clerkCode
;
}
}
dto
.
setDetail
(
detail
);
dto
.
setDetail
(
detail
);
}
else
if
(
dto
.
getAuditType
()
!=
null
&&
dto
.
getAuditType
()
==
5
)
{
}
else
if
(
dto
.
getAuditType
()
!=
null
&&
dto
.
getAuditType
()
==
5
)
{
//门店导购解绑
//门店导购解绑
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/AuditController.java
View file @
3ca80fe1
...
@@ -59,12 +59,12 @@ public class AuditController extends WebBaseController {
...
@@ -59,12 +59,12 @@ public class AuditController extends WebBaseController {
//关联记录列表
//关联记录列表
@RequestMapping
(
"clerk-apply-list"
)
@RequestMapping
(
"clerk-apply-list"
)
public
HaobanResponse
staffStoreList
(
String
staffId
,
Integer
auditType
,
Integer
auditStatus
,
String
wxEnterpriseId
,
BasePageInfo
pageInfo
)
{
public
HaobanResponse
staffStoreList
(
String
staffId
,
Integer
auditType
,
Integer
auditStatus
,
String
enterpriseId
,
String
wxEnterpriseId
,
BasePageInfo
pageInfo
)
{
if
(
StringUtils
.
isAnyBlank
(
staffId
,
wxEnterpriseId
))
{
if
(
StringUtils
.
isAnyBlank
(
staffId
,
wxEnterpriseId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
Page
<
AuditDTO
>
page
=
auditApiService
.
listByStaffId
(
staffId
,
auditType
,
auditStatus
,
pageInfo
);
Page
<
AuditDTO
>
page
=
auditApiService
.
listByStaffId
(
staffId
,
auditType
,
auditStatus
,
enterpriseId
,
pageInfo
);
List
<
AuditDTO
>
list
=
page
.
getResult
();
List
<
AuditDTO
>
list
=
page
.
getResult
();
List
<
AuditVO
>
voList
=
new
ArrayList
<
AuditVO
>();
List
<
AuditVO
>
voList
=
new
ArrayList
<
AuditVO
>();
for
(
AuditDTO
auditDTO
:
list
)
{
for
(
AuditDTO
auditDTO
:
list
)
{
...
...
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