From f6efc8f177cac9aa04a4cd4a99b0d39171fe4e79 Mon Sep 17 00:00:00 2001
From: zhouxiantao <1026371446@qq.com>
Date: Thu, 24 Oct 2024 19:47:04 +0800
Subject: [PATCH] fix:解纷态势-兼容化解结果和状态不一致数据
---
dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/controller/wechat/SyregionWechatController.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/controller/wechat/SyregionWechatController.java b/dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/controller/wechat/SyregionWechatController.java
index b7b0228..6b01f3e 100644
--- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/controller/wechat/SyregionWechatController.java
+++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/controller/wechat/SyregionWechatController.java
@@ -1,10 +1,9 @@
package cn.huge.module.kind.controller.wechat;
-import cn.huge.base.common.constant.GzAreaEnum;
+import cn.huge.base.common.constant.GzRegionEnum;
import cn.huge.base.common.utils.*;
import cn.huge.module.kind.domain.po.SyRegion;
import cn.huge.module.kind.service.SyRegionService;
-import cn.huge.module.sys.dto.QueAddrBaseDTO;
import cn.huge.module.utils.BaiduMapAddrDTO;
import cn.huge.module.utils.BaiduMapUtils;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
@@ -55,7 +54,7 @@
syRegionQueryWrapper.like("name", baiduMapAddrDTO.getDistrict());
SyRegion district = service.getOne(syRegionQueryWrapper);
if (ObjectUtils.isNotEmpty(district)) {
- if (GzAreaEnum.GZAREAEnum_7.getIndex().equals(district.getId())) {
+ if (GzRegionEnum.AREA_7.getIndex().equals(district.getId())) {
return ReturnSucUtils.getRepInfo(true);
} else {
return ReturnSucUtils.getRepInfo("反映诉求服务目前仅支持纠纷发生地为白云区内的申请。", false);
--
Gitblit v1.8.0