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
20b4f4e7
Commit
20b4f4e7
authored
Aug 23, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区间删导购
parent
ec5c0095
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+7
-10
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
20b4f4e7
...
@@ -537,27 +537,23 @@ public class WxStaffController extends WebBaseController {
...
@@ -537,27 +537,23 @@ public class WxStaffController extends WebBaseController {
if
(
StringUtils
.
isAnyBlank
(
clerkIds
))
{
if
(
StringUtils
.
isAnyBlank
(
clerkIds
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
com
.
gic
.
enterprise
.
api
.
dto
.
StoreDTO
store
=
storeService
.
getStoreByIdNoStatus
(
storeId
);
// 校验手机是否唯一
if
(
store
==
null
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_400001
);
}
AuditSettingDTO
dto
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
AuditSettingDTO
dto
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
if
(
dto
.
getClerkChangeFlag
()
==
1
)
{
if
(
dto
.
getClerkChangeFlag
()
==
1
)
{
// 需要审核
// 需要审核
String
[]
clerkIdArr
=
clerkIds
.
split
(
","
);
String
[]
clerkIdArr
=
clerkIds
.
split
(
","
);
for
(
String
clerkId
:
clerkIdArr
)
{
for
(
String
clerkId
:
clerkIdArr
)
{
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkId
(
clerkId
);
if
(
clerkDTO
==
null
)
{
logger
.
info
(
"导购不存在"
,
clerkId
);
continue
;
}
com
.
gic
.
enterprise
.
api
.
dto
.
StoreDTO
store
=
storeService
.
getStoreByIdNoStatus
(
storeId
);
AuditDTO
auditDTO
=
auditApiService
.
findByBindRelatedIdAndAuditType
(
clerkId
,
AuditDTO
auditDTO
=
auditApiService
.
findByBindRelatedIdAndAuditType
(
clerkId
,
AuditType
.
CLERK_DEL
.
getCode
(),
wxEnterpriseId
,
store
.
getEnterpriseId
());
AuditType
.
CLERK_DEL
.
getCode
(),
wxEnterpriseId
,
store
.
getEnterpriseId
());
if
(
auditDTO
!=
null
)
{
if
(
auditDTO
!=
null
)
{
logger
.
info
(
"已经存在了审核记录,待审核{}"
,
clerkId
);
logger
.
info
(
"已经存在了审核记录,待审核{}"
,
clerkId
);
continue
;
continue
;
}
}
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkId
(
clerkId
);
if
(
clerkDTO
==
null
)
{
logger
.
info
(
"导购不存在"
,
clerkId
);
continue
;
}
StaffDTO
staff
=
staffApiService
.
selectById
(
staffId
);
StaffDTO
staff
=
staffApiService
.
selectById
(
staffId
);
AuditDTO
audit
=
new
AuditDTO
();
AuditDTO
audit
=
new
AuditDTO
();
audit
.
setCommitStaffName
(
staff
.
getStaffName
());
audit
.
setCommitStaffName
(
staff
.
getStaffName
());
...
@@ -597,6 +593,7 @@ public class WxStaffController extends WebBaseController {
...
@@ -597,6 +593,7 @@ public class WxStaffController extends WebBaseController {
continue
;
continue
;
}
}
}
}
com
.
gic
.
enterprise
.
api
.
dto
.
StoreDTO
store
=
storeService
.
getStoreByIdNoStatus
(
storeId
);
StaffDTO
staff
=
staffApiService
.
selectById
(
staffId
);
StaffDTO
staff
=
staffApiService
.
selectById
(
staffId
);
AuditDTO
audit
=
new
AuditDTO
();
AuditDTO
audit
=
new
AuditDTO
();
audit
.
setCommitStaffName
(
staff
.
getStaffName
());
audit
.
setCommitStaffName
(
staff
.
getStaffName
());
...
...
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