Commit c2ba4d5e by zhiwj

修改门店分组策略

parent 5a814681
......@@ -379,8 +379,10 @@ public class StoreApiServiceImpl implements StoreApiService {
storeDTO.setStoreGroupId(Integer.valueOf(groupId));
} else {
// 未命中
TabStoreGroup group = storeGroupService.selectUnGroupedStore(storeDTO.getEnterpriseId());
storeDTO.setStoreGroupId(group.getStoreGroupId());
if (storeDTO.getStoreGroupId() != null) {
TabStoreGroup group = storeGroupService.selectUnGroupedStore(storeDTO.getEnterpriseId());
storeDTO.setStoreGroupId(group.getStoreGroupId());
}
}
}
return null;
......
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