月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-13 024e90554d19c2342f27a26f91bbea378f84da82
1
已修改69个文件
1398 ■■■■■ 文件已修改
src/main/java/com/moon/server/entity/mn/GeoagenotdeterminedanEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeoaltimetricpointEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeoconstructionunitEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeocopernicanperiodEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeocraterEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeohiddencraterEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeoimpactcraterchainannotationEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeokreepbasaltEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeolandingsiteEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeolobatescarpEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeolunarlacusannotationEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeomagnesiaanorthositesuiteEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeomagnesianrocksuiteEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeonectarianEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeoricholivinerocksuiteEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeoshallowfaultEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeovolcanicventEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeowrinkleridgeannotationEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/Lobatescarps180Entity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/Lrocglobalmare180Entity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/LrolrocedrnacfootprintsEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/ArgsEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/AttachEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/BlacklistEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/DownlogEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/LayerEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/MenuAuthEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/MetaDownEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/ReportEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/ResEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/ResLogEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/RoleMenuAuthEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/RoleResEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/sys/RoleUserEntity.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/ClassHelper.java 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/FileHelper.java 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/GdbHelper.java 88 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/PathHelper.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/ShpHelper.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/Zip4jHelper.java 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/helper/ZipHelper.java 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/all/BasicMapper.java 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/all/GeomBaseMapper.java 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/all/PermsMapper.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/ColortabMapper.java 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/DictMapper.java 70 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/DomainMapper.java 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/DownloadMapper.java 90 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/MetaMapper.java 176 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/PublishMapper.java 136 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/data/UploadMapper.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoaikenperiodbasinconstructionMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoaltimetricpointMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeocraterannotationMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianbasinconstructionMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeogoldenspikeMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeograbenannotationMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeohiddencraterMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoimpactbasinMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainannotationMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeoinferreddeepfaultMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeolunarmareannotationMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeolunarpalusannotationMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeolunarrilleMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeomagnesiaanorthositesuiteMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeomappableunitMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/mapper/mn/GeovolcanicventMapper.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/moon/server/entity/mn/GeoagenotdeterminedanEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geoagenotdeterminedan
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeoaltimetricpointEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geoaltimetricpoint
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeoconstructionunitEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geoconstructionunit
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeocopernicanperiodEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geocopernicanperiod
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeocraterEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geocrater
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeohiddencraterEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geohiddencrater
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeoimpactcraterchainannotationEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geoimpactcraterchainannotation
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeokreepbasaltEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geokreepbasalt
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeolandingsiteEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geolandingsite
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeolobatescarpEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geolobatescarp
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeolunarlacusannotationEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geolunarlacusannotation
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeomagnesiaanorthositesuiteEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geomagnesiaanorthositesuite
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeomagnesianrocksuiteEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geomagnesianrocksuite
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeonectarianEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geonectarian
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeoricholivinerocksuiteEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Georicholivinerocksuite
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeoshallowfaultEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geoshallowfault
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeovolcanicventEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geovolcanicvent
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/GeowrinkleridgeannotationEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Geowrinkleridgeannotation
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/Lobatescarps180Entity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Lobatescarps180
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/Lrocglobalmare180Entity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Lrocglobalmare180
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/mn/LrolrocedrnacfootprintsEntity.java
@@ -9,10 +9,6 @@
import java.sql.Timestamp;
import java.time.LocalDate;
/**
 * Lrolrocedrnacfootprints
 * @author WWW
 */
