|
@@ -200,8 +200,14 @@ public class BillRuleServiceImpl implements BillRuleService {
|
|
}else{
|
|
}else{
|
|
if(loginUser.getStoreId()!=null) {
|
|
if(loginUser.getStoreId()!=null) {
|
|
//需要改
|
|
//需要改
|
|
- StoreRespVO store = distributorMapper.selectStore(loginUser.getStoreId());
|
|
|
|
- storeList.add(store);
|
|
|
|
|
|
+ try {
|
|
|
|
+ StoreRespVO store = distributorMapper.selectStore(loginUser.getStoreId());
|
|
|
|
+ if (store != null) {
|
|
|
|
+ storeList.add(store);
|
|
|
|
+ }
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+ return storeList;
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
storeList = distributorMapper.selectDistributorStore(loginUser.getDistributorId());
|
|
storeList = distributorMapper.selectDistributorStore(loginUser.getDistributorId());
|
|
}
|
|
}
|