Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fit-finance
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fitness-server
fit-finance
Commits
dd39a2a7
Commit
dd39a2a7
authored
Apr 23, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:bind
parent
14385238
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
service/src/main/java/com/jiejing/fitness/finance/service/merchant/impl/StudioMerchantServiceImpl.java
+3
-1
No files found.
service/src/main/java/com/jiejing/fitness/finance/service/merchant/impl/StudioMerchantServiceImpl.java
View file @
dd39a2a7
...
...
@@ -288,9 +288,11 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
// 1. 绑定场馆
this
.
bind
(
apply
.
getStudioId
(),
event
.
getMerchantId
(),
false
);
// 1.1 场馆商户发生了变更,解绑掉绑定了老商户号的所有场馆
if
(
null
!=
old
&&
!
old
.
getMerchantId
().
equals
(
event
.
getMerchantId
()))
{
// 1.1 场馆商户发生了变更,解绑掉绑定了老商户号的所有场馆
this
.
unbindAll
(
old
.
getMerchantId
());
// 1.2 场馆商户发生了变更,解绑掉绑定了老商户号的品牌
brandMerchantService
.
unbind
(
apply
.
getBrandId
(),
old
.
getMerchantId
());
}
// 2. 绑定品牌
...
...
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