Browse Source

朋友圈 只查询审核通过的数据

tags/V1.6.0^2
wanghaoran 1 year ago
parent
commit
197d55bc06
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamSceneryServiceImpl.java

+ 1
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamSceneryServiceImpl.java View File

@@ -48,6 +48,7 @@ public class WestreamSceneryServiceImpl extends BaseServiceImpl<WestreamSceneryM
IPage<WestreamScenery> page = new Page<>(query.getPage(), query.getLimit());
IPage<WestreamScenery> pageData = westreamSceneryMapper.selectPage(page, new LambdaQueryWrapper<WestreamScenery>()
.eq(WestreamScenery::getMark, 1)
.eq(WestreamScenery::getStatus,2)
.eq(StringUtils.isNotEmpty(query.getProvinceCode()), WestreamScenery::getProvinceCode, query.getProvinceCode())
.eq(StringUtils.isNotEmpty(query.getCityCode()), WestreamScenery::getCityCode, query.getCityCode())
.eq(StringUtils.isNotEmpty(query.getDistrictCode()), WestreamScenery::getDistrictCode, query.getDistrictCode())

Loading…
Cancel
Save