处理网格绘制问题

This commit is contained in:
wanggeng 2022-02-11 16:23:12 +08:00
parent e2040cd2ca
commit ff5c06ec45

View File

@ -569,7 +569,7 @@ public class GridServiceImpl extends DefaultBaseService implements IGridService
*/
private String getSaveGridCode(String areaCode) {
GridPO areaLastPO = getAreaLastPO(areaCode);
return areaLastPO == null ? String.format("%s001", areaLastPO.getAreaCode().substring(0, 12)) : String.valueOf(Long.valueOf(areaLastPO.getGridCode()) + 1);
return areaLastPO == null ? String.format("%s001", areaCode.substring(0, 12)) : String.valueOf(Long.valueOf(areaLastPO.getGridCode()) + 1);
}
/**