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
6359ae6e
Commit
6359ae6e
authored
Apr 01, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:设置主门店bug修复
parent
ab54fbeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ClerkMainStoreRelatedService.java
.../manage/service/service/ClerkMainStoreRelatedService.java
+3
-3
ClerkMainStoreRelatedServiceImpl.java
...ervice/service/impl/ClerkMainStoreRelatedServiceImpl.java
+3
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/ClerkMainStoreRelatedService.java
View file @
6359ae6e
package
com
.
gic
.
haoban
.
manage
.
service
.
service
;
import
com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated
;
import
java.util.List
;
import
java.util.Set
;
import
com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated
;
public
interface
ClerkMainStoreRelatedService
{
void
setMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
);
...
...
@@ -27,7 +27,7 @@ public interface ClerkMainStoreRelatedService {
* @param storeId
* @param wxEnterpriseId
*/
voi
d
delMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
);
TabHaobanClerkMainStoreRelate
d
delMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
);
/**
* 根据门店列表 删除主门店
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/ClerkMainStoreRelatedServiceImpl.java
View file @
6359ae6e
...
...
@@ -84,7 +84,7 @@ public class ClerkMainStoreRelatedServiceImpl implements ClerkMainStoreRelatedSe
StaffClerkRelationDTO
staffClerkRelationDTO
=
staffClerkRelationService
.
getOneBindByStoreId
(
staffId
,
storeId
);
if
(
staffClerkRelationDTO
==
null
)
{
logger
.
info
(
"该主门店无绑定关系,重新绑定,staffId:{},storeId:{}"
,
staffId
,
storeId
);
delMainStore
(
staffId
,
storeId
,
wxEnterpriseId
);
return
delMainStore
(
staffId
,
storeId
,
wxEnterpriseId
);
}
return
mainStoreRelated
;
}
...
...
@@ -116,13 +116,13 @@ public class ClerkMainStoreRelatedServiceImpl implements ClerkMainStoreRelatedSe
}
@Override
public
voi
d
delMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
)
{
public
TabHaobanClerkMainStoreRelate
d
delMainStore
(
String
staffId
,
String
storeId
,
String
wxEnterpriseId
)
{
//删除主门店
mapper
.
delMainStore
(
staffId
,
storeId
,
wxEnterpriseId
);
//删除主门店外部联系人 好友
externalClerkRelatedService
.
delByStoreIdAndStaffId
(
storeId
,
staffId
);
//设置主门店
this
.
setStaffMainStore
(
staffId
,
wxEnterpriseId
);
return
this
.
setStaffMainStore
(
staffId
,
wxEnterpriseId
);
}
@Override
...
...
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