文件名从 src/main/java/com/moon/server/entity/mn/LunarplacenaneEntity.java 修改 |
| | |
| | | @AllArgsConstructor |
| | | @TableName("mn.lunar_place_nane") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class LunarplacenaneEntity extends BaseGeoEntity { |
| | | public class LunarplacenameEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 930904387464236672L; |
| | | |
| | | private String enName; |
| | |
| | | |
| | | private Timestamp apprTime; |
| | | |
| | | public LunarplacenaneEntity() { |
| | | public LunarplacenameEntity() { |
| | | } |
| | | |
| | | public String getEnName() { |
| | |
| | | } |
| | | |
| | | int epsgId = Integer.parseInt(epsg); |
| | | if (StaticData.I4326 == epsgId || StaticData.I4490 == epsgId) { |
| | | if (StaticData.I4326 == epsgId || StaticData.I4490 == epsgId || StaticData.I104903 == epsgId) { |
| | | return null; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | SpatialReference sr = new SpatialReference(); |
| | | sr.ImportFromEPSG(null == srid ? 4490 : srid); |
| | | sr.ImportFromEPSG(null == srid ? StaticData.I104903 : srid); |
| | | |
| | | return dataSource.CreateLayer(tab.replace(".", "_"), sr, getGeomType(geomType), null); |
| | | } |
| | |
| | | } |
| | | |
| | | SpatialReference sr = new SpatialReference(); |
| | | sr.ImportFromEPSG(4326); |
| | | sr.ImportFromEPSG(StaticData.I4326); |
| | | |
| | | int geoType = getGeometryType(type); |
| | | layer = dataSource.CreateLayer(type.toLowerCase(), sr, geoType); |
文件名从 src/main/java/com/moon/server/mapper/mn/LunarplacenaneMapper.java 修改 |
| | |
| | | package com.moon.server.mapper.mn; |
| | | |
| | | import com.moon.server.entity.mn.LunarplacenaneEntity; |
| | | import com.moon.server.entity.mn.LunarplacenameEntity; |
| | | import com.moon.server.mapper.all.GeomBaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | public interface LunarplacenaneMapper extends GeomBaseMapper<LunarplacenaneEntity> { |
| | | public interface LunarplacenameMapper extends GeomBaseMapper<LunarplacenameEntity> { |
| | | } |