|
@@ -107,7 +107,7 @@ public class StationService {
|
|
|
return datas;
|
|
|
}
|
|
|
QueryWrapper<CareStation> queryWrapper = new QueryWrapper<>();
|
|
|
- queryWrapper.lambda().eq(CareStation::getOrgId,loginUser.getOrgId());
|
|
|
+ queryWrapper.lambda().eq(loginUser.getOrgId()!=null,CareStation::getOrgId,loginUser.getOrgId());
|
|
|
queryWrapper.lambda().eq(loginUser.getStationId()!=null,CareStation::getId,loginUser.getStationId());
|
|
|
List<CareStation> stations = this.careStationService.list(queryWrapper);
|
|
|
if (CollUtil.isNotEmpty(stations)){
|