|
|
@@ -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()) |