| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoagenotdeterminedan |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoaltimetricpoint |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoconstructionunit |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geocopernicanperiod |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geocrater |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geohiddencrater |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoimpactcraterchainannotation |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geokreepbasalt |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geolandingsite |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geolobatescarp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geolunarlacusannotation |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geomagnesiaanorthositesuite |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geomagnesianrocksuite |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geonectarian |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Georicholivinerocksuite |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoshallowfault |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geovolcanicvent |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geowrinkleridgeannotation |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Lobatescarps180 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Lrocglobalmare180 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Lrolrocedrnacfootprints |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 参数设置 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class ArgsEntity implements Serializable { |
| | | private static final long serialVersionUID = -832866207909836938L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 附件 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class AttachEntity implements Serializable { |
| | | private static final long serialVersionUID = -106535972611296912L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 黑名单 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class BlacklistEntity implements Serializable { |
| | | private static final long serialVersionUID = -705887305878981632L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 下载日志 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class DownlogEntity implements Serializable { |
| | | private static final long serialVersionUID = -295796504381949312L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 图层 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class LayerEntity implements Serializable { |
| | | private static final long serialVersionUID = -371902381708800000L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 菜单-权限 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class MenuAuthEntity implements Serializable { |
| | | private static final long serialVersionUID = -298515079682001408L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 元数据-下载 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class MetaDownEntity implements Serializable { |
| | | private static final long serialVersionUID = -254142742722361696L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 报告模板 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class ReportEntity implements Serializable { |
| | | private static final long serialVersionUID = -976039118587988992L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 资源 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class ResEntity implements Serializable { |
| | | private static final long serialVersionUID = -286579305905187168L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 资源日志 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class ResLogEntity implements Serializable { |
| | | private static final long serialVersionUID = -766548673513600896L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 角色-菜单 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class RoleMenuAuthEntity implements Serializable { |
| | | private static final long serialVersionUID = -510981272678347904L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 角色-资源 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class RoleResEntity implements Serializable { |
| | | private static final long serialVersionUID = -634834740606525312L; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * 角色-用户 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class RoleUserEntity implements Serializable { |
| | | private static final long serialVersionUID = -20966072576570360L; |
| | | |
| | |
| | | |
| | | 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); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取Bean |
| | | * |
| | | * @param className 类名 |
| | | * @return Bean |
| | | */ |
| | | public static Object getBean(String className) { |
| | | try { |
| | | Object obj = SpringContextHelper.getBean(className); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取父Mapper |
| | | * |
| | | * @param name Mapper名 |
| | | * @return BaseMapper |
| | | */ |
| | | public static BasicMapper getBasicMapper(String name) { |
| | | if (StringHelper.isEmpty(name)) { |
| | | return null; |
| | |
| | | return (BasicMapper) obj; |
| | | } |
| | | |
| | | /** |
| | | * 获取空间父Mapper |
| | | * |
| | | * @param name Mapper名 |
| | | * @return GeomBaseMapper |
| | | */ |
| | | public static GeomBaseMapper getGeoBaseMapper(String name) { |
| | | if (StringHelper.isEmpty(name)) { |
| | | return null; |
| | |
| | | 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"); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据BaseMapper创建实体类 |
| | | * |
| | | * @param baseMapper 父Mapper |
| | | * @return 实体类 |
| | | */ |
| | | public static Object createEntityByMapper(BaseMapper baseMapper) { |
| | | String className = getClassName(baseMapper); |
| | | className = className.replace(".mapper", ".entity").replace("Mapper", "Entity"); |
| | |
| | | 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) { |
| | |
| | | return ""; |
| | | } |
| | | |
| | | /** |
| | | * 获取文件扩展名 |
| | | */ |
| | | public static String getExtension(File file) { |
| | | if (file == null) { |
| | | return null; |
| | |
| | | return fileName.substring(idx); |
| | | } |
| | | |
| | | /** |
| | | * 获取文件扩展名 |
| | | */ |
| | | public static String getExtension(String fileName) { |
| | | if (StringHelper.isEmpty(fileName)) { |
| | | return ""; |
| | |
| | | return fileName.substring(idx).toLowerCase(); |
| | | } |
| | | |
| | | /** |
| | | * 获取多用途互联网邮件扩展类型 |
| | | * |
| | | * @param ext 文件扩展名 |
| | | * @return |
| | | */ |
| | | public static String getMime(String ext) { |
| | | switch (ext) { |
| | | // 图片 |
| | | case ".tif": |
| | | case ".tiff": |
| | | return "image/tiff"; |
| | |
| | | return "image/jpeg"; |
| | | case ".png": |
| | | return "image/png"; |
| | | // 音/视频 |
| | | case ".mp3": |
| | | return "audio/mp3"; |
| | | case ".mp4": |
| | |
| | | return "application/vnd.rn-realmedia"; |
| | | case ".rmvb": |
| | | return "application/vnd.rn-realmedia-vbr"; |
| | | // 网页 |
| | | case ".js": |
| | | return "application/x-javascript"; |
| | | case ".css": |
| | |
| | | case ".xml": |
| | | case ".svg": |
| | | return "text/xml"; |
| | | // 文件 |
| | | case ".txt": |
| | | return "text/plain"; |
| | | case ".dbf": |
| | |
| | | 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) { |
| | |
| | | return new DecimalFormat("#.##TB").format(tbNumber); |
| | | } |
| | | |
| | | /** |
| | | * 获取文件大小 |
| | | */ |
| | | public static String getSizes(double mbNumber) { |
| | | if (mbNumber < StaticData.D1024) { |
| | | return new DecimalFormat("#.##MB").format(mbNumber); |
| | |
| | | return new DecimalFormat("#.##TB").format(tbNumber); |
| | | } |
| | | |
| | | /** |
| | | * byte转MB |
| | | */ |
| | | public static double sizeToMb(long size) { |
| | | if (size < StaticData.D1050) { |
| | | return 0.001; |
| | |
| | | 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); |
| | |
| | | return md5; |
| | | } |
| | | |
| | | /** |
| | | * 2.获取快速 MD5 码 |
| | | */ |
| | | public static String getFastMd5(String filePath) throws IOException { |
| | | String hash = MD5.asHex(MD5.getHash(new File(filePath))); |
| | | |
| | |
| | | return md5.asHex(); |
| | | } |
| | | |
| | | /** |
| | | * 删除文件 |
| | | */ |
| | | public static void deleteFiles(List<MetaFileEntity> list) { |
| | | try { |
| | | for (MetaFileEntity mf : list) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 删除文件夹 |
| | | * |
| | | * @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; |
| | |
| | | file.delete(); |
| | | } |
| | | |
| | | /** |
| | | * 获取相对路径 |
| | | * |
| | | * @param file 文件 |
| | | * @return 相对路径 |
| | | */ |
| | | public static String getRelativePath(String file) { |
| | | if (StringHelper.isEmpty(file)) { |
| | | return null; |
| | |
| | | return file.substring(start + 1); |
| | | } |
| | | |
| | | /** |
| | | * 获取路径 |
| | | * |
| | | * @param file 文件 |
| | | * @return 文件路径 |
| | | */ |
| | | public static String getPath(String file) { |
| | | if (StringHelper.isEmpty(file)) { |
| | | return null; |
| | |
| | | return file.substring(0, end); |
| | | } |
| | | |
| | | /** |
| | | * 1.获取文件的MD5 |
| | | */ |
| | | @SuppressWarnings("unused") |
| | | public static String getFileMd5(String filePath) { |
| | | FileInputStream fis = null; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 字节码转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 { |
| | |
| | | return builder.toString(); |
| | | } |
| | | |
| | | /** |
| | | * 根据路径获取文件 |
| | | */ |
| | | public static void getFilesByPath(List<String> list, String path) { |
| | | File file = new File(path); |
| | | if (file.isDirectory()) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 复制文件 |
| | | * |
| | | * @param src 源文件 |
| | | * @param dest 目录文件 |
| | | */ |
| | | public static void copyFile(File src, File dest) throws IOException { |
| | | InputStream is = null; |
| | | OutputStream os = null; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 过滤输入字符串, 剔除多行注释以及替换掉反斜杠 |
| | | */ |
| | | public static String filter(String str) { |
| | | return str.replaceAll("/\\*[\\s\\S]*?\\*/", ""); |
| | | } |
| | | |
| | | /** |
| | | * 解码 |
| | | */ |
| | | public static String decode(String str) { |
| | | try { |
| | | return URLDecoder.decode(str, "UTF-8"); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取ClassPath-jar |
| | | */ |
| | | public static String getClassPathForJar() { |
| | | URL resource = ClassLoader.getSystemResource(""); |
| | | if (null == resource) { |
| | |
| | | return decode(filter(resource.getPath())); |
| | | } |
| | | |
| | | /** |
| | | * 获取ClassPath-war |
| | | */ |
| | | public static String getClassPathForWar() throws IOException { |
| | | ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(); |
| | | |
| | |
| | | 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) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 销毁资源 |
| | | */ |
| | | public static void delete(DataSource dataSource, Driver driver) { |
| | | try { |
| | | if (null != dataSource) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 销毁资源 |
| | | */ |
| | | 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<>(); |
| | | |
| | |
| | | return list; |
| | | } |
| | | |
| | | /** |
| | | * 读取数据 |
| | | */ |
| | | public static <T> List<T> readData(Class clazz, String filePath, String layerName, boolean isTransform) { |
| | | List<T> list = new ArrayList<>(); |
| | | |
| | |
| | | return list; |
| | | } |
| | | |
| | | /** |
| | | * 读取图层 |
| | | */ |
| | | public static <T> void readLayer(Class clazz, Layer layer, List<T> list, boolean isTransform) { |
| | | try { |
| | | Field gField = getGeomField(clazz); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取坐标转换器 |
| | | */ |
| | | private static CoordinateTransformation getCoordinateTransformation(Layer layer, boolean isTransform) { |
| | | if (!isTransform) { |
| | | return null; |
| | |
| | | return CoordinateTransformation.CreateCoordinateTransformation(layer.GetSpatialRef(), srTarget); |
| | | } |
| | | |
| | | /** |
| | | * 获取 geom 字段 |
| | | */ |
| | | private static Field getGeomField(Class clazz) { |
| | | try { |
| | | Field gField = clazz.getSuperclass().getDeclaredField("geom"); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取字段映射 |
| | | */ |
| | | private static void getFieldMapper(Class clazz, Layer layer, Map<Integer, Field> map) { |
| | | try { |
| | | FeatureDefn fd = layer.GetLayerDefn(); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 读取Feature |
| | | */ |
| | | private static <T> void readFeature(T t, Feature f, Map<Integer, Field> map, Field gField, CoordinateTransformation ct) { |
| | | for (Integer i : map.keySet()) { |
| | | try { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 设置值 |
| | | */ |
| | | public static <T> void setValue(T t, Feature f, Field field, Integer i) throws Exception { |
| | | switch (field.getType().getName()) { |
| | | case "java.math.BigDecimal": |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 设置 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) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取 Timestamp |
| | | */ |
| | | public static Timestamp getTimestamp(Feature f, int index) { |
| | | int[] pnYear = new int[1]; |
| | | int[] pnMonth = new int[1]; |
| | |
| | | return Timestamp.valueOf(localDateTime); |
| | | } |
| | | |
| | | /** |
| | | * 获取 LocalDate |
| | | */ |
| | | public static LocalDate getLocalDate(Feature f, int index) { |
| | | int[] pnYear = new int[1]; |
| | | int[] pnMonth = new int[1]; |
| | |
| | | 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; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 创建图层 |
| | | */ |
| | | private static Layer createLayer(DataSource dataSource, BasicMapper baseMapper ) { |
| | | String tab = BaseQueryService.getTabName(baseMapper); |
| | | if (StringHelper.isNull(tab)) { |
| | |
| | | return dataSource.CreateLayer(tab.replace(".", "_"), sr, getGeomType(geomType), null); |
| | | } |
| | | |
| | | /** |
| | | * 获取Geom类别 |
| | | */ |
| | | private static Integer getGeomType(String geomType) { |
| | | if (StringHelper.isEmpty(geomType)) { |
| | | return ogr.wkbPoint; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取字段 |
| | | */ |
| | | public static void getFields(Class clazz, List<Field> list, List<String> excludeFields) { |
| | | try { |
| | | Field[] fields = clazz.getDeclaredFields(); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 添加图层字段 |
| | | */ |
| | | public static void addLayerField(Layer layer, List<Field> list) { |
| | | for (int i = 0, c = list.size(); i < c; i++) { |
| | | Field f = list.get(i); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取字段类型 |
| | | */ |
| | | private static Integer getFieldType(Field f) { |
| | | switch (f.getType().getName()) { |
| | | case "java.math.BigDecimal": |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 设置图层数据 |
| | | */ |
| | | 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()); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 设置要素的数据 |
| | | */ |
| | | 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); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 设置Timestamp |
| | | */ |
| | | private static void setTimestamp(Feature f, int i, Timestamp time) { |
| | | if (null == time) { |
| | | return; |
| | |
| | | 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; |
| | |
| | | import java.io.File; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 路径帮助类 |
| | | * @author WWW |
| | | */ |
| | | @Component |
| | | @SuppressWarnings("ALL") |
| | | public class PathHelper { |
| | | @Autowired |
| | | private PropertiesConfig config; |
| | |
| | | return uploadPath; |
| | | } |
| | | |
| | | /** |
| | | * 初始化 |
| | | */ |
| | | public void init() { |
| | | downloadPath = getSubPath(config.getDownloadPath(), downloadPath); |
| | | uploadPath = getSubPath(config.getUploadPath(), uploadPath); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取下载完整目录 |
| | | */ |
| | | 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; |
| | |
| | | return path; |
| | | } |
| | | |
| | | /** |
| | | * 获取临时路径 |
| | | */ |
| | | public String getTempPath(String subPath) { |
| | | if (!StringHelper.isEmpty(subPath)) { |
| | | String path = config.getTempPath() + File.separator + subPath; |
| | |
| | | return getTempPath(); |
| | | } |
| | | |
| | | /** |
| | | * 获取临时路径名称 |
| | | */ |
| | | public String getTempPathName() { |
| | | String tempName = StringHelper.YMDHMS2_FORMAT.format(new Date()); |
| | | String path = config.getTempPath() + File.separator + tempName; |
| | |
| | | return tempName; |
| | | } |
| | | |
| | | /** |
| | | * 删除旧路径 |
| | | */ |
| | | public void deleteOldPath(String tempPath) { |
| | | try { |
| | | double ran = Math.random() * 99; |
| | |
| | | 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; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 读取ShapeFile文件获取Mark实体类 |
| | | */ |
| | | public static List<MarkJsonEntity> readShpForMarks(String filePath) { |
| | | Driver driver = null; |
| | | DataSource dataSource = null; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取shp字段信息 |
| | | */ |
| | | private static Map<Integer, Field> getShpFields(Layer layer) { |
| | | FeatureDefn featureDefn = layer.GetLayerDefn(); |
| | | |
| | |
| | | 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++) { |
| | |
| | | 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; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取图形类型 |
| | | */ |
| | | private static int getGeometryType(String type) { |
| | | switch (type) { |
| | | case "POINT": |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 读取数据 |
| | | */ |
| | | public static <T> List<T> readData(Class clazz, String filePath, boolean isTransform) { |
| | | List<T> list = new ArrayList<>(); |
| | | |
| | |
| | | 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()); |
| | |
| | | |
| | | ZipParameters params = getZipParams(!StringHelper.isEmpty(pwd)); |
| | | |
| | | // 要打包的文件或文件夹 |
| | | File currentFile = new File(sourcePath); |
| | | if (currentFile.isDirectory()) { |
| | | zip.addFolder(currentFile, params); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 创建ZipFile |
| | | */ |
| | | public static ZipFile createZipFile(String zipFile, String pwd) { |
| | | try { |
| | | ZipFile zip = StringHelper.isEmpty(pwd) ? new ZipFile(zipFile) : new ZipFile(zipFile, pwd.toCharArray()); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取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(); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 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; |
| | |
| | | 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; |
| | | |
| | |
| | | |
| | | 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 { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 创建目录 |
| | | */ |
| | | private static void createDirs(ZipFile zipFile, String zipDir) { |
| | | Enumeration<?> e = zipFile.entries(); |
| | | while (e.hasMoreElements()) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 写文件 |
| | | */ |
| | | private static void writeFiles(ZipFile zipFile, String zipDir) throws IOException { |
| | | Enumeration<?> e = zipFile.entries(); |
| | | while (e.hasMoreElements()) { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 写文件 |
| | | */ |
| | | private static void writeFile(ZipFile zipFile, ZipEntry entry, String zipDir) throws IOException { |
| | | int count; |
| | | |
| | |
| | | is.close(); |
| | | } |
| | | |
| | | /** |
| | | * Zip压缩 |
| | | * |
| | | * @param zipFile zip源文件 |
| | | * @param sourceDir 源文件夹 |
| | | * @return 成功是/否 |
| | | */ |
| | | public static boolean zip(String zipFile, String sourceDir) { |
| | | FileOutputStream fos = null; |
| | | ZipOutputStream zos = null; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 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) { |
| | |
| | | } else { |
| | | File[] listFiles = sourceFile.listFiles(); |
| | | if (listFiles == null || listFiles.length == 0) { |
| | | // 空文件夹的处理:没有文件,不需要文件的copy |
| | | zos.putNextEntry(new ZipEntry(name + "/")); |
| | | zos.closeEntry(); |
| | | } else { |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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'>" + |
| | |
| | | "</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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoaikenperiodbasinconstruction |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoaikenperiodbasinconstructionMapper extends GeomBaseMapper<GeoaikenperiodbasinconstructionEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoaltimetricpoint |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoaltimetricpointMapper extends GeomBaseMapper<GeoaltimetricpointEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geocraterannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeocraterannotationMapper extends GeomBaseMapper<GeocraterannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoearlyimbrian |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoearlyimbrianMapper extends GeomBaseMapper<GeoearlyimbrianEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoearlyimbrianbasinconstruction |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoearlyimbrianbasinconstructionMapper extends GeomBaseMapper<GeoearlyimbrianbasinconstructionEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geogoldenspike |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeogoldenspikeMapper extends GeomBaseMapper<GeogoldenspikeEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geograbenannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeograbenannotationMapper extends GeomBaseMapper<GeograbenannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geohiddencrater |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeohiddencraterMapper extends GeomBaseMapper<GeohiddencraterEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoimpactbasin |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoimpactbasinMapper extends GeomBaseMapper<GeoimpactbasinEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoimpactcraterchain |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoimpactcraterchainMapper extends GeomBaseMapper<GeoimpactcraterchainEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoimpactcraterchainannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoimpactcraterchainannotationMapper extends GeomBaseMapper<GeoimpactcraterchainannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoinferreddeepfault |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoinferreddeepfaultMapper extends GeomBaseMapper<GeoinferreddeepfaultEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarmareannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarmareannotationMapper extends GeomBaseMapper<GeolunarmareannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarpalusannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarpalusannotationMapper extends GeomBaseMapper<GeolunarpalusannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarrille |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarrilleMapper extends GeomBaseMapper<GeolunarrilleEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geomagnesiaanorthositesuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeomagnesiaanorthositesuiteMapper extends GeomBaseMapper<GeomagnesiaanorthositesuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geomappableunit |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeomappableunitMapper extends GeomBaseMapper<GeomappableunitEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geovolcanicvent |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeovolcanicventMapper extends GeomBaseMapper<GeovolcanicventEntity> { |
| | | } |