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
92a5b3f1
Commit
92a5b3f1
authored
Apr 27, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:bind when open merchant success
parent
18033f54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
service/src/main/java/com/jiejing/fitness/finance/service/merchant/impl/StudioMerchantServiceImpl.java
+3
-4
No files found.
service/src/main/java/com/jiejing/fitness/finance/service/merchant/impl/StudioMerchantServiceImpl.java
View file @
92a5b3f1
...
...
@@ -365,9 +365,8 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
}
private
void
unbindHistoryMerchant
(
StudioMerchantApply
apply
)
{
List
<
StudioMerchantApply
>
histories
=
studioMerchantApplyRpService
.
listSuccessApplyByStudioId
(
apply
.
getStudioId
());
private
void
unbindHistoryMerchant
(
Long
studioId
)
{
List
<
StudioMerchantApply
>
histories
=
studioMerchantApplyRpService
.
listSuccessApplyByStudioId
(
studioId
);
if
(
CollectionUtil
.
isEmpty
(
histories
))
{
return
;
}
...
...
@@ -385,7 +384,7 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
.
map
(
PartyToMerchant:
:
getMerchantId
).
orElse
(
null
);
// 1. 解绑该场馆进件的历史商户所关联的所有其他场馆和品牌
this
.
unbindHistoryMerchant
(
apply
);
this
.
unbindHistoryMerchant
(
apply
.
getStudioId
()
);
// 2. 绑定场馆
this
.
bind
(
apply
.
getStudioId
(),
event
.
getMerchantId
(),
false
);
...
...
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