|
|
|
@ -53,6 +53,7 @@ public class BigVisController extends BaseController {
|
|
|
|
|
List<StatCityCorpEntity> statCityCorpEntities = statCityCorpService.list(
|
|
|
|
|
new QueryWrapper<StatCityCorpEntity>()
|
|
|
|
|
.eq(StrUtil.isNotEmpty(statCityCorpRequest.getRegionCode()), "pCityCode", statCityCorpRequest.getRegionCode())
|
|
|
|
|
.eq(StrUtil.isNotEmpty(statCityCorpRequest.getCityCode()), "cityCode", statCityCorpRequest.getCityCode())
|
|
|
|
|
.orderByDesc("count"));
|
|
|
|
|
return ResultVOUtils.success(statCityCorpEntities);
|
|
|
|
|
}
|
|
|
|
@ -65,7 +66,7 @@ public class BigVisController extends BaseController {
|
|
|
|
|
|
|
|
|
|
List<StatCorpProductEntity> statCorpProductEntities = statCorpProductService.list(
|
|
|
|
|
new QueryWrapper<StatCorpProductEntity>()
|
|
|
|
|
.eq(StrUtil.isNotEmpty(statCityCorpRequest.getRegionCode()), "cityCode", statCityCorpRequest.getRegionCode())
|
|
|
|
|
.eq(!statCityCorpRequest.getRegionCode().equals("350000"), "cityCode", statCityCorpRequest.getRegionCode())
|
|
|
|
|
.orderByDesc("productCount").last("limit 10"));
|
|
|
|
|
return ResultVOUtils.success(statCorpProductEntities);
|
|
|
|
|
}
|
|
|
|
@ -94,7 +95,8 @@ public class BigVisController extends BaseController {
|
|
|
|
|
/**
|
|
|
|
|
* 企业在线统计
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/cpt/bigVis/company/online/list")
|
|
|
|
|
@GetMapping("/" +
|
|
|
|
|
"cpt/bigVis/company/online/list")
|
|
|
|
|
public BaseResponse companyOnLineList(StatCityCorpRequest statCityCorpRequest) {
|
|
|
|
|
|
|
|
|
|
if (StrUtil.isEmpty(statCityCorpRequest.getRegionCode()) || !statCityCorpRequest.getRegionCode().equals("350000")) {
|
|
|
|
|