Commit e10a5b4c by fudahua

批量处理关联关系

parent cbba588f
......@@ -147,7 +147,9 @@ public class StoreRangeServiceImpl implements StoreRangeService {
return;
}
Sets.SetView<String> needAdd = Sets.difference(newStoreIds, old);
needAddStoreIds.addAll(needAdd);
if (CollectionUtils.isNotEmpty(needAdd)) {
needAddStoreIds.addAll(needAdd);
}
});
//这些门店解除绑定
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