| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoagenotdeterminedie |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geocapeannotation |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geocliffannotation |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoconstructionunitboundary |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geocraterfloorfracture |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geoferrousanorthositesuite |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geolateimbrian |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geolateimbrianbasinconstruction |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geolunarmarebasalt |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geomountainrangeannotation |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geonectarianbasinconstruction |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geopyroclastics |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Geosiliceousvolcanicrock |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Hiesinger2011mareageregion180 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Hiesinger2011mareageunits180 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Lola81nnppsrstereographic10km2 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Lola81ssppsrstereographic10km2 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.sql.Timestamp; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * Nacdtms180 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @SuppressWarnings("ALL") |
| | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 数简.创建图层类 |
| | | * @author WWW |
| | | * @date 2023-08-30 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class CreateLayerEntity implements Serializable { |
| | | private static final long serialVersionUID = 8392354493626395905L; |
| | | |
| | | /** |
| | | * 图层信息 |
| | | */ |
| | | private Layer layer; |
| | | |
| | | /** |
| | | * 影像目录列表 |
| | | */ |
| | | private List<ImagePathList> image_path_list; |
| | | |
| | | /** |
| | | * 金字塔配置 |
| | | */ |
| | | private ImageOvr image_ovr; |
| | | |
| | | /** |
| | | * 创建服务 |
| | | */ |
| | | private Integer create_service; |
| | | |
| | | public CreateLayerEntity() { |
| | |
| | | this.create_service = create_service; |
| | | } |
| | | |
| | | /** |
| | | * 图层信息 |
| | | */ |
| | | public class Layer { |
| | | /** |
| | | * 名称 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 数简.创建服务类 |
| | | * @author WWW |
| | | * @date 2023-08-30 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class CreateServiceEntity implements Serializable { |
| | | private static final long serialVersionUID = -8206178340920271085L; |
| | | |
| | | /** |
| | | * 图层id数组 |
| | | */ |
| | | private List<Integer> layer_list; |
| | | |
| | | /** |
| | | * 服务信息 |
| | | */ |
| | | private Services service; |
| | | |
| | | public CreateServiceEntity() { |
| | |
| | | this.service = service; |
| | | } |
| | | |
| | | /** |
| | | * 服务信息 |
| | | */ |
| | | public class Services { |
| | | /** |
| | | * 服务名7 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 配置 |
| | | */ |
| | | public class Config { |
| | | /** |
| | | * 水印 |
| | | */ |
| | | private Watermark watermark; |
| | | |
| | | public Config() { |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 水印 |
| | | */ |
| | | public class Watermark { |
| | | /** |
| | | * 水印的id号 |
| | | */ |
| | | private String watermark_id; |
| | | |
| | | public Watermark() { |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 数简.删除实体类 |
| | | * |
| | | * @author WWW |
| | | * @date 2023-08-31 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class DeleteEntity implements Serializable { |
| | | private static final long serialVersionUID = -7811360804676933841L; |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 数简.影像结果类 |
| | | * @author WWW |
| | | * @date 2023-09-13 |
| | | */ |
| | | @SuppressWarnings("AlibabaLowerCamelCaseVariableNaming") |
| | | public class ImageResultEntity { |
| | | public ImageResultEntity() { |
| | |
| | | |
| | | import java.lang.reflect.Method; |
| | | |
| | | /** |
| | | * 枚举帮助类 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class EnumHelper { |
| | | private static final String GETTER_PREFIX = "get"; |
| | | |
| | | private static Log log = LogFactory.getLog(EnumHelper.class); |
| | | |
| | | /** |
| | | * 根据名称获取枚举 |
| | | * |
| | | * @param clazz 枚举类型 |
| | | * @param name 枚举的名称,如:SqlParamType中的AND |
| | | * @return 返回枚举值 |
| | | */ |
| | | public static <T extends Enum<T>> T nameOf(Class<T> clazz, String name) { |
| | | return Enum.valueOf(clazz, name); |
| | | } |
| | | |
| | | /** |
| | | * 根据属性名+值获取枚举 |
| | | * |
| | | * @param clazz 枚举类型 |
| | | * @param propertyName 字段,如name,id |
| | | * @param value 值,如张三 |
| | | * @return 返回枚举值 |
| | | */ |
| | | public static <T extends Enum<T>> T getByString(Class<T> clazz, String propertyName, String value) { |
| | | String getterMethodName = GETTER_PREFIX + StringHelper.firstCharToUpperCase(propertyName); |
| | | T result = null; |
| | |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 根据整数获取枚举 |
| | | * |
| | | * @param clazz 枚举类型 |
| | | * @param propertyName 字段,如 age |
| | | * @param value 值,如18 |
| | | * @return 返回枚举值 |
| | | */ |
| | | public static <T extends Enum<T>> T getByInt(Class<T> clazz, String propertyName, int value) { |
| | | String getterMethodName = GETTER_PREFIX + StringHelper.firstCharToUpperCase(propertyName); |
| | | T result = null; |
| | |
| | | import java.util.LinkedHashMap; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Json帮助类 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class JsonHelper { |
| | | /** |
| | | * json串,转为LinkedHashMap |
| | | * @param json |
| | | * @return |
| | | * @throws IOException |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | public static LinkedHashMap<String, Object> json2Map(String json) throws IOException { |
| | | ObjectMapper mapper = new ObjectMapper(); |
| | |
| | | return mapper.readValue(json, LinkedHashMap.class); |
| | | } |
| | | |
| | | /** |
| | | * 对象转json |
| | | * @param obj |
| | | * @return |
| | | * @throws IOException |
| | | */ |
| | | public static String map2Json(Object obj) throws IOException { |
| | | ObjectMapper mapper = new ObjectMapper(); |
| | | mapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true).configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true); |
| | | return mapper.writeValueAsString(obj); |
| | | } |
| | | |
| | | /** |
| | | * json串,转为List<LinkedHashMap<String, Object>> |
| | | * @param json |
| | | * @return |
| | | * @throws IOException |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | public static List<LinkedHashMap<String, Object>> json2ListMap(String json) throws IOException { |
| | | ObjectMapper mapper = new ObjectMapper(); |
| | |
| | | return mapper.readValue(json, List.class); |
| | | } |
| | | |
| | | /** |
| | | * 将json字符串转为对象 |
| | | * @param json |
| | | * @param valueType |
| | | * @param <T> |
| | | * @return |
| | | * @throws IOException |
| | | */ |
| | | public static <T> T json2Object(String json, Class<T> valueType) throws IOException { |
| | | ObjectMapper mapper = new ObjectMapper(); |
| | | mapper.configure(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, true).configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true); |
| | | return mapper.readValue(json, valueType); |
| | | } |
| | | |
| | | /** |
| | | * fastjson 转对象 |
| | | * |
| | | * @param obj |
| | | * @param valueType |
| | | * @param <T> |
| | | * @return |
| | | */ |
| | | public static <T> T obj2Vo(Object obj, Class<T> valueType) { |
| | | return JSONObject.parseObject(JSONObject.toJSONString(obj), valueType); |
| | | } |
| | |
| | | import javax.crypto.spec.SecretKeySpec; |
| | | import java.nio.charset.Charset; |
| | | |
| | | /** |
| | | * 许可帮助类 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class LicHelper { |
| | | private String a; |
| | | private String b; |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * MDB帮助类 |
| | | * @author WWW |
| | | */ |
| | | @SuppressWarnings("ALL") |
| | | public class MdbHelper { |
| | | private final static Log log = LogFactory.getLog(MdbHelper.class); |
| | | |
| | | /** |
| | | * 获取表名 |
| | | */ |
| | | 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) { |
| | | List<T> list = new ArrayList<>(); |
| | | |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Copernicancraters180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Copernicancraters180Mapper extends GeomBaseMapper<Copernicancraters180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoagenotdeterminedie |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoagenotdeterminedieMapper extends GeomBaseMapper<GeoagenotdeterminedieEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoaikenperiod |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoaikenperiodMapper extends GeomBaseMapper<GeoaikenperiodEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoconstructionunit |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoconstructionunitMapper extends GeomBaseMapper<GeoconstructionunitEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoconstructionunitboundary |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoconstructionunitboundaryMapper extends GeomBaseMapper<GeoconstructionunitboundaryEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geocraterfloorfracture |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeocraterfloorfractureMapper extends GeomBaseMapper<GeocraterfloorfractureEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoeratosthenian |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoeratosthenianMapper extends GeomBaseMapper<GeoeratosthenianEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geoferrousanorthositesuite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeoferrousanorthositesuiteMapper extends GeomBaseMapper<GeoferrousanorthositesuiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolandingsite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolandingsiteMapper extends GeomBaseMapper<GeolandingsiteEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolateimbrian |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolateimbrianMapper extends GeomBaseMapper<GeolateimbrianEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolateimbrianbasinconstruction |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolateimbrianbasinconstructionMapper extends GeomBaseMapper<GeolateimbrianbasinconstructionEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarbayannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarbayannotationMapper extends GeomBaseMapper<GeolunarbayannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geolunarrilleannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeolunarrilleannotationMapper extends GeomBaseMapper<GeolunarrilleannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geomountainrangeannotation |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeomountainrangeannotationMapper extends GeomBaseMapper<GeomountainrangeannotationEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geopyroclastics |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeopyroclasticsMapper extends GeomBaseMapper<GeopyroclasticsEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geospinelnorthosite |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeospinelnorthositeMapper extends GeomBaseMapper<GeospinelnorthositeEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Geowrinkleridge |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface GeowrinkleridgeMapper extends GeomBaseMapper<GeowrinkleridgeEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Hiesinger2011mareageregion180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Hiesinger2011mareageregion180Mapper extends GeomBaseMapper<Hiesinger2011mareageregion180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Hiesinger2011mareageunits180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Hiesinger2011mareageunits180Mapper extends GeomBaseMapper<Hiesinger2011mareageunits180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Landing50 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Landing50Mapper extends GeomBaseMapper<Landing50Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lola81nnppsrstereographic10km2 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lola81nnppsrstereographic10km2Mapper extends GeomBaseMapper<Lola81nnppsrstereographic10km2Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lrocglobalmare180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lrocglobalmare180Mapper extends GeomBaseMapper<Lrocglobalmare180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lunarimplocations180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lunarimplocations180Mapper extends GeomBaseMapper<Lunarimplocations180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Lunarswirls180 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Lunarswirls180Mapper extends GeomBaseMapper<Lunarswirls180Entity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Mooncontour |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface MooncontourMapper extends GeomBaseMapper<MooncontourEntity> { |
| | | } |
| | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * Robbins8km |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface Robbins8kmMapper extends GeomBaseMapper<Robbins8kmEntity> { |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 参数设置 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface ArgsMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param name 名称 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String name); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param name 名称 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<ArgsEntity> selectByPage(String name, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<ArgsEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public ArgsEntity selectById(int id); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(ArgsEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<ArgsEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(ArgsEntity entity); |
| | | |
| | | /** |
| | | * 更新数值 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer updateForValue(ArgsEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<ArgsEntity> list); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 黑名单 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface BlacklistMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param ip IP地址 |
| | | * @param type 类别 |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(String ip, Integer type); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param ip IP地址 |
| | | * @param type 类别 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<BlacklistEntity> selectByPage(String ip, Integer type, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<BlacklistEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public BlacklistEntity selectById(int id); |
| | | |
| | | /** |
| | | * 查询IP列表 |
| | | * @param type 类别 |
| | | * @return |
| | | */ |
| | | public List<String> selectIpList(Integer type); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(BlacklistEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<BlacklistEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(BlacklistEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<BlacklistEntity> list); |
| | | } |
| | |
| | | import java.sql.Timestamp; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 下载日志 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface DownlogMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param uname |
| | | * @param type |
| | | * @param start |
| | | * @param end |
| | | * @return |
| | | */ |
| | | public Integer selectCount(String uname, Integer type, Timestamp start, Timestamp end); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param uname |
| | | * @param type |
| | | * @param start |
| | | * @param end |
| | | * @param limit |
| | | * @param offset |
| | | * @return |
| | | */ |
| | | public List<DownlogEntity> selectByPage(String uname, Integer type, Timestamp start, Timestamp end, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<DownlogEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public DownlogEntity selectById(int id); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(DownlogEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<DownlogEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(DownlogEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<DownlogEntity> list); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 菜单-权限 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface MenuAuthMapper { |
| | | /** |
| | | * 查询记录数 |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 元数据-下载 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface MetaDownMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param metaid 元数据ID |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(Integer metaid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param metaid 元数据ID |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<MetaDownEntity> selectByPage(Integer metaid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<MetaDownEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public MetaDownEntity selectById(int id); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(MetaDownEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<MetaDownEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(MetaDownEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<MetaDownEntity> list); |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 角色-菜单 |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | @SuppressWarnings("ALL") |
| | | public interface RoleMenuAuthMapper { |
| | | /** |
| | | * 查询记录数 |
| | | * |
| | | * @param roleid 角色ID |
| | | * @return 记录数 |
| | | */ |
| | | public Integer selectCount(Integer roleid); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param roleid 角色ID |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<RoleMenuAuthEntity> selectByPage(Integer roleid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 根据角色ID+菜单ID查询记录数 |
| | | * |
| | | * @param roleid |
| | | * @param menuid |
| | | * @return |
| | | */ |
| | | public Integer selectCountForRole(Integer roleid, Integer menuid); |
| | | |
| | | /** |
| | | * 根据角色ID+菜单ID分页查询 |
| | | * |
| | | * @param roleid |
| | | * @param menuid |
| | | * @param limit |
| | | * @param offset |
| | | * @return |
| | | */ |
| | | public List<RoleMenuAuthEntity> selectByPageForRole(Integer roleid, Integer menuid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<RoleMenuAuthEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public RoleMenuAuthEntity selectById(int id); |
| | | |
| | | /** |
| | | * 插入一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(RoleMenuAuthEntity entity); |
| | | |
| | | /** |
| | | * 插入多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<RoleMenuAuthEntity> list); |
| | | |
| | | /** |
| | | * 删除一条 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer delete(int id); |
| | | |
| | | /** |
| | | * 删除多条 |
| | | * |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deletes(List<Integer> ids); |
| | | |
| | | /** |
| | | * 更新一条 |
| | | * |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(RoleMenuAuthEntity entity); |
| | | |
| | | /** |
| | | * 更新多条 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<RoleMenuAuthEntity> list); |
| | | } |
| | |
| | | import java.util.List; |
| | | import java.util.concurrent.TimeUnit; |
| | | |
| | | /** |
| | | * 图层 |
| | | * @author WWW |
| | | */ |
| | | @Service |
| | | @SuppressWarnings("ALL") |
| | | public class LayerService implements LayerMapper { |
| | | @Resource |
| | | LayerMapper layerMapper; |