Commit fc388ef1 by fudahua

Merge branch 'fix-6-25' into 'master'

Fix 6 25

See merge request haoban3.0/haoban-manage3.0!108
parents c848116f 12ba0629
...@@ -150,6 +150,11 @@ public class StoreRangeServiceImpl implements StoreRangeService { ...@@ -150,6 +150,11 @@ public class StoreRangeServiceImpl implements StoreRangeService {
needAddStoreIds.addAll(needAdd); needAddStoreIds.addAll(needAdd);
} }
}); });
newStoreIdBywxEnterpriseMap.forEach((wid, newStoreIds) -> {
if (!oldStoreIdBywxEnterpriseMap.containsKey(wid)) {
needAddStoreIds.addAll(newStoreIds);
}
});
//这些门店解除绑定 //这些门店解除绑定
staffClerkRelationService.delBindByStoreIds(null, needUnBindStoreIds, optStaffId, channelCode); staffClerkRelationService.delBindByStoreIds(null, needUnBindStoreIds, optStaffId, channelCode);
//批量处理关联关系 //批量处理关联关系
......
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