## Fix - 查询区域偶发带分页&查询会员盒数

This commit is contained in:
sangelxiu1 2025-06-12 20:27:19 +08:00 committed by cabbage
parent c95d15489b
commit ccec401f84
2 changed files with 6 additions and 0 deletions

View File

@ -46,7 +46,11 @@ public class ApiRetailHomePageController extends BaseController {
CuMemberRetailDataStatisticsResultVO result = retailAchieveService.getRetailDataStatisticsDetail(pkMember, pkCountry, systemType);
CuMemberRetailAchieveVO vo = CuMemberRetailAchieveVO.builder()
.totalBox(result.getTotalBoxNum())
.bigAreaBox(result.getBigRangeTotalBoxNum())
.smallAreaBox(result.getSmallRangeTotalBoxNum())
.totalSumPv(result.getTotalPv())
.bigArealPv(result.getBigRangeTotalPv())
.smallAreaPv(result.getSmallRangeTotalPv())
.build();
return AjaxResult.success(vo);
// return AjaxResult.success(retailAchieveService.selectMemberSmallBox(pkMember, pkCountry, systemType));

View File

@ -12,6 +12,7 @@ import com.hzs.common.core.annotation.RepeatSubmitSimple;
import com.hzs.common.core.config.BdConfig;
import com.hzs.common.core.constant.msg.AreaConstants;
import com.hzs.common.core.enums.*;
import com.hzs.common.core.utils.PageUtils;
import com.hzs.common.core.web.controller.BaseController;
import com.hzs.common.core.web.domain.AjaxResult;
import com.hzs.common.core.web.page.TableDataInfo;
@ -258,6 +259,7 @@ public class RetailMemberController extends BaseController {
*/
@GetMapping("/region-tree")
public AjaxResult regionTree() {
PageUtils.clearPage();
List<BdArea> areaList = iCuMemberRetailRegionService.listChooseRegion(SecurityUtils.getSystemType());
if (CollectionUtil.isEmpty(areaList)) {
log.info("region-tree: 111");