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
66490fbb
Commit
66490fbb
authored
Apr 12, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:离职继承bug修改
parent
64aafc3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
StaffClerkRelationServiceImpl.java
...e/service/service/impl/StaffClerkRelationServiceImpl.java
+12
-13
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/StaffClerkRelationServiceImpl.java
View file @
66490fbb
...
...
@@ -150,13 +150,13 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
dto
.
setStatusFlag
(
1
);
dto
.
setCreateTime
(
new
Date
());
dto
.
setUpdateTime
(
new
Date
());
int
insert
=
mapper
.
insert
(
EntityUtil
.
changeEntityByJSON
(
TabHaobanStaffClerkRelation
.
class
,
dto
));
// setMainStore(dto);
String
s
=
insert
>
0
?
dto
.
getStaffClerkRelationId
()
:
null
;
if
(
null
!=
s
)
{
String
staffId
=
dto
.
getStaffId
();
clerkMainStoreRelatedService
.
getMainStoreByStaffId
(
staffId
,
dto
.
getWxEnterpriseId
());
//推入日志
staffClerkBindLogService
.
pushToMq
(
dto
.
getStaffId
()
,
optStaffId
,
BindTypeEnum
.
BIND
.
getVal
(),
chanelCode
,
dto
.
getStaffClerkRelationId
());
staffClerkBindLogService
.
pushToMq
(
staffId
,
optStaffId
,
BindTypeEnum
.
BIND
.
getVal
(),
chanelCode
,
dto
.
getStaffClerkRelationId
());
}
return
s
;
}
...
...
@@ -184,7 +184,6 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
}
@Override
public
String
insert
(
StaffClerkRelationDTO
staffClerkRelation
)
{
String
uuid
=
StringUtil
.
randomUUID
();
...
...
@@ -228,7 +227,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
}
@Override
public
StaffClerkRelationDTO
getByClerkIdNoStatus
(
String
clerkId
){
public
StaffClerkRelationDTO
getByClerkIdNoStatus
(
String
clerkId
)
{
return
EntityUtil
.
changeEntityByJSON
(
StaffClerkRelationDTO
.
class
,
mapper
.
getByClerkIdNoStatus
(
clerkId
));
}
...
...
@@ -259,18 +258,18 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
return
chatConfig
;
}
@Override
public
List
<
TabHaobanStaffClerkRelation
>
listByWxEnterpriseId
(
String
wxEnterpriseId
)
{
return
mapper
.
listByWxEnterpriseId
(
wxEnterpriseId
);
}
@Override
public
List
<
TabHaobanStaffClerkRelation
>
listByWxEnterpriseId
(
String
wxEnterpriseId
)
{
return
mapper
.
listByWxEnterpriseId
(
wxEnterpriseId
);
}
@Override
public
Page
<
StaffClerkRelationDTO
>
pageByWxEnterpriseId
(
String
wxEnterpriseId
,
BasePageInfo
pageInfo
)
{
PageHelper
.
startPage
(
pageInfo
);
@Override
public
Page
<
StaffClerkRelationDTO
>
pageByWxEnterpriseId
(
String
wxEnterpriseId
,
BasePageInfo
pageInfo
)
{
PageHelper
.
startPage
(
pageInfo
);
List
<
TabHaobanStaffClerkRelation
>
clerkBindList
=
mapper
.
pageByWxEnterpriseId
(
wxEnterpriseId
);
Page
<
StaffClerkRelationDTO
>
retPage
=
PageUtil
.
changePageHelperToCurrentPage
(
new
PageInfo
<>(
clerkBindList
),
StaffClerkRelationDTO
.
class
);
return
retPage
;
}
}
@Override
public
List
<
StaffClerkRelationDTO
>
listBindByStoreId
(
String
wxEnterpriseId
,
String
storeId
)
{
...
...
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