|
|
|
@ -166,6 +166,10 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl<BasicdataWare
|
|
|
|
|
public List<BasicdataWarehouseEntity> getMyWarehouseList() { |
|
|
|
|
BladeUser user = AuthUtil.getUser(); |
|
|
|
|
|
|
|
|
|
if("000000".equals(user.getTenantId()) ){ |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 获取缓存中的仓库
|
|
|
|
|
List<BasicdataWarehouseEntity> results = redis.get(CacheNames.tenantKeyObj(user.getTenantId(), CacheNames.USER_WAREHOUSE_OWN, user.getUserId())); |
|
|
|
|
if(ObjectUtil.isEmpty(results)){ |
|
|
|
|