处理问题

This commit is contained in:
wanggeng 2022-09-26 23:39:57 +08:00
parent dd83638c78
commit 9501db8495

View File

@ -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)));
}
}