@Data
@AllArgsConstructor
@SuppressWarnings("ALL")
src/main/java/com/moon/server/entity/sys/ArgsEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 参数设置
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ArgsEntity implements Serializable {
    private static final long serialVersionUID = -832866207909836938L;
src/main/java/com/moon/server/entity/sys/AttachEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 附件
 * @author WWW
 */
@SuppressWarnings("ALL")
public class AttachEntity implements Serializable {
    private static final long serialVersionUID = -106535972611296912L;
src/main/java/com/moon/server/entity/sys/BlacklistEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 黑名单
 * @author WWW
 */
@SuppressWarnings("ALL")
public class BlacklistEntity implements Serializable {
    private static final long serialVersionUID = -705887305878981632L;
src/main/java/com/moon/server/entity/sys/DownlogEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 下载日志
 * @author WWW
 */
@SuppressWarnings("ALL")
public class DownlogEntity implements Serializable {
    private static final long serialVersionUID = -295796504381949312L;
src/main/java/com/moon/server/entity/sys/LayerEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 图层
 * @author WWW
 */
@SuppressWarnings("ALL")
public class LayerEntity implements Serializable {
    private static final long serialVersionUID = -371902381708800000L;
src/main/java/com/moon/server/entity/sys/MenuAuthEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 菜单-权限
 * @author WWW
 */
@SuppressWarnings("ALL")
public class MenuAuthEntity implements Serializable {
    private static final long serialVersionUID = -298515079682001408L;
src/main/java/com/moon/server/entity/sys/MetaDownEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 元数据-下载
 * @author WWW
 */
@SuppressWarnings("ALL")
public class MetaDownEntity implements Serializable {
    private static final long serialVersionUID = -254142742722361696L;
src/main/java/com/moon/server/entity/sys/ReportEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 报告模板
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ReportEntity implements Serializable {
    private static final long serialVersionUID = -976039118587988992L;
src/main/java/com/moon/server/entity/sys/ResEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 资源
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ResEntity implements Serializable {
    private static final long serialVersionUID = -286579305905187168L;
src/main/java/com/moon/server/entity/sys/ResLogEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 资源日志
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ResLogEntity implements Serializable {
    private static final long serialVersionUID = -766548673513600896L;
src/main/java/com/moon/server/entity/sys/RoleMenuAuthEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 角色-菜单
 * @author WWW
 */
@SuppressWarnings("ALL")
public class RoleMenuAuthEntity implements Serializable {
    private static final long serialVersionUID = -510981272678347904L;
src/main/java/com/moon/server/entity/sys/RoleResEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 角色-资源
 * @author WWW
 */
@SuppressWarnings("ALL")
public class RoleResEntity implements Serializable {
    private static final long serialVersionUID = -634834740606525312L;
src/main/java/com/moon/server/entity/sys/RoleUserEntity.java
@@ -3,10 +3,7 @@
import java.io.Serializable;
import java.sql.Timestamp;
/**
 * 角色-用户
 * @author WWW
 */
@SuppressWarnings("ALL")
public class RoleUserEntity implements Serializable {
    private static final long serialVersionUID = -20966072576570360L;
src/main/java/com/moon/server/helper/ClassHelper.java
@@ -9,19 +9,10 @@
import java.lang.reflect.Type;
/**
 * 类帮助类
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ClassHelper {
    private final static Log log = LogFactory.getLog(ClassHelper.class);
    /**
     * 根据类名创建实例
     *
     * @param className 类名
     * @return 实体
     */
    public static Object createInstance(String className) {
        try {
            Class clazz = Class.forName(className);
@@ -34,12 +25,6 @@
        }
    }
    /**
     * 获取Bean
     *
     * @param className 类名
     * @return Bean
     */
    public static Object getBean(String className) {
        try {
            Object obj = SpringContextHelper.getBean(className);
@@ -51,12 +36,6 @@
        }
    }
    /**
     * 获取父Mapper
     *
     * @param name Mapper名
     * @return BaseMapper
     */
    public static BasicMapper getBasicMapper(String name) {
        if (StringHelper.isEmpty(name)) {
            return null;
@@ -70,12 +49,6 @@
        return (BasicMapper) obj;
    }
    /**
     * 获取空间父Mapper
     *
     * @param name Mapper名
     * @return GeomBaseMapper
     */
    public static GeomBaseMapper getGeoBaseMapper(String name) {
        if (StringHelper.isEmpty(name)) {
            return null;
@@ -89,24 +62,12 @@
        return (GeomBaseMapper) obj;
    }
    /**
     * 获取类名
     *
     * @param baseMapper 父Mapper
     * @return 类名
     */
    public static String getClassName(BaseMapper baseMapper) {
        Type[] genericInterfaces = AopUtils.getTargetClass(baseMapper).getGenericInterfaces();
        return genericInterfaces[0].getTypeName();
    }
    /**
     * 根据Mapper类名获取实体类的Class
     *
     * @param className Mapper类名
     * @return 实体类的Class
     */
    public static Class getEntityClass(String className) {
        try {
            className = className.replace(".mapper", ".entity").replace("Mapper", "Entity");
@@ -119,13 +80,6 @@
        }
    }
    /**
     * 根据BaseMapper创建实体类
     *
     * @param baseMapper 父Mapper
     * @return 实体类
     */
    public static Object createEntityByMapper(BaseMapper baseMapper) {
        String className = getClassName(baseMapper);
        className = className.replace(".mapper", ".entity").replace("Mapper", "Entity");
src/main/java/com/moon/server/helper/FileHelper.java
@@ -18,19 +18,10 @@
import java.text.DecimalFormat;
import java.util.List;
/**
 * 文件帮助类
 * @author WWW
 */
@SuppressWarnings("ALL")
public class FileHelper {
    private final static Log log = LogFactory.getLog(FileHelper.class);
    /**
     * 获取文件名
     *
     * @param file
     * @return
     */
    public static String getFileName(String file) {
        int idx = file.lastIndexOf(File.separator);
        if (idx > -1) {
@@ -40,9 +31,6 @@
        return "";
    }
    /**
     * 获取文件扩展名
     */
    public static String getExtension(File file) {
        if (file == null) {
            return null;
@@ -58,9 +46,6 @@
        return fileName.substring(idx);
    }
    /**
     * 获取文件扩展名
     */
    public static String getExtension(String fileName) {
        if (StringHelper.isEmpty(fileName)) {
            return "";
@@ -74,15 +59,8 @@
        return fileName.substring(idx).toLowerCase();
    }
    /**
     * 获取多用途互联网邮件扩展类型
     *
     * @param ext 文件扩展名
     * @return
     */
    public static String getMime(String ext) {
        switch (ext) {
            // 图片
            case ".tif":
            case ".tiff":
                return "image/tiff";
@@ -95,7 +73,6 @@
                return "image/jpeg";
            case ".png":
                return "image/png";
            // 音/视频
            case ".mp3":
                return "audio/mp3";
            case ".mp4":
@@ -117,7 +94,6 @@
                return "application/vnd.rn-realmedia";
            case ".rmvb":
                return "application/vnd.rn-realmedia-vbr";
            // 网页
            case ".js":
                return "application/x-javascript";
            case ".css":
@@ -134,7 +110,6 @@
            case ".xml":
            case ".svg":
                return "text/xml";
            // 文件
            case ".txt":
                return "text/plain";
            case ".dbf":
@@ -158,15 +133,11 @@
                return "application/x-dwg";
            case ".ext":
                return "application/x-msdownload";
            // 默认
            default:
                return "application/octet-stream";
        }
    }
    /**
     * 字节单位换算
     */
    public static String formatByte(long byteNumber) {
        double kbNumber = byteNumber / StaticData.D1024;
        if (kbNumber < StaticData.D1024) {
@@ -185,9 +156,6 @@
        return new DecimalFormat("#.##TB").format(tbNumber);
    }
    /**
     * 获取文件大小
     */
    public static String getSizes(double mbNumber) {
        if (mbNumber < StaticData.D1024) {
            return new DecimalFormat("#.##MB").format(mbNumber);
@@ -203,9 +171,6 @@
        return new DecimalFormat("#.##TB").format(tbNumber);
    }
    /**
     * byte转MB
     */
    public static double sizeToMb(long size) {
        if (size < StaticData.D1050) {
            return 0.001;
@@ -216,9 +181,6 @@
        return Double.parseDouble(str);
    }
    /**
     * 3.获取文件MD5码(JDK)
     */
    public static String getMd5ByJdk(String filePath) throws IOException {
        FileInputStream fileStream = new FileInputStream(filePath);
        String md5 = DigestUtils.md5Hex(fileStream);
@@ -227,9 +189,6 @@
        return md5;
    }
    /**
     * 2.获取快速 MD5 码
     */
    public static String getFastMd5(String filePath) throws IOException {
        String hash = MD5.asHex(MD5.getHash(new File(filePath)));
@@ -239,9 +198,6 @@
        return md5.asHex();
    }
    /**
     * 删除文件
     */
    public static void deleteFiles(List<MetaFileEntity> list) {
        try {
            for (MetaFileEntity mf : list) {
@@ -255,22 +211,12 @@
        }
    }
    /**
     * 删除文件夹
     *
     * @param dir 文件夹
     */
    public static void deleteDir(String dir) {
        File file = new File(dir);
        deleteFiles(file);
    }
    /**
     * 级联删除文件
     *
     * @param file 文件
     */
    public static void deleteFiles(File file) {
        if (null == file || !file.exists()) {
            return;
@@ -292,12 +238,6 @@
        file.delete();
    }
    /**
     * 获取相对路径
     *
     * @param file 文件
     * @return 相对路径
     */
    public static String getRelativePath(String file) {
        if (StringHelper.isEmpty(file)) {
            return null;
@@ -309,12 +249,6 @@
        return file.substring(start + 1);
    }
    /**
     * 获取路径
     *
     * @param file 文件
     * @return 文件路径
     */
    public static String getPath(String file) {
        if (StringHelper.isEmpty(file)) {
            return null;
@@ -325,9 +259,6 @@
        return file.substring(0, end);
    }
    /**
     * 1.获取文件的MD5
     */
    @SuppressWarnings("unused")
    public static String getFileMd5(String filePath) {
        FileInputStream fis = null;
@@ -360,31 +291,18 @@
        }
    }
    /**
     * 字节码转16进制
     */
    public static String byteToHexString(byte[] tmp) {
        // 每个字节用 16 进制表示的话,使用两个字符,
        char[] str = new char[16 * 2];
        // 所以表示成 16 进制需要 32 个字符,表示转换结果中对应的字符位置
        int k = 0;
        // 从第一个字节开始,对 MD5 的每一个字节
        for (int i = 0; i < StaticData.I16; i++) {
            // 转换成 16 进制字符的转换
            byte byte0 = tmp[i];
            // 取字节中高 4 位的数字转换
            str[k++] = StaticData.HEX_DIGITS[byte0 >>> 4 & 0xf];
            // >>> 为逻辑右移,将符号位一起右移, 取字节中低 4 位的数字转换
            str[k++] = StaticData.HEX_DIGITS[byte0 & 0xf];
        }
        // 换后的结果转换为字符串
        return new String(str);
    }
    /**
     * 获取字符串的MD5码
     */
    public static String getStringMd5(String text) {
        StringBuilder builder = new StringBuilder();
        try {
@@ -401,9 +319,6 @@
        return builder.toString();
    }
    /**
     * 根据路径获取文件
     */
    public static void getFilesByPath(List<String> list, String path) {
        File file = new File(path);
        if (file.isDirectory()) {
@@ -424,12 +339,6 @@
        }
    }
    /**
     * 复制文件
     *
     * @param src  源文件
     * @param dest 目录文件
     */
    public static void copyFile(File src, File dest) throws IOException {
        InputStream is = null;
        OutputStream os = null;
@@ -449,16 +358,10 @@
        }
    }
    /**
     * 过滤输入字符串, 剔除多行注释以及替换掉反斜杠
     */
    public static String filter(String str) {
        return str.replaceAll("/\\*[\\s\\S]*?\\*/", "");
    }
    /**
     * 解码
     */
    public static String decode(String str) {
        try {
            return URLDecoder.decode(str, "UTF-8");
@@ -468,9 +371,6 @@
        }
    }
    /**
     * 获取ClassPath-jar
     */
    public static String getClassPathForJar() {
        URL resource = ClassLoader.getSystemResource("");
        if (null == resource) {
@@ -480,9 +380,6 @@
        return decode(filter(resource.getPath()));
    }
    /**
     * 获取ClassPath-war
     */
    public static String getClassPathForWar() throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext();
src/main/java/com/moon/server/helper/GdbHelper.java
@@ -20,16 +20,10 @@
import java.time.LocalTime;
import java.util.*;
/**
 * GDB帮助类
 * @author WWW
 */
@SuppressWarnings("ALL")
public class GdbHelper {
    private final static Log log = LogFactory.getLog(GdbHelper.class);
    /**
     * 销毁资源
     */
    public static void delete(Layer layer) {
        try {
            if (null != layer) {
@@ -40,9 +34,6 @@
        }
    }
    /**
     * 销毁资源
     */
    public static void delete(DataSource dataSource, Driver driver) {
        try {
            if (null != dataSource) {
@@ -61,17 +52,11 @@
        }
    }
    /**
     * 销毁资源
     */
    public static void delete(Layer layer, DataSource dataSource, Driver driver) {
        delete(layer);
        delete(dataSource, driver);
    }
    /**
     * 获取表名
     */
    public static List<String> getTabNames(String filePath) {
        List<String> list = new ArrayList<>();
@@ -106,9 +91,6 @@
        return list;
    }
    /**
     * 读取数据
     */
    public static <T> List<T> readData(Class clazz, String filePath, String layerName, boolean isTransform) {
        List<T> list = new ArrayList<>();
@@ -144,9 +126,6 @@
        return list;
    }
    /**
     * 读取图层
     */
    public static <T> void readLayer(Class clazz, Layer layer, List<T> list, boolean isTransform) {
        try {
            Field gField = getGeomField(clazz);
@@ -176,9 +155,6 @@
        }
    }
    /**
     * 获取坐标转换器
     */
    private static CoordinateTransformation getCoordinateTransformation(Layer layer, boolean isTransform) {
        if (!isTransform) {
            return null;
@@ -203,9 +179,6 @@
        return CoordinateTransformation.CreateCoordinateTransformation(layer.GetSpatialRef(), srTarget);
    }
    /**
     * 获取 geom 字段
     */
    private static Field getGeomField(Class clazz) {
        try {
            Field gField = clazz.getSuperclass().getDeclaredField("geom");
@@ -217,9 +190,6 @@
        }
    }
    /**
     * 获取字段映射
     */
    private static void getFieldMapper(Class clazz, Layer layer, Map<Integer, Field> map) {
        try {
            FeatureDefn fd = layer.GetLayerDefn();
@@ -247,9 +217,6 @@
        }
    }
    /**
     * 读取Feature
     */
    private static <T> void readFeature(T t, Feature f, Map<Integer, Field> map, Field gField, CoordinateTransformation ct) {
        for (Integer i : map.keySet()) {
            try {
@@ -265,9 +232,6 @@
        }
    }
    /**
     * 设置值
     */
    public static <T> void setValue(T t, Feature f, Field field, Integer i) throws Exception {
        switch (field.getType().getName()) {
            case "java.math.BigDecimal":
@@ -304,20 +268,6 @@
        }
    }
    /**
     * 设置 geom 字段值
     * <p>
     * wkbUnknown = 0,
     * wkbPoint = 1,
     * wkbLineString = 2,
     * wkbPolygon = 3,
     * wkbMultiPoint = 4,
     * wkbMultiLineString = 5,
     * wkbMultiPolygon = 6,
     * wkbGeometryCollection = 7,
     * wkbNone = 100,
     * wkbLinearRing = 101
     */
    private static <T> void setGeom(T t, Field gField, Geometry geometry, CoordinateTransformation ct) {
        try {
            if (null == geometry) {
@@ -349,9 +299,6 @@
        }
    }
    /**
     * 获取 Timestamp
     */
    public static Timestamp getTimestamp(Feature f, int index) {
        int[] pnYear = new int[1];
        int[] pnMonth = new int[1];
@@ -379,9 +326,6 @@
        return Timestamp.valueOf(localDateTime);
    }
    /**
     * 获取 LocalDate
     */
    public static LocalDate getLocalDate(Feature f, int index) {
        int[] pnYear = new int[1];
        int[] pnMonth = new int[1];
@@ -399,9 +343,6 @@
        return LocalDate.of(pnYear[0], pnMonth[0], pnDay[0]);
    }
    /**
     * 创建GDB
     */
    public static void createGdb(String filePath,  Map<String, List<?>> map) throws Exception {
        Driver driver = null;
        DataSource dataSource = null;
@@ -457,9 +398,6 @@
        }
    }
    /**
     * 创建图层
     */
    private static Layer createLayer(DataSource dataSource, BasicMapper baseMapper ) {
        String tab = BaseQueryService.getTabName(baseMapper);
        if (StringHelper.isNull(tab)) {
@@ -487,9 +425,6 @@
        return dataSource.CreateLayer(tab.replace(".", "_"), sr, getGeomType(geomType), null);
    }
    /**
     * 获取Geom类别
     */
    private static Integer getGeomType(String geomType) {
        if (StringHelper.isEmpty(geomType)) {
            return ogr.wkbPoint;
@@ -513,9 +448,6 @@
        }
    }
    /**
     * 获取字段
     */
    public static void getFields(Class clazz, List<Field> list, List<String> excludeFields) {
        try {
            Field[] fields = clazz.getDeclaredFields();
@@ -536,9 +468,6 @@
        }
    }
    /**
     * 添加图层字段
     */
    public static void addLayerField(Layer layer, List<Field> list) {
        for (int i = 0, c = list.size(); i < c; i++) {
            Field f = list.get(i);
@@ -550,9 +479,6 @@
        }
    }
    /**
     * 获取字段类型
     */
    private static Integer getFieldType(Field f) {
        switch (f.getType().getName()) {
            case "java.math.BigDecimal":
@@ -574,9 +500,6 @@
        }
    }
    /**
     * 设置图层数据
     */
    private static <T> void setLayerData(Layer layer,  List<Field> fields, List<T> list) throws Exception {
        for (T t : list) {
            Feature f = new Feature(layer.GetLayerDefn());
@@ -594,9 +517,6 @@
        }
    }
    /**
     * 设置要素的数据
     */
    public static <T> void setFeatureData(Feature f, List<Field> fields, T t) throws Exception {
        for (int i = 0, c = fields.size(); i < c; i++) {
            Field field = fields.get(i);
@@ -641,9 +561,6 @@
        }
    }
    /**
     * 设置Timestamp
     */
    private static void setTimestamp(Feature f, int i, Timestamp time) {
        if (null == time) {
            return;
@@ -653,9 +570,6 @@
        f.SetField(i, local.getYear(), local.getMonthValue(), local.getDayOfMonth(), local.getHour(), local.getMinute(), local.getSecond(), 8);
    }
    /**
     * 设置LocalDate
     */
    private static void setLocalDate(Feature f, int i, LocalDate local) {
        if (null == local) {
            return;
src/main/java/com/moon/server/helper/PathHelper.java
@@ -11,11 +11,8 @@
import java.io.File;
import java.util.Date;
/**
 * 路径帮助类
 * @author WWW
 */
@Component
@SuppressWarnings("ALL")
public class PathHelper {
    @Autowired
    private PropertiesConfig config;
@@ -38,9 +35,6 @@
        return uploadPath;
    }
    /**
     * 初始化
     */
    public void init() {
        downloadPath = getSubPath(config.getDownloadPath(), downloadPath);
        uploadPath = getSubPath(config.getUploadPath(), uploadPath);
@@ -65,27 +59,18 @@
        }
    }
    /**
     * 获取下载完整目录
     */
    public String getDownloadFullPath() {
        downloadPath = getSubPath(config.getDownloadPath(), downloadPath);
        return config.getDownloadPath() + File.separator + downloadPath;
    }
    /**
     * 获取上传完整目录
     */
    public String getUploadFullPath() {
        uploadPath = getSubPath(config.getUploadPath(), uploadPath);
        return config.getUploadPath() + File.separator + uploadPath;
    }
    /**
     * 获取临时路径
     */
    public String getTempPath() {
        String tempName = StringHelper.YMDHMS2_FORMAT.format(new Date());
        String path = config.getTempPath() + File.separator + tempName;
@@ -100,9 +85,6 @@
        return path;
    }
    /**
     * 获取临时路径
     */
    public String getTempPath(String subPath) {
        if (!StringHelper.isEmpty(subPath)) {
            String path = config.getTempPath() + File.separator + subPath;
@@ -118,9 +100,6 @@
        return getTempPath();
    }
    /**
     * 获取临时路径名称
     */
    public String getTempPathName() {
        String tempName = StringHelper.YMDHMS2_FORMAT.format(new Date());
        String path = config.getTempPath() + File.separator + tempName;
@@ -135,9 +114,6 @@
        return tempName;
    }
    /**
     * 删除旧路径
     */
    public void deleteOldPath(String tempPath) {
        try {
            double ran = Math.random() * 99;
src/main/java/com/moon/server/helper/ShpHelper.java
@@ -15,16 +15,10 @@
import java.util.List;
import java.util.Map;
/**
 * ShapeFile帮助类
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ShpHelper {
    private final static Log log = LogFactory.getLog(ShpHelper.class);
    /**
     * 读取Shp第一条记录的WKT
     */
    public static ShpRecordEntity readShpFirstRecord(String filePath) {
        Driver driver = null;
        DataSource dataSource = null;
@@ -60,9 +54,6 @@
        }
    }
    /**
     * 读取ShapeFile文件获取Mark实体类
     */
    public static List<MarkJsonEntity> readShpForMarks(String filePath) {
        Driver driver = null;
        DataSource dataSource = null;
@@ -94,9 +85,6 @@
        }
    }
    /**
     * 获取shp字段信息
     */
    private static Map<Integer, Field> getShpFields(Layer layer) {
        FeatureDefn featureDefn = layer.GetLayerDefn();
@@ -116,9 +104,6 @@
        return fields;
    }
    /**
     * 设置标绘实体类
     */
    private static List<MarkJsonEntity> setMarkJsonEntity(Layer layer, Map<Integer, Field> fieldMap) throws Exception {
        List<MarkJsonEntity> list = new ArrayList<>();
        for (int i = 0; i < layer.GetFeatureCount(); i++) {
@@ -137,14 +122,6 @@
        return list;
    }
    /**
     * 创建ShapeFile文件
     *
     * @param list 标绘JSON实体类集合
     * @param path 路径
     * @param type 类型:POINT,LINESTRING,POLYGON
     * @return ShapeFile文件名
     */
    public static String createShp(List<MarkJsonEntity> list, String path, String type) {
        Driver driver = null;
        DataSource dataSource = null;
@@ -192,9 +169,6 @@
        }
    }
    /**
     * 获取图形类型
     */
    private static int getGeometryType(String type) {
        switch (type) {
            case "POINT":
@@ -208,9 +182,6 @@
        }
    }
    /**
     * 读取数据
     */
    public static <T> List<T> readData(Class clazz, String filePath, boolean isTransform) {
        List<T> list = new ArrayList<>();
src/main/java/com/moon/server/helper/Zip4jHelper.java
@@ -13,21 +13,10 @@
import java.io.File;
import java.nio.charset.StandardCharsets;
/**
 * Zip4j帮助类
 * @author WWW
 */
@SuppressWarnings("ALL")
public class Zip4jHelper {
    private final static Log log = LogFactory.getLog(Zip4jHelper.class);
    /**
     * Zip压缩
     *
     * @param zipFile    zip文件
     * @param sourcePath 源路径
     * @param pwd        密码
     * @return 成功是否
     */
    public static boolean zip(String zipFile, String sourcePath, String pwd) {
        try {
            ZipFile zip = StringHelper.isEmpty(pwd) ? new ZipFile(zipFile) : new ZipFile(zipFile, pwd.toCharArray());
@@ -43,7 +32,6 @@
            ZipParameters params = getZipParams(!StringHelper.isEmpty(pwd));
            // 要打包的文件或文件夹
            File currentFile = new File(sourcePath);
            if (currentFile.isDirectory()) {
                zip.addFolder(currentFile, params);
@@ -58,9 +46,6 @@
        }
    }
    /**
     * 创建ZipFile
     */
    public static ZipFile createZipFile(String zipFile, String pwd) {
        try {
            ZipFile zip = StringHelper.isEmpty(pwd) ? new ZipFile(zipFile) : new ZipFile(zipFile, pwd.toCharArray());
@@ -82,37 +67,20 @@
        }
    }
    /**
     * 获取ZipParameters
     */
    public static ZipParameters getZipParams(boolean hasPwd) {
        // 设置压缩文件参数
        ZipParameters params = new ZipParameters();
        // 压缩方式
        params.setCompressionMethod(CompressionMethod.DEFLATE);
        // 压缩级别
        params.setCompressionLevel(CompressionLevel.MAXIMUM);
        if (hasPwd) {
            // 是否设置加密文件
            params.setEncryptFiles(true);
            // 设置AES加密强度:KEY_STRENGTH_256
            params.setAesKeyStrength(AesKeyStrength.KEY_STRENGTH_128);
            // 设置加密算法
            params.setEncryptionMethod(EncryptionMethod.AES);
        }
        return params;
    }
    /**
     * 添加文件至压缩包
     *
     * @param zip    ZipFile
     * @param params ZipParameters
     * @param file   File
     * @throws ZipException
     */
    private static void addZipFile(ZipFile zip, ZipParameters params, File file) throws ZipException {
        if (file.isDirectory()) {
            File[] files = file.listFiles();
@@ -124,25 +92,14 @@
        }
    }
    /**
     * Zip解压
     *
     * @param zipFile  zip文件
     * @param toPath   解压路径
     * @param password 密码
     * @return 成功是/否
     */
    public static boolean unzip(String zipFile, String toPath, String password) {
        try {
            // 生成的压缩文件
            ZipFile zip = new ZipFile(zipFile);
            // 设置密码
            if (!StringHelper.isEmpty(password)) {
                zip.setPassword(password.toCharArray());
            }
            // 解压缩所有文件以及文件夹
            zip.extractAll(toPath);
            return true;
src/main/java/com/moon/server/helper/ZipHelper.java
@@ -10,10 +10,7 @@
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;
/**
 * Zip帮助类
 * @author WWW
 */
@SuppressWarnings("ALL")
public class ZipHelper {
    private final static int BUFFER_SIZE = 1024;
@@ -21,13 +18,6 @@
    private final static Log log = LogFactory.getLog(ZipHelper.class);
    /**
     * Zip解压
     *
     * @param filePath zip文件
     * @param zipDir   解压路径
     * @return 成功是/否
     */
    public static boolean unzip(String filePath, String zipDir) {
        ZipFile zipFile = null;
        try {
@@ -55,9 +45,6 @@
        }
    }
    /**
     * 创建目录
     */
    private static void createDirs(ZipFile zipFile, String zipDir) {
        Enumeration<?> e = zipFile.entries();
        while (e.hasMoreElements()) {
@@ -71,9 +58,6 @@
        }
    }
    /**
     * 写文件
     */
    private static void writeFiles(ZipFile zipFile, String zipDir) throws IOException {
        Enumeration<?> e = zipFile.entries();
        while (e.hasMoreElements()) {
@@ -84,9 +68,6 @@
        }
    }
    /**
     * 写文件
     */
    private static void writeFile(ZipFile zipFile, ZipEntry entry, String zipDir) throws IOException {
        int count;
@@ -103,13 +84,6 @@
        is.close();
    }
    /**
     * Zip压缩
     *
     * @param zipFile   zip源文件
     * @param sourceDir 源文件夹
     * @return 成功是/否
     */
    public static boolean zip(String zipFile, String sourceDir) {
        FileOutputStream fos = null;
        ZipOutputStream zos = null;
@@ -138,20 +112,10 @@
        }
    }
    /**
     * Zip压缩
     *
     * @param sourceFile zip源文件
     * @param zos        zip输出流
     * @param name       zip文件名称
     * @throws Exception
     */
    public static void compress(File sourceFile, ZipOutputStream zos, String name) throws Exception {
        if (sourceFile.isFile()) {
            // 向zip输出流中添加一个zip实体,构造器中name为zip实体的文件的名字
            zos.putNextEntry(new ZipEntry(name));
            // copy文件到zip输出流中
            int len;
            FileInputStream in = new FileInputStream(sourceFile);
            while ((len = in.read(BUFFER)) != -1) {
@@ -162,7 +126,6 @@
        } else {
            File[] listFiles = sourceFile.listFiles();
            if (listFiles == null || listFiles.length == 0) {
                // 空文件夹的处理:没有文件,不需要文件的copy
                zos.putNextEntry(new ZipEntry(name + "/"));
                zos.closeEntry();
            } else {
src/main/java/com/moon/server/mapper/all/BasicMapper.java
@@ -8,48 +8,15 @@
import java.util.List;
/**
 * 基础Mapper
 * @author WWW
 * @param <T> 泛型
 */
@SuppressWarnings("ALL")
public interface BasicMapper<T> extends BaseMapper<T> {
    /**
     * 模糊搜索字段
     *
     * @param tab   表名
     * @param field 字段
     * @param value 值
     * @return 结果列表
     */
    @Select("select ${field} from ${tab} where upper(${field}) like #{value} order by ${field} limit 10")
    public List<String> selectFieldFuzzy(@Param("tab") String tab, @Param("field") String field, @Param("value") String value);
    /**
     * 自定义批量插入
     * 如果要自动填充,@Param(xx) xx参数名必须是 list/collection/array 3个的其中之一
     *
     * @param list
     * @return
     */
    public int insertBatch(@Param("list") List<T> list);
    /**
     * 自定义批量更新,条件为主键
     * 如果要自动填充,@Param(xx) xx参数名必须是 list/collection/array 3个的其中之一
     *
     * @param list
     * @return
     */
    public int updateBatch(@Param("list") List<T> list);
    /**
     * 查询附件
     *
     * @param tab     表名
     * @param wrapper 查询包装器
     * @return
     */
    @Select("select * from lf.sys_attach where tab = #{tab} and tab_guid in (select eventid from ${tab} ${ew.customSqlSegment})")
    public List<AttachEntity> selectAnnex(@Param("tab") String tab, @Param("ew") QueryWrapper wrapper);
}
src/main/java/com/moon/server/mapper/all/GeomBaseMapper.java
@@ -6,48 +6,17 @@
import java.util.List;
/**
 * 空间基础Mapper
 * @author WWW
 * @param <T> 泛型
 */
@SuppressWarnings("ALL")
public interface GeomBaseMapper<T> extends BasicMapper<T> {
    /**
     * 根据ID查询WKT
     *
     * @param tab 表名
     * @param gid GID
     * @return WKT
     */
    @Select("select ST_AsText(geom) geom from ${tab} where gid = #{gid} limit 1")
    public String selectWktById(@Param("tab") String tab, @Param("gid") Integer gid);
    /**
     * 根据表名查询空间参考
     *
     * @param tab 表名
     * @return SRID
     */
    @Select("select ST_SRID(geom) from ${tab} where geom is not null limit 1")
    public Integer selectSrid(@Param("tab") String tab);
    /**
     * 根据表名查询空间类型
     *
     * @param tab 表名
     * @return SRID
     */
    @Select("select ST_GeometryType(geom) from ${tab} where geom is not null limit 1")
    public String selectGeometryType(@Param("tab") String tab);
    /**
     * 查询DB中溢出的单位ID
     *
     * @param tab       表名
     * @param depid     单位ID
     * @param geoFilter 空间过滤条件
     * @return 溢出的单位ID
     */
    @Select("<script>" +
            " select depid from ${tab} where depid is not null and depid not like '${depid}%'" +
            " <if test='geoFilter != null'>" +
@@ -57,14 +26,6 @@
            "</script>")
    public List<Integer> selectDbOverflowDep(@Param("tab") String tab, @Param("depid") String depid, @Param("geoFilter") String geoFilter);
    /**
     * 更新空间位置
     *
     * @param tab 表名
     * @param gid GID
     * @param wkt WKT
     * @return 影响行数
     */
    @Update("update ${tab} set geom = ST_GeomFromText('${wkt}') where gid = #{gid} limit 1")
    public Integer updateGeom(@Param("tab") String tab, @Param("gid") Integer gid, @Param("wkt") String wkt);
}
src/main/java/com/moon/server/mapper/all/PermsMapper.java
@@ -9,81 +9,25 @@
import java.util.List;
/**
 * 授权管理
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface PermsMapper {
    /**
     * 根据用户Uid查询资源授权
     *
     * @param uid
     * @return
     */
    public List<ResEntity> selectRes(String uid);
    /**
     * 查询所有资源
     *
     * @return
     */
    public List<ResEntity> selectAllRes();
    /**
     * 根据用户Uid查询GeoServer的图层名
     *
     * @param uid
     * @return
     */
    public List<String> selectTabs(String uid);
    /**
     * 查询所有GeoServer的图层名
     *
     * @return
     */
    public List<String> selectAllTabs();
    /**
     * 根据用户Uid查询菜单授权
     *
     * @param uid
     * @return
     */
    public List<MenusAuthEntity> selectMenus(String uid);
    /**
     * 根据用户Uid查询权限授权
     *
     * @param uid
     * @return
     */
    public List<String> selectPerms(String uid);
    /**
     * 根据用户Uid查询权限授权实体集合
     *
     * @param uid
     * @return
     */
    public List<PermsAuthEntity> selectPermsEntity(String uid);
    /**
     * 根据用户Uid查询角色ID
     *
     * @param uid
     * @return
     */
    public List<Integer> selectRoles(String uid);
    /**
     * 根据用户Uid递归查询菜单集合
     *
     * @param id
     * @param uid
     * @return
     */
    public List<MenuEntity> selectMenuRecursive(int id, String uid);
}
src/main/java/com/moon/server/mapper/data/ColortabMapper.java
@@ -6,91 +6,27 @@
import java.util.List;
/**
 * 颜色
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface ColortabMapper {
    /**
     * 查询记录数
     *
     * @param name 名称
     * @return 记录数
     */
    public Integer selectCount(String name);
    /**
     * 分页查询
     *
     * @param name   名称
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<ColortabEntity> selectByPage(String name, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
     */
    public List<ColortabEntity> selectAll();
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public ColortabEntity selectById(int id);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(ColortabEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<ColortabEntity> list);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(List<Integer> ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(ColortabEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<ColortabEntity> list);
}
src/main/java/com/moon/server/mapper/data/DictMapper.java
@@ -7,95 +7,27 @@
import java.util.List;
/**
 * 字典管理
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface DictMapper {
    /**
     * 查询记录数
     *
     * @param ns  表空间
     * @param tab 表名
     * @return 记录数
     */
    public Integer selectCount(String ns, String tab);
    /**
     * 分页查询
     *
     * @param ns     表空间
     * @param tab    表名
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<DictEntity> selectByPage(String ns, String tab, Integer limit, Integer offset);
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public DictEntity selectById(int id);
    /**
     * 查询字典表结构
     *
     * @param name
     * @param field
     * @return
     */
    public List<TabEntity> selectDictTab(String name, String field);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(DictEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<DictEntity> list);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(List<Integer> ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(DictEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<DictEntity> list);
}
src/main/java/com/moon/server/mapper/data/DomainMapper.java
@@ -6,104 +6,29 @@
import java.util.List;
/**
 * 值域
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface DomainMapper {
    /**
     * 查询记录数
     *
     * @param ns   名称空间
     * @param tab  表名
     * @param name 名称
     * @return 记录数
     */
    public Integer selectCount(String ns, String tab, String name);
    /**
     * 分页查询
     *
     * @param ns     名称空间
     * @param tab    表名
     * @param name   名称
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<DomainEntity> selectByPage(String ns, String tab, String name, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
     */
    public List<DomainEntity> selectAll();
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public DomainEntity selectById(int id);
    /**
     * 根据表名查询值域名称
     *
     * @param ns  名称空间
     * @param tab 表名
     * @return 值域名称集合
     */
    public List<String> selectDomainNames(String ns, String tab);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(DomainEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<DomainEntity> list);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(List<Integer> ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(DomainEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<DomainEntity> list);
}
src/main/java/com/moon/server/mapper/data/DownloadMapper.java
@@ -6,121 +6,33 @@
import java.util.List;
/**
 * 下载记录
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface DownloadMapper {
    /**
     * 查询记录数
     *
     * @param name 名称
     * @return 记录数
     */
    public Integer selectCount(String name);
    /**
     * 分页查询
     *
     * @param name   名称
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<DownloadEntity> selectByPage(String name, Integer limit, Integer offset);
    /**
     * 根据用户ID查询记录数(在线制图)
     *
     * @param createUser 用户ID
     * @param types      类别
     * @param name       名称
     * @return 记录数
     */
    public Integer selectCountForUser(Integer createUser, String types, String name);
    /**
     * 根据用户ID分页查询(在线制图)
     *
     * @param createUser 用户ID
     * @param types      类别
     * @param name       名称
     * @param limit      记录数
     * @param offset     偏移量
     * @return 列表
     */
    public List<DownloadEntity> selectByPageForUser(Integer createUser, String types, String name, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
     */
    public List<DownloadEntity> selectAll();
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public DownloadEntity selectById(int id);
    /**
     * 根据Guid查询
     *
     * @param guid
     * @return
     */
    public DownloadEntity selectByGuid(String guid);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(DownloadEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<DownloadEntity> list);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(List<Integer> ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(DownloadEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<DownloadEntity> list);
}
src/main/java/com/moon/server/mapper/data/MetaMapper.java
@@ -7,225 +7,51 @@
import java.util.Date;
import java.util.List;
/**
 * 元数据
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface MetaMapper {
    /**
     * 查询记录数
     *
     * @param depcode    单位编码
     * @param dircode    目录编码
     * @param verid      版本ID
     * @param name       名称
     * @param sensorType 传感器类型
     * @param mataType   元数据类型
     * @param startDate  开始日期
     * @param endDate    结束日期
     * @param wkt        WKT
     * @return 记录数
     */
    public Integer selectCount(String depcode, String dircode, Integer verid, String name, Integer sensorType, Integer mataType, Date startDate, Date endDate, String wkt);
    /**
     * 分页查询
     *
     * @param depcode    单位编码
     * @param dircode    目录编码
     * @param verid      版本ID
     * @param name       名称
     * @param sensorType 传感器类型
     * @param mataType   元数据类型
     * @param startDate  开始日期
     * @param endDate    结束日期
     * @param wkt        WKT
     * @param limit      记录数
     * @param offset     偏移量
     * @return 列表
     */
    public List<MetaEntity> selectByPage(String depcode, String dircode, Integer verid, String name, Integer sensorType, Integer mataType, Date startDate, Date endDate, String wkt, Integer limit, Integer offset);
    /**
     * 根据GUID查询GDB
     *
     * @param guid
     * @return
     */
    public List<MetaEntity> selectGdbByGuid(String guid);
    /**
     * 查询记录数
     *
     * @param depcode
     * @param dirs
     * @param name
     * @return
     */
    public Integer selectMetasForCount(String depcode, String dirs, String name);
    /**
     * 分页查询
     *
     * @param depcode
     * @param dirs
     * @param name
     * @param limit
     * @param offset
     * @return
     */
    public List<MetaEntity> selectMetasForPage(String depcode, String dirs, String name, Integer limit, Integer offset);
    /**
     * 查询上传记录数
     *
     * @param name       名称
     * @param createUser 用户ID
     * @param types      文件类型
     * @return 记录数
     */
    public Integer selectCountForUpload(String name, Integer createUser, String types);
    /**
     * 分页查询上传记录
     *
     * @param name       名称
     * @param createUser 用户ID
     * @param types      文件类型
     * @param limit      记录数
     * @param offset     偏移量
     * @return 列表
     */
    public List<MetaEntity> selectByPageForUpload(String name, Integer createUser, String types, Integer limit, Integer offset);
    /**
     * 根据父ID查询记录数
     *
     * @param metaid
     * @param name
     * @return
     */
    public Integer selectCountByPid(Integer metaid, String name);
    /**
     * 根据父ID分页查询
     *
     * @param metaid
     * @param name
     * @param limit
     * @param offset
     * @return
     */
    public List<MetaEntity> selectPageByPid(Integer metaid, String name, Integer limit, Integer offset);
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public MetaEntity selectById(int id);
    /**
     * 根据id字符串查询
     *
     * @param ids id字符串
     * @return 元数据集合
     */
    public List<MetaEntity> selectByIds(String ids);
    /**
     * 根据GUID查询
     *
     * @param guid    文件GUID
     * @param dircode 目录编码
     * @param tab     表名
     * @return
     */
    public MetaEntity selectByGuid(String guid, String dircode, String tab);
    /**
     * 根据多个ID查询元数据(数据表)
     *
     * @param ids
     * @return
     */
    public List<MetaEntity> selectByIdsForTab(String ids);
    /**
     * 查询元数据文件
     *
     * @param ids 元数据ID集合
     * @return 元数据文件集合
     */
    public List<MetaEntity> selectMetaFiles(String ids);
    /**
     * 查询Excel元数据
     *
     * @param ids  元数据ID集合
     * @param tabs 表名字符串
     * @return 元数据文件集合
     */
    public List<MetaEntity> selectXlsAnnex(Integer[] ids, String tabs);
    /**
     * 根据目录编码查询元数据文件
     *
     * @param dircode
     * @return
     */
    public List<MetaEntity> selectMetasByDirCode(String dircode);
    /**
     * 查询元数据中溢出的单位ID
     *
     * @param ids
     * @param depcode
     * @return
     */
    public List<String> selectMetaOverflowDep(String ids, String depcode);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(MetaEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<MetaEntity> list);
    /**
     * 删除多条
     *
     * @param sql
     * @param ids
     * @return
     */
    public Integer deletes(String sql, String ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(MetaEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<MetaEntity> list);
}
src/main/java/com/moon/server/mapper/data/PublishMapper.java
@@ -8,179 +8,45 @@
import java.util.List;
/**
 * 数据发布
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface PublishMapper {
    /**
     * 查询记录数
     *
     * @param name    名称
     * @param dircode 目录编码
     * @param type    类别
     * @return 记录数
     */
    public Integer selectCount(String name, String dircode, String type);
    /**
     * 分页查询
     *
     * @param name    名称
     * @param dircode 目录编码
     * @param type    类别
     * @param limit   记录数
     * @param offset  偏移量
     * @return 列表
     */
    public List<PublishEntity> selectByPage(String name, String dircode, String type, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
     */
    public List<PublishEntity> selectAll();
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public PublishEntity selectById(int id);
    /**
     * 根据ID字符串查询
     *
     * @param ids ID字符串
     * @return 记录集合
     */
    public List<PublishEntity> selectByIds(String ids);
    /**
     * 根据发布ID查询元数据
     *
     * @param pubid 发布ID
     * @return 元数据集合
     */
    public List<MetaEntity> selectMetasByPubid(Integer pubid);
    /**
     * 查询栅格数据发布
     *
     * @return 发布实体类
     */
    public List<PublishEntity> selectRaster();
    /**
     * 根据图层ID查询
     *
     * @param layerId 图层ID
     * @return 发布实体类
     */
    public PublishEntity selectByLayerId(Integer layerId);
    /**
     * 根据目录查询DOM和DEM的编码
     *
     * @param dircode 目录
     * @param isDom   1-DOM,0-DEM
     * @return
     */
    public List<String> selectCodesForDir(String dircode, Integer isDom);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(PublishEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<PublishEntity> list);
    /**
     * 插入数据发布-下载表
     *
     * @param pubid
     * @param downid
     * @param createUser
     * @return
     */
    public Integer insertPubDown(Integer pubid, Integer downid, Integer createUser);
    /**
     * 插入元数据发布类
     *
     * @param mp 元数据发布类
     * @return 影响行数
     */
    public Integer insertMetaPub(MetaPubEntity mp);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(String ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(PublishEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<PublishEntity> list);
    /**
     * 查询元数据记录数
     *
     * @param depcode 单位编码
     * @param dircode 目录编码
     * @param verid   版本ID
     * @param types   类别
     * @param name    名称
     * @return 记录数
     */
    public Integer selectMetasByCount(String depcode, String dircode, Integer verid, String types, String name);
    /**
     * 分页查询
     *
     * @param depcode 单位编码
     * @param dircode 目录编码
     * @param verid   版本ID
     * @param types   类别
     * @param name    名称
     * @param limit   记录数
     * @param offset  偏移量
     * @return 列表
     */
    public List<MetaEntity> selectMetasByPage(String depcode, String dircode, Integer verid, String types, String name, Integer limit, Integer offset);
}
src/main/java/com/moon/server/mapper/data/UploadMapper.java
@@ -8,41 +8,15 @@
import java.util.List;
/**
 * 数据上传
 * @author WWW
 */
@Mapper
@ResponseBody
@SuppressWarnings("ALL")
public interface UploadMapper {
    /**
     * 查询坐标系
     *
     * @param zoning
     * @return
     */
    public List<CoordEntity> selectCoords(String zoning);
    /**
     * 根据EPSG编码统计
     *
     * @param epsgCode
     * @return
     */
    public Integer selectCount4Coord(String epsgCode);
    /**
     * 查询项目名称
     *
     * @return
     */
    public List<DirEntity> selectProject();
    /**
     * 查询FME日志
     *
     * @param parentid
     * @return
     */
    public List<FmeLogEntity> selectFmeLog(String parentid);
}
src/main/java/com/moon/server/mapper/mn/GeoaikenperiodbasinconstructionMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoaikenperiodbasinconstruction
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoaikenperiodbasinconstructionMapper extends GeomBaseMapper<GeoaikenperiodbasinconstructionEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoaltimetricpointMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoaltimetricpoint
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoaltimetricpointMapper extends GeomBaseMapper<GeoaltimetricpointEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeocraterannotationMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geocraterannotation
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeocraterannotationMapper extends GeomBaseMapper<GeocraterannotationEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoearlyimbrian
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoearlyimbrianMapper extends GeomBaseMapper<GeoearlyimbrianEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianbasinconstructionMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoearlyimbrianbasinconstruction
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoearlyimbrianbasinconstructionMapper extends GeomBaseMapper<GeoearlyimbrianbasinconstructionEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeogoldenspikeMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geogoldenspike
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeogoldenspikeMapper extends GeomBaseMapper<GeogoldenspikeEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeograbenannotationMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geograbenannotation
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeograbenannotationMapper extends GeomBaseMapper<GeograbenannotationEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeohiddencraterMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geohiddencrater
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeohiddencraterMapper extends GeomBaseMapper<GeohiddencraterEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoimpactbasinMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoimpactbasin
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoimpactbasinMapper extends GeomBaseMapper<GeoimpactbasinEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoimpactcraterchain
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoimpactcraterchainMapper extends GeomBaseMapper<GeoimpactcraterchainEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainannotationMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoimpactcraterchainannotation
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoimpactcraterchainannotationMapper extends GeomBaseMapper<GeoimpactcraterchainannotationEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeoinferreddeepfaultMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geoinferreddeepfault
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeoinferreddeepfaultMapper extends GeomBaseMapper<GeoinferreddeepfaultEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeolunarmareannotationMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geolunarmareannotation
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeolunarmareannotationMapper extends GeomBaseMapper<GeolunarmareannotationEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeolunarpalusannotationMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geolunarpalusannotation
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeolunarpalusannotationMapper extends GeomBaseMapper<GeolunarpalusannotationEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeolunarrilleMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geolunarrille
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeolunarrilleMapper extends GeomBaseMapper<GeolunarrilleEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeomagnesiaanorthositesuiteMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geomagnesiaanorthositesuite
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeomagnesiaanorthositesuiteMapper extends GeomBaseMapper<GeomagnesiaanorthositesuiteEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeomappableunitMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geomappableunit
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeomappableunitMapper extends GeomBaseMapper<GeomappableunitEntity> {
}
src/main/java/com/moon/server/mapper/mn/GeovolcanicventMapper.java
@@ -5,11 +5,8 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
 * Geovolcanicvent
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface GeovolcanicventMapper extends GeomBaseMapper<GeovolcanicventEntity> {
}