Browse Source

删除状态默认为N

master
jianjun 3 years ago
parent
commit
f23b9f9ec3
  1. 1
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GridInfoPingyinServiceImpl.java

1
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GridInfoPingyinServiceImpl.java

@ -163,6 +163,7 @@ public class GridInfoPingyinServiceImpl extends BaseServiceImpl<GridInfoPingyinD
entity.setGridCode(ag.getCode());
entity.setGridName(ag.getGridName());
entity.setGridLevel("07");
entity.setIsDel("N");
if (ag.getLatitude().length() > 10) {
entity.setLat(new BigDecimal(ag.getLatitude().substring(0, 10)));
} else {

Loading…
Cancel
Save