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
QianQiXiang
haoban-manage3.0
Commits
f3fa7b07
Commit
f3fa7b07
authored
Jun 02, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
8d54989a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
StaffDTO.java
...src/main/java/com/gic/haoban/manage/api/dto/StaffDTO.java
+11
-1
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+2
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/StaffDTO.java
View file @
f3fa7b07
...
...
@@ -57,10 +57,20 @@ public class StaffDTO implements Serializable{
private
Boolean
weixinPush
;
private
long
memberCount
;
private
String
clerkId
;
private
static
final
long
serialVersionUID
=
1L
;
public
int
getClerkType
()
{
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
;
}
public
int
getClerkType
()
{
return
clerkType
;
}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
f3fa7b07
...
...
@@ -186,6 +186,7 @@ public class ClerkController extends WebBaseController{
for
(
StaffDTO
dto
:
resultlist
){
StaffClerkRelationDTO
staffClerkRelationDTO
=
map
.
get
(
dto
.
getStaffId
());
dto
.
setClerkCode
(
staffClerkRelationDTO
.
getClerkCode
());
dto
.
setClerkId
(
staffClerkRelationDTO
.
getClerkId
());
if
(
size
<
20
){
ClerkDTO
clerk
=
clerkService
.
getClerkByClerkCode
(
staffClerkRelationDTO
.
getEnterpriseId
(),
staffClerkRelationDTO
.
getClerkCode
());
if
(
clerk
!=
null
){
...
...
@@ -359,7 +360,7 @@ public class ClerkController extends WebBaseController{
//删除店员
@HttpLimit
@RequestMapping
(
"/staff-del"
)
public
HaobanResponse
staffDel
(
String
staffDepartmentRelatedIds
,
String
wxEnterpriseId
,
String
storeId
,
Integer
version
,
String
clerkIds
,
String
staffId
)
{
public
HaobanResponse
staffDel
(
String
wxEnterpriseId
,
String
storeId
,
Integer
version
,
String
clerkIds
,
String
staffId
)
{
if
(
version
!=
null
&&
version
==
1
){
AuditSettingDTO
dto
=
auditSettingApiService
.
findSettingByWxEnterpriseId
(
wxEnterpriseId
);
if
(
dto
.
getClerkChangeFlag
()
==
1
){
...
...
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