From 02e5ff85028e1c51f318e641238001658aa3956d Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Mon, 25 Jul 2022 15:47:06 +0800 Subject: [PATCH] gridLevel String --- .../java/com/epmet/opendata/dao/GridInfoPingyinDao.java | 2 +- .../com/epmet/opendata/entity/GridInfoPingyinEntity.java | 2 +- .../opendata/service/impl/GridInfoPingyinServiceImpl.java | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/GridInfoPingyinDao.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/GridInfoPingyinDao.java index 986b8f2ff7..0aae21b99f 100755 --- a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/GridInfoPingyinDao.java +++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/dao/GridInfoPingyinDao.java @@ -25,7 +25,7 @@ public interface GridInfoPingyinDao extends BaseDao { int updateSomeCol(@Param("gridCode") String gridCode, @Param("gridName")String gridName, - @Param("gridLevel")Integer gridLevel, + @Param("gridLevel")String gridLevel, @Param("lng")BigDecimal lng, @Param("lat")BigDecimal lat); diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/GridInfoPingyinEntity.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/GridInfoPingyinEntity.java index 9f64f9175d..d469072534 100755 --- a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/GridInfoPingyinEntity.java +++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/entity/GridInfoPingyinEntity.java @@ -43,7 +43,7 @@ public class GridInfoPingyinEntity { /** * 网格层级,应符合10.1组织层级,所有层级上报 */ - private Integer gridLevel; + private String gridLevel; /** * 专属网格类型,应符合10.28专属网格类型 diff --git a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GridInfoPingyinServiceImpl.java b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GridInfoPingyinServiceImpl.java index 2f54aecee6..18c2f11420 100755 --- a/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GridInfoPingyinServiceImpl.java +++ b/epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GridInfoPingyinServiceImpl.java @@ -72,11 +72,11 @@ public class GridInfoPingyinServiceImpl extends BaseServiceImpl 10) { entity.setLat(new BigDecimal(ag.getLatitude().substring(0, 10))); } else {