Commit 0ec77e3e by 程裕兵

feat:unbind all

parent 551c23dc
...@@ -288,8 +288,8 @@ public class StudioMerchantServiceImpl implements StudioMerchantService { ...@@ -288,8 +288,8 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
// 1. 绑定场馆 // 1. 绑定场馆
this.bind(apply.getStudioId(), event.getMerchantId(), false); this.bind(apply.getStudioId(), event.getMerchantId(), false);
// 1.1 解绑掉绑定了老商户号的所有场馆 // 1.1 场馆商户发生了变更,解绑掉绑定了老商户号的所有场馆
if (null != old) { if (null != old && !old.getMerchantId().equals(event.getMerchantId())) {
this.unbindAll(old.getMerchantId()); this.unbindAll(old.getMerchantId());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment