From 024e90554d19c2342f27a26f91bbea378f84da82 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 13 十一月 2024 17:25:18 +0800 Subject: [PATCH] 1 --- src/main/java/com/moon/server/mapper/mn/GeogoldenspikeMapper.java | 5 src/main/java/com/moon/server/entity/sys/ReportEntity.java | 5 src/main/java/com/moon/server/helper/ClassHelper.java | 48 - src/main/java/com/moon/server/helper/GdbHelper.java | 88 --- src/main/java/com/moon/server/entity/sys/ResLogEntity.java | 5 src/main/java/com/moon/server/helper/ShpHelper.java | 31 - src/main/java/com/moon/server/entity/mn/GeoagenotdeterminedanEntity.java | 4 src/main/java/com/moon/server/helper/PathHelper.java | 26 - src/main/java/com/moon/server/mapper/mn/GeomagnesiaanorthositesuiteMapper.java | 5 src/main/java/com/moon/server/entity/sys/ResEntity.java | 5 src/main/java/com/moon/server/entity/mn/GeokreepbasaltEntity.java | 4 src/main/java/com/moon/server/mapper/mn/GeograbenannotationMapper.java | 5 src/main/java/com/moon/server/mapper/mn/GeoinferreddeepfaultMapper.java | 5 src/main/java/com/moon/server/entity/sys/RoleMenuAuthEntity.java | 5 src/main/java/com/moon/server/entity/mn/GeolandingsiteEntity.java | 4 src/main/java/com/moon/server/entity/mn/GeoshallowfaultEntity.java | 4 src/main/java/com/moon/server/entity/mn/GeolunarlacusannotationEntity.java | 4 src/main/java/com/moon/server/entity/mn/GeocraterEntity.java | 4 src/main/java/com/moon/server/mapper/data/DictMapper.java | 70 -- src/main/java/com/moon/server/entity/mn/GeoricholivinerocksuiteEntity.java | 4 src/main/java/com/moon/server/mapper/mn/GeoimpactbasinMapper.java | 5 src/main/java/com/moon/server/mapper/mn/GeomappableunitMapper.java | 5 src/main/java/com/moon/server/mapper/all/GeomBaseMapper.java | 41 - src/main/java/com/moon/server/entity/mn/GeocopernicanperiodEntity.java | 4 src/main/java/com/moon/server/entity/sys/MenuAuthEntity.java | 5 src/main/java/com/moon/server/entity/mn/GeoconstructionunitEntity.java | 4 src/main/java/com/moon/server/entity/mn/GeonectarianEntity.java | 4 src/main/java/com/moon/server/entity/mn/LrolrocedrnacfootprintsEntity.java | 4 src/main/java/com/moon/server/mapper/data/ColortabMapper.java | 66 -- src/main/java/com/moon/server/entity/sys/LayerEntity.java | 5 src/main/java/com/moon/server/entity/sys/DownlogEntity.java | 5 src/main/java/com/moon/server/entity/sys/MetaDownEntity.java | 5 src/main/java/com/moon/server/mapper/data/DownloadMapper.java | 90 --- src/main/java/com/moon/server/mapper/mn/GeolunarrilleMapper.java | 5 src/main/java/com/moon/server/entity/sys/ArgsEntity.java | 5 src/main/java/com/moon/server/entity/mn/GeovolcanicventEntity.java | 4 src/main/java/com/moon/server/mapper/mn/GeovolcanicventMapper.java | 5 src/main/java/com/moon/server/mapper/all/BasicMapper.java | 35 - src/main/java/com/moon/server/mapper/mn/GeoaltimetricpointMapper.java | 5 src/main/java/com/moon/server/mapper/data/MetaMapper.java | 176 ------- src/main/java/com/moon/server/helper/Zip4jHelper.java | 45 - src/main/java/com/moon/server/entity/mn/GeohiddencraterEntity.java | 4 src/main/java/com/moon/server/mapper/mn/GeohiddencraterMapper.java | 5 src/main/java/com/moon/server/entity/mn/GeowrinkleridgeannotationEntity.java | 4 src/main/java/com/moon/server/entity/mn/GeomagnesiaanorthositesuiteEntity.java | 4 src/main/java/com/moon/server/mapper/data/DomainMapper.java | 77 --- src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianbasinconstructionMapper.java | 5 src/main/java/com/moon/server/entity/mn/GeoimpactcraterchainannotationEntity.java | 4 src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainMapper.java | 5 src/main/java/com/moon/server/entity/sys/AttachEntity.java | 5 src/main/java/com/moon/server/entity/sys/BlacklistEntity.java | 5 src/main/java/com/moon/server/helper/ZipHelper.java | 39 - src/main/java/com/moon/server/mapper/mn/GeoaikenperiodbasinconstructionMapper.java | 5 src/main/java/com/moon/server/entity/mn/GeomagnesianrocksuiteEntity.java | 4 src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainannotationMapper.java | 5 src/main/java/com/moon/server/mapper/mn/GeolunarmareannotationMapper.java | 5 src/main/java/com/moon/server/entity/mn/GeolobatescarpEntity.java | 4 src/main/java/com/moon/server/entity/mn/Lobatescarps180Entity.java | 4 src/main/java/com/moon/server/mapper/mn/GeocraterannotationMapper.java | 5 src/main/java/com/moon/server/mapper/data/UploadMapper.java | 28 - src/main/java/com/moon/server/mapper/data/PublishMapper.java | 136 ----- src/main/java/com/moon/server/entity/sys/RoleUserEntity.java | 5 src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianMapper.java | 5 src/main/java/com/moon/server/entity/sys/RoleResEntity.java | 5 src/main/java/com/moon/server/mapper/all/PermsMapper.java | 58 -- src/main/java/com/moon/server/mapper/mn/GeolunarpalusannotationMapper.java | 5 src/main/java/com/moon/server/entity/mn/Lrocglobalmare180Entity.java | 4 src/main/java/com/moon/server/helper/FileHelper.java | 105 ---- src/main/java/com/moon/server/entity/mn/GeoaltimetricpointEntity.java | 4 69 files changed, 48 insertions(+), 1,350 deletions(-) diff --git a/src/main/java/com/moon/server/entity/mn/GeoagenotdeterminedanEntity.java b/src/main/java/com/moon/server/entity/mn/GeoagenotdeterminedanEntity.java index ba5a8ef..aaa47c1 100644 --- a/src/main/java/com/moon/server/entity/mn/GeoagenotdeterminedanEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeoaltimetricpointEntity.java b/src/main/java/com/moon/server/entity/mn/GeoaltimetricpointEntity.java index 0488a49..148b611 100644 --- a/src/main/java/com/moon/server/entity/mn/GeoaltimetricpointEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeoconstructionunitEntity.java b/src/main/java/com/moon/server/entity/mn/GeoconstructionunitEntity.java index c05b909..ae2555d 100644 --- a/src/main/java/com/moon/server/entity/mn/GeoconstructionunitEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeocopernicanperiodEntity.java b/src/main/java/com/moon/server/entity/mn/GeocopernicanperiodEntity.java index 5942ccb..dc37b2e 100644 --- a/src/main/java/com/moon/server/entity/mn/GeocopernicanperiodEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeocraterEntity.java b/src/main/java/com/moon/server/entity/mn/GeocraterEntity.java index 46e161c..532f0d5 100644 --- a/src/main/java/com/moon/server/entity/mn/GeocraterEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeohiddencraterEntity.java b/src/main/java/com/moon/server/entity/mn/GeohiddencraterEntity.java index b39c45e..d11b2bd 100644 --- a/src/main/java/com/moon/server/entity/mn/GeohiddencraterEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeoimpactcraterchainannotationEntity.java b/src/main/java/com/moon/server/entity/mn/GeoimpactcraterchainannotationEntity.java index 97e75ba..f8838d7 100644 --- a/src/main/java/com/moon/server/entity/mn/GeoimpactcraterchainannotationEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeokreepbasaltEntity.java b/src/main/java/com/moon/server/entity/mn/GeokreepbasaltEntity.java index a02b374..37fd84e 100644 --- a/src/main/java/com/moon/server/entity/mn/GeokreepbasaltEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeolandingsiteEntity.java b/src/main/java/com/moon/server/entity/mn/GeolandingsiteEntity.java index bb92e6b..bce5203 100644 --- a/src/main/java/com/moon/server/entity/mn/GeolandingsiteEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeolobatescarpEntity.java b/src/main/java/com/moon/server/entity/mn/GeolobatescarpEntity.java index d2b3641..434ebe1 100644 --- a/src/main/java/com/moon/server/entity/mn/GeolobatescarpEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeolunarlacusannotationEntity.java b/src/main/java/com/moon/server/entity/mn/GeolunarlacusannotationEntity.java index 690c682..1bf72fc 100644 --- a/src/main/java/com/moon/server/entity/mn/GeolunarlacusannotationEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeomagnesiaanorthositesuiteEntity.java b/src/main/java/com/moon/server/entity/mn/GeomagnesiaanorthositesuiteEntity.java index 8cd2951..83f6061 100644 --- a/src/main/java/com/moon/server/entity/mn/GeomagnesiaanorthositesuiteEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeomagnesianrocksuiteEntity.java b/src/main/java/com/moon/server/entity/mn/GeomagnesianrocksuiteEntity.java index f93ee56..e8dd56a 100644 --- a/src/main/java/com/moon/server/entity/mn/GeomagnesianrocksuiteEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeonectarianEntity.java b/src/main/java/com/moon/server/entity/mn/GeonectarianEntity.java index 0dddd57..87e8810 100644 --- a/src/main/java/com/moon/server/entity/mn/GeonectarianEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeoricholivinerocksuiteEntity.java b/src/main/java/com/moon/server/entity/mn/GeoricholivinerocksuiteEntity.java index cee612e..8adc9ef 100644 --- a/src/main/java/com/moon/server/entity/mn/GeoricholivinerocksuiteEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeoshallowfaultEntity.java b/src/main/java/com/moon/server/entity/mn/GeoshallowfaultEntity.java index 086fa6f..40e38ce 100644 --- a/src/main/java/com/moon/server/entity/mn/GeoshallowfaultEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeovolcanicventEntity.java b/src/main/java/com/moon/server/entity/mn/GeovolcanicventEntity.java index 3c2fe78..b64ac72 100644 --- a/src/main/java/com/moon/server/entity/mn/GeovolcanicventEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/GeowrinkleridgeannotationEntity.java b/src/main/java/com/moon/server/entity/mn/GeowrinkleridgeannotationEntity.java index 236fb1c..06bd090 100644 --- a/src/main/java/com/moon/server/entity/mn/GeowrinkleridgeannotationEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/Lobatescarps180Entity.java b/src/main/java/com/moon/server/entity/mn/Lobatescarps180Entity.java index f1a7844..da16f3b 100644 --- a/src/main/java/com/moon/server/entity/mn/Lobatescarps180Entity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/Lrocglobalmare180Entity.java b/src/main/java/com/moon/server/entity/mn/Lrocglobalmare180Entity.java index 67a1986..ed1ee08 100644 --- a/src/main/java/com/moon/server/entity/mn/Lrocglobalmare180Entity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/mn/LrolrocedrnacfootprintsEntity.java b/src/main/java/com/moon/server/entity/mn/LrolrocedrnacfootprintsEntity.java index 8bc28d9..d88c671 100644 --- a/src/main/java/com/moon/server/entity/mn/LrolrocedrnacfootprintsEntity.java +++ b/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") diff --git a/src/main/java/com/moon/server/entity/sys/ArgsEntity.java b/src/main/java/com/moon/server/entity/sys/ArgsEntity.java index 7c6b20f..a99c213 100644 --- a/src/main/java/com/moon/server/entity/sys/ArgsEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/AttachEntity.java b/src/main/java/com/moon/server/entity/sys/AttachEntity.java index 62e2bf6..8e982ca 100644 --- a/src/main/java/com/moon/server/entity/sys/AttachEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/BlacklistEntity.java b/src/main/java/com/moon/server/entity/sys/BlacklistEntity.java index f0ef118..d2e55da 100644 --- a/src/main/java/com/moon/server/entity/sys/BlacklistEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/DownlogEntity.java b/src/main/java/com/moon/server/entity/sys/DownlogEntity.java index b2d087a..56fb7e6 100644 --- a/src/main/java/com/moon/server/entity/sys/DownlogEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/LayerEntity.java b/src/main/java/com/moon/server/entity/sys/LayerEntity.java index 625c541..6c65907 100644 --- a/src/main/java/com/moon/server/entity/sys/LayerEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/MenuAuthEntity.java b/src/main/java/com/moon/server/entity/sys/MenuAuthEntity.java index fc69a91..7b84cbd 100644 --- a/src/main/java/com/moon/server/entity/sys/MenuAuthEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/MetaDownEntity.java b/src/main/java/com/moon/server/entity/sys/MetaDownEntity.java index 95dcb7d..8ce2d9d 100644 --- a/src/main/java/com/moon/server/entity/sys/MetaDownEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/ReportEntity.java b/src/main/java/com/moon/server/entity/sys/ReportEntity.java index 40880b1..d7a4d5b 100644 --- a/src/main/java/com/moon/server/entity/sys/ReportEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/ResEntity.java b/src/main/java/com/moon/server/entity/sys/ResEntity.java index 8a510bc..4aba16e 100644 --- a/src/main/java/com/moon/server/entity/sys/ResEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/ResLogEntity.java b/src/main/java/com/moon/server/entity/sys/ResLogEntity.java index 785017f..88e0e77 100644 --- a/src/main/java/com/moon/server/entity/sys/ResLogEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/RoleMenuAuthEntity.java b/src/main/java/com/moon/server/entity/sys/RoleMenuAuthEntity.java index 3aa4c10..bd3c3eb 100644 --- a/src/main/java/com/moon/server/entity/sys/RoleMenuAuthEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/RoleResEntity.java b/src/main/java/com/moon/server/entity/sys/RoleResEntity.java index 2ce7302..f2256e6 100644 --- a/src/main/java/com/moon/server/entity/sys/RoleResEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/entity/sys/RoleUserEntity.java b/src/main/java/com/moon/server/entity/sys/RoleUserEntity.java index a2a9d36..4eef0da 100644 --- a/src/main/java/com/moon/server/entity/sys/RoleUserEntity.java +++ b/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; diff --git a/src/main/java/com/moon/server/helper/ClassHelper.java b/src/main/java/com/moon/server/helper/ClassHelper.java index f94a2c2..c7d5a5b 100644 --- a/src/main/java/com/moon/server/helper/ClassHelper.java +++ b/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 @@ } } - /** - * 鑾峰彇鐖禡apper - * - * @param name Mapper鍚� - * @return BaseMapper - */ public static BasicMapper getBasicMapper(String name) { if (StringHelper.isEmpty(name)) { return null; @@ -70,12 +49,6 @@ return (BasicMapper) obj; } - /** - * 鑾峰彇绌洪棿鐖禡apper - * - * @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 鐖禡apper - * @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 鐖禡apper - * @return 瀹炰綋绫� - */ public static Object createEntityByMapper(BaseMapper baseMapper) { String className = getClassName(baseMapper); className = className.replace(".mapper", ".entity").replace("Mapper", "Entity"); diff --git a/src/main/java/com/moon/server/helper/FileHelper.java b/src/main/java/com/moon/server/helper/FileHelper.java index d33cf02..69e83e5 100644 --- a/src/main/java/com/moon/server/helper/FileHelper.java +++ b/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杞琈B - */ 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.鑾峰彇鏂囦欢鐨凪D5 - */ @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]*?\\*/", ""); } - /** - * 瑙g爜 - */ 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(); diff --git a/src/main/java/com/moon/server/helper/GdbHelper.java b/src/main/java/com/moon/server/helper/GdbHelper.java index 002809c..c037585 100644 --- a/src/main/java/com/moon/server/helper/GdbHelper.java +++ b/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; diff --git a/src/main/java/com/moon/server/helper/PathHelper.java b/src/main/java/com/moon/server/helper/PathHelper.java index 0c2604e..a039e3e 100644 --- a/src/main/java/com/moon/server/helper/PathHelper.java +++ b/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; diff --git a/src/main/java/com/moon/server/helper/ShpHelper.java b/src/main/java/com/moon/server/helper/ShpHelper.java index 4ef01bd..1160569 100644 --- a/src/main/java/com/moon/server/helper/ShpHelper.java +++ b/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 绫诲瀷锛歅OINT,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<>(); diff --git a/src/main/java/com/moon/server/helper/Zip4jHelper.java b/src/main/java/com/moon/server/helper/Zip4jHelper.java index a81e7f3..c6392e3 100644 --- a/src/main/java/com/moon/server/helper/Zip4jHelper.java +++ b/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鍔犲瘑寮哄害锛欿EY_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瑙e帇 - * - * @param zipFile zip鏂囦欢 - * @param toPath 瑙e帇璺緞 - * @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()); } - // 瑙e帇缂╂墍鏈夋枃浠朵互鍙婃枃浠跺す zip.extractAll(toPath); return true; diff --git a/src/main/java/com/moon/server/helper/ZipHelper.java b/src/main/java/com/moon/server/helper/ZipHelper.java index 9b1ce99..8e09629 100644 --- a/src/main/java/com/moon/server/helper/ZipHelper.java +++ b/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瑙e帇 - * - * @param filePath zip鏂囦欢 - * @param zipDir 瑙e帇璺緞 - * @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()) { - // 鍚憐ip杈撳嚭娴佷腑娣诲姞涓�涓獄ip瀹炰綋锛屾瀯閫犲櫒涓璶ame涓簔ip瀹炰綋鐨勬枃浠剁殑鍚嶅瓧 zos.putNextEntry(new ZipEntry(name)); - // copy鏂囦欢鍒皕ip杈撳嚭娴佷腑 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 { diff --git a/src/main/java/com/moon/server/mapper/all/BasicMapper.java b/src/main/java/com/moon/server/mapper/all/BasicMapper.java index a1cd709..e20e518 100644 --- a/src/main/java/com/moon/server/mapper/all/BasicMapper.java +++ b/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); } diff --git a/src/main/java/com/moon/server/mapper/all/GeomBaseMapper.java b/src/main/java/com/moon/server/mapper/all/GeomBaseMapper.java index 01d5153..623f85a 100644 --- a/src/main/java/com/moon/server/mapper/all/GeomBaseMapper.java +++ b/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 婧㈠嚭鐨勫崟浣岻D - */ @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); } diff --git a/src/main/java/com/moon/server/mapper/all/PermsMapper.java b/src/main/java/com/moon/server/mapper/all/PermsMapper.java index d1d6117..d0eaad0 100644 --- a/src/main/java/com/moon/server/mapper/all/PermsMapper.java +++ b/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); - /** - * 鏌ヨ鎵�鏈塆eoServer鐨勫浘灞傚悕 - * - * @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); } diff --git a/src/main/java/com/moon/server/mapper/data/ColortabMapper.java b/src/main/java/com/moon/server/mapper/data/ColortabMapper.java index a4e997c..eedfd92 100644 --- a/src/main/java/com/moon/server/mapper/data/ColortabMapper.java +++ b/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); } diff --git a/src/main/java/com/moon/server/mapper/data/DictMapper.java b/src/main/java/com/moon/server/mapper/data/DictMapper.java index 9638731..fe8f31b 100644 --- a/src/main/java/com/moon/server/mapper/data/DictMapper.java +++ b/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); } diff --git a/src/main/java/com/moon/server/mapper/data/DomainMapper.java b/src/main/java/com/moon/server/mapper/data/DomainMapper.java index 0580a85..cd01e17 100644 --- a/src/main/java/com/moon/server/mapper/data/DomainMapper.java +++ b/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); } diff --git a/src/main/java/com/moon/server/mapper/data/DownloadMapper.java b/src/main/java/com/moon/server/mapper/data/DownloadMapper.java index bdcdd3b..5d5c796 100644 --- a/src/main/java/com/moon/server/mapper/data/DownloadMapper.java +++ b/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); } diff --git a/src/main/java/com/moon/server/mapper/data/MetaMapper.java b/src/main/java/com/moon/server/mapper/data/MetaMapper.java index d274c3d..9416807 100644 --- a/src/main/java/com/moon/server/mapper/data/MetaMapper.java +++ b/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); - /** - * 鏍规嵁鐖禝D鏌ヨ璁板綍鏁� - * - * @param metaid - * @param name - * @return - */ public Integer selectCountByPid(Integer metaid, String name); - /** - * 鏍规嵁鐖禝D鍒嗛〉鏌ヨ - * - * @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 鍏冩暟鎹甀D闆嗗悎 - * @return 鍏冩暟鎹枃浠堕泦鍚� - */ public List<MetaEntity> selectMetaFiles(String ids); - /** - * 鏌ヨExcel鍏冩暟鎹� - * - * @param ids 鍏冩暟鎹甀D闆嗗悎 - * @param tabs 琛ㄥ悕瀛楃涓� - * @return 鍏冩暟鎹枃浠堕泦鍚� - */ public List<MetaEntity> selectXlsAnnex(Integer[] ids, String tabs); - /** - * 鏍规嵁鐩綍缂栫爜鏌ヨ鍏冩暟鎹枃浠� - * - * @param dircode - * @return - */ public List<MetaEntity> selectMetasByDirCode(String dircode); - /** - * 鏌ヨ鍏冩暟鎹腑婧㈠嚭鐨勫崟浣岻D - * - * @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); } diff --git a/src/main/java/com/moon/server/mapper/data/PublishMapper.java b/src/main/java/com/moon/server/mapper/data/PublishMapper.java index 0408083..2447260 100644 --- a/src/main/java/com/moon/server/mapper/data/PublishMapper.java +++ b/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鍜孌EM鐨勭紪鐮� - * - * @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); } diff --git a/src/main/java/com/moon/server/mapper/data/UploadMapper.java b/src/main/java/com/moon/server/mapper/data/UploadMapper.java index 558b4c0..762dcc7 100644 --- a/src/main/java/com/moon/server/mapper/data/UploadMapper.java +++ b/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); } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoaikenperiodbasinconstructionMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoaikenperiodbasinconstructionMapper.java index c8c2624..10530ec 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoaikenperiodbasinconstructionMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoaltimetricpointMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoaltimetricpointMapper.java index 695e194..b0a1813 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoaltimetricpointMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeocraterannotationMapper.java b/src/main/java/com/moon/server/mapper/mn/GeocraterannotationMapper.java index 4a8f715..1c4b6f7 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeocraterannotationMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianMapper.java index ec0783d..e729346 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianbasinconstructionMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianbasinconstructionMapper.java index ded13b7..deba0c1 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoearlyimbrianbasinconstructionMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeogoldenspikeMapper.java b/src/main/java/com/moon/server/mapper/mn/GeogoldenspikeMapper.java index 3ec7646..64c0272 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeogoldenspikeMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeograbenannotationMapper.java b/src/main/java/com/moon/server/mapper/mn/GeograbenannotationMapper.java index 81472c4..a081cc1 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeograbenannotationMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeohiddencraterMapper.java b/src/main/java/com/moon/server/mapper/mn/GeohiddencraterMapper.java index 345e3f8..afad1b6 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeohiddencraterMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoimpactbasinMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoimpactbasinMapper.java index e6f1e19..47dff65 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoimpactbasinMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainMapper.java index 91d0209..cfc737d 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainannotationMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainannotationMapper.java index 9dba302..2fe7acd 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoimpactcraterchainannotationMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeoinferreddeepfaultMapper.java b/src/main/java/com/moon/server/mapper/mn/GeoinferreddeepfaultMapper.java index 84fb9b8..5cc27e3 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeoinferreddeepfaultMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeolunarmareannotationMapper.java b/src/main/java/com/moon/server/mapper/mn/GeolunarmareannotationMapper.java index 19f0c83..d2db463 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeolunarmareannotationMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeolunarpalusannotationMapper.java b/src/main/java/com/moon/server/mapper/mn/GeolunarpalusannotationMapper.java index 2b757ce..c52f177 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeolunarpalusannotationMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeolunarrilleMapper.java b/src/main/java/com/moon/server/mapper/mn/GeolunarrilleMapper.java index 2257bc4..63de9a7 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeolunarrilleMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeomagnesiaanorthositesuiteMapper.java b/src/main/java/com/moon/server/mapper/mn/GeomagnesiaanorthositesuiteMapper.java index 0ed857e..2d9c7f3 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeomagnesiaanorthositesuiteMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeomappableunitMapper.java b/src/main/java/com/moon/server/mapper/mn/GeomappableunitMapper.java index 6ed6760..2890aac 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeomappableunitMapper.java +++ b/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> { } diff --git a/src/main/java/com/moon/server/mapper/mn/GeovolcanicventMapper.java b/src/main/java/com/moon/server/mapper/mn/GeovolcanicventMapper.java index a1e995d..16f0050 100644 --- a/src/main/java/com/moon/server/mapper/mn/GeovolcanicventMapper.java +++ b/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> { } -- Gitblit v1.9.3