Commit 933ebfcc by fudahua

同步新增的bug

parent c848116f
...@@ -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