|
@@ -41,7 +41,7 @@ public class BaseFacilityTypeServiceImpl extends AbstractCrudService<BaseFacilit
|
|
|
public List<BaseGgpFacilityTypeVO> typeInfo() {
|
|
|
List<BaseGgpFacilityTypeVO> list = new ArrayList<>();
|
|
|
LambdaQueryWrapper<BaseFacilityType> queryWrapper = Wrappers.lambdaQuery();
|
|
|
- queryWrapper.eq(BaseFacilityType::getTenantId, SecurityUtils.getTenantId());
|
|
|
+// queryWrapper.eq(BaseFacilityType::getTenantId, SecurityUtils.getTenantId());
|
|
|
List<BaseFacilityType> list1 = this.list(queryWrapper);
|
|
|
Integer typeNum = baseMapper.selectCount(queryWrapper);
|
|
|
if (CollectionUtils.isNotEmpty(list1)) {
|
|
@@ -101,7 +101,7 @@ public class BaseFacilityTypeServiceImpl extends AbstractCrudService<BaseFacilit
|
|
|
typeName)
|
|
|
.eq(StringUtils.isNotBlank(typeCode),BaseFacilityType::getTypeCode,
|
|
|
typeCode)
|
|
|
- .eq(BaseFacilityType::getTenantId, SecurityUtils.getTenantId())
|
|
|
+// .eq(BaseFacilityType::getTenantId, SecurityUtils.getTenantId())
|
|
|
.orderByDesc(BaseFacilityType::getId);
|
|
|
page = this.page(page,lambdaQuery);
|
|
|
return new CommonPage<>(page.getRecords(),page.getTotal(),page.getCurrent(),page.getSize());
|
|
@@ -109,8 +109,8 @@ public class BaseFacilityTypeServiceImpl extends AbstractCrudService<BaseFacilit
|
|
|
@Override
|
|
|
public List<BaseFacilityType> typeSelect(Integer id) {
|
|
|
LambdaQueryWrapper<BaseFacilityType> lambdaQuery = Wrappers.lambdaQuery();
|
|
|
- lambdaQuery.eq(null != id,BaseFacilityType::getId,id)
|
|
|
- .eq(BaseFacilityType::getTenantId, SecurityUtils.getTenantId());
|
|
|
+ lambdaQuery.eq(null != id,BaseFacilityType::getId,id);
|
|
|
+// .eq(BaseFacilityType::getTenantId, SecurityUtils.getTenantId());
|
|
|
List<BaseFacilityType> list1 = this.list(lambdaQuery);
|
|
|
return list1;
|
|
|
}
|