From 9501db8495c74713bde0a933de51841532f30f81 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Mon, 26 Sep 2022 23:39:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cm/systemcity/service/grid/impl/GridServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cm/systemcity/service/grid/impl/GridServiceImpl.java b/src/main/java/com/cm/systemcity/service/grid/impl/GridServiceImpl.java index 7acbb8a..5f1f146 100644 --- a/src/main/java/com/cm/systemcity/service/grid/impl/GridServiceImpl.java +++ b/src/main/java/com/cm/systemcity/service/grid/impl/GridServiceImpl.java @@ -597,7 +597,7 @@ public class GridServiceImpl extends BaseService implements IGridService { return areaCode + String.format("%03d", Integer.parseInt(areaLastPO.getGridCode().substring(areaLastPO.getGridCode().length() - 4)) + 1); } // 网格编码存在不更改 - return areaCode + String.format("%03d", Integer.parseInt(gridCode.substring(gridCode.length() - 4))); + return areaCode + String.format("%03d", Integer.parseInt(gridCode.substring(gridCode.length() - 3))); } }