跑起来!!!

main
田俊彪 8 months ago
parent 162f7b0b16
commit f03c94b687

@ -14,6 +14,12 @@
<spring-boot.version>2.6.13</spring-boot.version>
</properties>
<dependencies>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.3</version> <!-- Use the latest version available -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>

@ -37,8 +37,8 @@ public class Swagger2config {
}
private ApiInfo apiInfo() {
return new ApiInfo("川藏铁路信息管理开发项目接口",
"川藏铁路信息管理开发项目接口RESTful API说明",
return new ApiInfo("太阳能信息管理开发项目接口",
"太阳能信息管理开发项目接口RESTful API说明",
"1.0",
null,
new Contact("成都信息工程大学3S团队", "https://www.cuit.edu.cn", "cuitgis@qq.com"),

@ -12,7 +12,7 @@ import static com.cuit.solarenergy.utils.DateUtil.DATE_FORMAT;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.entity.vo.req
* @BelongsPackage: com.cuit.solarenergy.entity.vo.req
* @Author: Luolw
* @Date: 2023/8/4 10:01
* @Description:

@ -10,7 +10,7 @@ import java.util.List;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.entity.vo.req
* @BelongsPackage: com.cuit.solarenergy.entity.vo.req
* @Author: Luolw
* @Date: 2023/8/5 14:57
* @Description:

@ -9,7 +9,7 @@ import lombok.NoArgsConstructor;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.entity.vo.ret
* @BelongsPackage: com.cuit.solarenergy.entity.vo.ret
* @Author: Luolw
* @Date: 2023/7/17 15:55
* @Description:

@ -11,7 +11,7 @@ import java.util.List;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.entity.vo.ret
* @BelongsPackage: com.cuit.solarenergy.entity.vo.ret
* @Author: Luolw
* @Date: 2023/7/17 20:54
* @Description:

@ -10,7 +10,7 @@ import java.util.List;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.entity.vo.ret
* @BelongsPackage: com.cuit.solarenergy.entity.vo.ret
* @Author: Luolw
* @Date: 2023/7/18 10:24
* @Description:

@ -14,7 +14,7 @@ import static com.cuit.solarenergy.utils.DateUtil.DATE_FORMAT;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.entity.vo.ret
* @BelongsPackage: com.cuit.solarenergy.entity.vo.ret
* @Author: Luolw
* @Date: 2023/8/5 15:18
* @Description:

@ -6,7 +6,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.mapper
* @BelongsPackage: com.cuit.solarenergy.mapper
* @Author: HouPJ
* @Date: 2023/7/10 14:03
* @Description: TODO

@ -11,7 +11,7 @@ import java.util.List;
* @author cuitg
* @description t_geoserverinfo_baseMapper
* @createDate 2024-08-27 14:45:16
* @Entity com.cuit.railway.entity.GeoserverinfoBase
* @Entity com.cuit.solarenergy.entity.GeoserverinfoBase
*/
@Mapper
public interface GeoserverinfoBaseMapper extends BaseMapper<GeoserverinfoBase> {

@ -11,7 +11,7 @@ import java.util.LinkedList;
* @author cuitg
* @description t_geoserverinfoMapper
* @createDate 2023-07-25 16:21:45
* @Entity com.cuit.railway.entity.Geoserverinfo
* @Entity com.cuit.solarenergy.entity.Geoserverinfo
*/
@Mapper
public interface GeoserverinfoMapper extends BaseMapper<Geoserverinfo> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author
* @description legend_table()Mapper
* @createDate 2024-09-03 20:34:01
* @Entity com.cuit.railway.entity.LegendTable
* @Entity com.cuit.solarenergy.entity.LegendTable
*/
@Mapper
public interface LegendTableMapper extends BaseMapper<LegendTable> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description t_map_service()Mapper
* @createDate 2023-07-25 16:03:27
* @Entity com.cuit.railway.entity.MapService
* @Entity com.cuit.solarenergy.entity.MapService
*/
@Mapper
public interface MapServiceMapper extends BaseMapper<MapService> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description t_model()Mapper
* @createDate 2023-07-25 16:03:27
* @Entity com.cuit.railway.entity.Model
* @Entity com.cuit.solarenergy.entity.Model
*/
@Mapper
public interface ModelMapper extends BaseMapper<Model> {

@ -13,7 +13,7 @@ import java.util.List;
* @author PYJ
* @description sys_role()Mapper
* @createDate 2023-07-17 10:20:33
* @Entity com.cuit.railway.entity.Role
* @Entity com.cuit.solarenergy.entity.Role
*/
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author cuitg
* @description t_satellite_data()Mapper
* @createDate 2023-08-07 12:40:03
* @Entity com.cuit.railway.entity.SatelliteData
* @Entity com.cuit.solarenergy.entity.SatelliteData
*/
@Mapper
public interface SatelliteDataMapper extends BaseMapper<SatelliteData> {

@ -11,7 +11,7 @@ import java.util.List;
* @author cuitg
* @description t_satellite_inv_data()Mapper
* @createDate 2023-08-07 13:20:30
* @Entity com.cuit.railway.entity.SatelliteInvData
* @Entity com.cuit.solarenergy.entity.SatelliteInvData
*/
@Mapper
public interface SatelliteInvDataMapper extends BaseMapper<SatelliteInvData> {

@ -12,7 +12,7 @@ import java.util.List;
* @author cuitg
* @description t_satellite_send_data()Mapper
* @createDate 2023-08-07 09:26:51
* @Entity com.cuit.railway.entity.SatelliteSendData
* @Entity com.cuit.solarenergy.entity.SatelliteSendData
*/
@Mapper
public interface SatelliteSendDataMapper extends BaseMapper<SatelliteSendData> {

@ -10,7 +10,7 @@ import java.util.List;
* @author PYJ
* @description t_stream_bbox(bbox)Mapper
* @createDate 2023-08-06 16:54:19
* @Entity com.cuit.railway.entity.StreamBbox
* @Entity com.cuit.solarenergy.entity.StreamBbox
*/
@Mapper
public interface StreamBboxMapper extends BaseMapper<StreamBbox> {

@ -12,7 +12,7 @@ import org.apache.ibatis.annotations.Param;
* @author PYJ
* @description ts_sys_userMapper
* @createDate 2023-06-17 12:01:31
* @Entity com.cuit.railway.entity.SysUser
* @Entity com.cuit.solarenergy.entity.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

@ -10,7 +10,7 @@ import java.util.List;
* @author PYJ
* @description t_data_origin_method()Mapper
* @createDate 2023-06-19 14:50:54
* @Entity com.cuit.railway.vo.TDataOriginMethod
* @Entity com.cuit.solarenergy.vo.TDataOriginMethod
*/
@Mapper
public interface TDataOriginMethodMapper extends BaseMapper<TDataOriginMethod> {

@ -10,7 +10,7 @@ import java.util.List;
* @author PYJ
* @description t_dict_data()Mapper
* @createDate 2023-06-08 11:37:12
* @Entity com.cuit.railway.entity.TDictData
* @Entity com.cuit.solarenergy.entity.TDictData
*/
@Mapper
public interface TDictDataMapper extends BaseMapper<TDictData> {

@ -9,7 +9,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description t_minio(minio)Mapper
* @createDate 2023-07-22 13:18:52
* @Entity com.cuit.railway.entity.TMinio
* @Entity com.cuit.solarenergy.entity.TMinio
*/
@Mapper
public interface TMinioMapper extends BaseMapper<TMinio> {

@ -17,7 +17,7 @@ import java.util.List;
* @author PYJ
* @description t_sampling_data_details()Mapper
* @createDate 2023-06-08 11:37:12
* @Entity com.cuit.railway.entity.TSamplingDataDetails
* @Entity com.cuit.solarenergy.entity.TSamplingDataDetails
*/
@Mapper
public interface TSamplingDataDetailsMapper extends BaseMapper<TSamplingDataDetails> {

@ -14,7 +14,7 @@ import java.util.List;
* @author PYJ
* @description t_sampling_index()Mapper
* @createDate 2023-06-24 19:06:43
* @Entity com.cuit.railway.entity.TSamplingIndex
* @Entity com.cuit.solarenergy.entity.TSamplingIndex
*/
@Mapper
public interface TSamplingIndexMapper extends BaseMapper<TSamplingIndex> {

@ -9,7 +9,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description t_sampling_site_image()Mapper
* @createDate 2023-07-03 11:42:32
* @Entity com.cuit.railway.entity.TSamplingSiteImage
* @Entity com.cuit.solarenergy.entity.TSamplingSiteImage
*/
@Mapper
public interface TSamplingSiteImageMapper extends BaseMapper<TSamplingSiteImage> {

@ -19,7 +19,7 @@ import java.util.List;
* @author PYJ
* @description t_site_base_info()Mapper
* @createDate 2023-06-08 11:37:12
* @Entity com.cuit.railway.entity.TSiteBaseInfo
* @Entity com.cuit.solarenergy.entity.TSiteBaseInfo
*/
@Mapper
public interface TSiteBaseInfoMapper extends BaseMapper<TSiteBaseInfo> {

@ -12,7 +12,7 @@ import java.util.List;
* @author PYJ
* @description t_stream_base_info()Mapper
* @createDate 2023-06-08 11:37:12
* @Entity com.cuit.railway.entity.TStreamBaseInfo
* @Entity com.cuit.solarenergy.entity.TStreamBaseInfo
*/
@Mapper
public interface TStreamBaseInfoMapper extends BaseMapper<TStreamBaseInfo> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description t_uav_dom_image_data()Mapper
* @createDate 2023-07-04 10:35:46
* @Entity com.cuit.railway.entity.TUavDomImageData
* @Entity com.cuit.solarenergy.entity.TUavDomImageData
*/
@Mapper
public interface TUavDomImageDataMapper extends BaseMapper<TUavDomImageData> {

@ -7,7 +7,7 @@ import com.cuit.solarenergy.entity.TUser;
* @author PYJ
* @description t_user()Mapper
* @createDate 2023-06-12 10:07:46
* @Entity com.cuit.railway.entity.TUser
* @Entity com.cuit.solarenergy.entity.TUser
*/
public interface TUserMapper extends BaseMapper<TUser> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description ts_sys_appidtokenMapper
* @createDate 2023-06-18 16:37:39
* @Entity com.cuit.railway.entity.TsSysAppidtoken
* @Entity com.cuit.solarenergy.entity.TsSysAppidtoken
*/
@Mapper
public interface TsSysAppidtokenMapper extends BaseMapper<TsSysAppidtoken> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author PYJ
* @description ts_sys_logMapper
* @createDate 2023-06-18 17:14:41
* @Entity com.cuit.railway.entity.sys.TsSysLog
* @Entity com.cuit.solarenergy.entity.sys.TsSysLog
*/
@Mapper
public interface TsSysLogMapper extends BaseMapper<SysLog> {

@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
* @author cuitg
* @description t_uav_data()Mapper
* @createDate 2023-08-07 12:39:52
* @Entity com.cuit.railway.entity.UavData
* @Entity com.cuit.solarenergy.entity.UavData
*/
@Mapper
public interface UavDataMapper extends BaseMapper<UavData> {

@ -11,7 +11,7 @@ import java.util.List;
* @author cuitg
* @description t_uav_inv_data()Mapper
* @createDate 2023-08-07 13:20:47
* @Entity com.cuit.railway.entity.UavInvData
* @Entity com.cuit.solarenergy.entity.UavInvData
*/
@Mapper
public interface UavInvDataMapper extends BaseMapper<UavInvData> {

@ -12,7 +12,7 @@ import java.util.List;
* @author cuitg
* @description t_uav_send_data()Mapper
* @createDate 2023-08-07 09:35:06
* @Entity com.cuit.railway.entity.UavSendData
* @Entity com.cuit.solarenergy.entity.UavSendData
*/
@Mapper
public interface UavSendDataMapper extends BaseMapper<UavSendData> {

@ -10,7 +10,7 @@ import java.util.ArrayList;
* @author PYJ
* @description sys_user_role()Mapper
* @createDate 2023-07-17 10:20:33
* @Entity com.cuit.railway.entity.UserRole
* @Entity com.cuit.solarenergy.entity.UserRole
*/
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

@ -7,7 +7,7 @@ import lombok.*;
/**
* @BelongsProject: railway
* @BelongsPackage: com.cuit.railway.vo
* @BelongsPackage: com.cuit.solarenergy.vo
* @Author: Luolw
* @Date: 2023/6/20 11:50
* @Description:

@ -1,5 +1,5 @@
server:
port: 8080
port: 8081
spring:
datasource:
@ -7,3 +7,88 @@ spring:
url: jdbc:mysql://119.3.125.28:3306/solarenergy?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
username: root
password: Wyq@123123
servlet:
multipart:
enabled: true
# 设置单个文件大小
max-file-size: 10240MB
# 设置单次请求文件的总大小
max-request-size: 102400MB
mvc:
path match:
matching-strategy: ant_path_matcher
# redis配置
redis:
host: 1.92.75.33 #121.37.165.19 #localhost #
database: 0
port: 5179 #6379
password: Wzw@123!
# mybatis-plus配置控制台打印完整带参数SQL语句
mybatis-plus:
# mapper-locations: classpath:mappers/*.xml #只能一个地方定义mybatis中定义
type-aliases-package: com.cuit.railway.entity
configuration:
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl #控制台打印 mybatis log日志 org.apache.ibatis.logging.slf4j.Slf4jImpl / org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
banner: false
# minio配置
minio:
endpoint: http://1.92.75.33:8090 #http://minio:9000 #数据上传等
visitPoint: http://1.92.75.33:8090 #共享访问
accessKey: adminuser
secretKey: Hy@Minio!123
bucketName: solarenergy
knife4j:
enable: true
# GeoServer相关配置
mygeoserverconfig:
geoserverurl: http://1.92.75.33:8082/geoserver/
geoserverapiurl: http://1.92.75.33:8082/geoserver/
username: admin #adminuser
password: geoserver #Wzw@Geoserver
workspaces: cztl
geoserverpath: /opt/geoserver/data_dir/data
## 删除GeoServer配置
#DeleteGeoServerDataAndMap:
# #on或off
# onoff: on
# #保存数据的天数
# days: 30
# #工作空间
# workspace: bd
# #删除的数据类型,多个类型以”;“分隔
# dataType: 气象风险;综合风险;气象要素
#
##删除临时文件
##删除下载的历史数据(只支持目录删除)
#deleteTempFileConfig:
# #on或off true /false
# onoff: on
# #删除目录的父目录
# path: CimissFiledownload
# #相隔天数
# days: 61
# #目录 只支持 yyyymmdd yyyymm yyyy 三种形式
# pathformat: yyyymm
#log日志配置
# 说明:
# 1. 文件的命名和加载顺序有关
# logback.xml早于application.yml加载logback-spring.xml晚于application.yml加载 如果logback配置需要使用application.yml中的属性需要命名为logback-spring.xml
# 2. logback使用application.yml中的属性
# 使用springProperty才可使用application.yml中的值 可以设置默认值
ditu:
type: tianditu
shading: http://t0.tianditu.gov.cn/ter_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=d8df755c0e92e90e756f0e87cfe51408
note: http://t0.tianditu.gov.cn/cta_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cta&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=d8df755c0e92e90e756f0e87cfe51408
latlonbbox: 95.47567196468714,29.902589952988784,95.48935024103598,29.910064346919626

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.GeoserverinfoBaseMapper">
<mapper namespace="com.cuit.solarenergy.mapper.GeoserverinfoBaseMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.GeoserverinfoBase">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.GeoserverinfoBase">
<id property="id" column="ID" jdbcType="BIGINT"/>
<result property="geoserverworkspaces" column="GeoServerWorkspaces" jdbcType="VARCHAR"/>
<result property="geoserverlayers" column="GeoServerLayers" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.GeoserverinfoMapper">
<mapper namespace="com.cuit.solarenergy.mapper.GeoserverinfoMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.Geoserverinfo">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.Geoserverinfo">
<id property="id" column="ID" jdbcType="BIGINT"/>
<result property="geoserverworkspaces" column="GeoServerWorkspaces" jdbcType="VARCHAR"/>
<result property="geoserverlayers" column="GeoServerLayers" jdbcType="VARCHAR"/>
@ -22,7 +22,7 @@
url,createdate
</sql>
<!-- 返回图层URL和bbox -->
<select id="getGeoserverIdAndBbox" resultType="com.cuit.railway.entity.vo.ret.MonitorGeoURLAndBboxVoRet">
<select id="getGeoserverIdAndBbox" resultType="com.cuit.solarenergy.entity.vo.ret.MonitorGeoURLAndBboxVoRet">
SELECT
geo.ID as id,
geo.latlonbbox as latLonBbox,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.LegendTableMapper">
<mapper namespace="com.cuit.solarenergy.mapper.LegendTableMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.LegendTable">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.LegendTable">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="legendType" column="legend_type" jdbcType="VARCHAR"/>
<result property="dataType" column="data_type" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.MapServiceMapper">
<mapper namespace="com.cuit.solarenergy.mapper.MapServiceMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.MapService">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.MapService">
<id property="id" column="id" jdbcType="OTHER"/>
<result property="uavMinus" column="uav_minus" jdbcType="VARCHAR"/>
<result property="streamName" column="stream_name" jdbcType="VARCHAR"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.cuit.railway.mapper.MenuMapper">
<mapper namespace="com.cuit.solarenergy.mapper.MenuMapper">
<select id="selectPermsByUserId" resultType="java.lang.String">

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.ModelMapper">
<mapper namespace="com.cuit.solarenergy.mapper.ModelMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.Model">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.Model">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="indexName" column="index_name" jdbcType="VARCHAR"/>
<result property="typeNumber" column="type_number" jdbcType="INTEGER"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.RoleMapper">
<mapper namespace="com.cuit.solarenergy.mapper.RoleMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.Role">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.Role">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="roleKey" column="role_key" jdbcType="VARCHAR"/>
@ -24,7 +24,7 @@
remark
</sql>
<!-- 获取系统管理-角色管理list-->
<select id="getRoleManageList" resultType="com.cuit.railway.entity.vo.ret.RoleManageVoRet">
<select id="getRoleManageList" resultType="com.cuit.solarenergy.entity.vo.ret.RoleManageVoRet">
SELECT
`name` as name,
remark as remark
@ -32,7 +32,7 @@
sys_role
</select>
<!-- 获取系统管理-用户管理list-->
<select id="getUserManageList" resultType="com.cuit.railway.entity.vo.ret.UserManageVoRet">
<select id="getUserManageList" resultType="com.cuit.solarenergy.entity.vo.ret.UserManageVoRet">
SELECT
id AS id,
user_name AS userName,
@ -45,7 +45,7 @@
del_flag = 0
</select>
<!-- 获取系统管理-用户管理关键字查询list-->
<select id="getUserManageListBySearch" resultType="com.cuit.railway.entity.vo.ret.UserManageVoRet">
<select id="getUserManageListBySearch" resultType="com.cuit.solarenergy.entity.vo.ret.UserManageVoRet">
SELECT
id AS id,
user_name AS userName,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.SatelliteDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.SatelliteDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.SatelliteData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.SatelliteData">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="registerTime" column="register_time" jdbcType="DATE"/>
<result property="streamCode" column="stream_cod" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.SatelliteInvDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.SatelliteInvDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.SatelliteInvData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.SatelliteInvData">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="registerTime" column="register_time" jdbcType="DATE"/>
<result property="streamCode" column="stream_cod" jdbcType="VARCHAR"/>
@ -29,7 +29,7 @@
png_minio_id,is_deleted
</sql>
<!-- 返回卫星遥感各年月份统计信息-->
<select id="getCountOfSAT" resultType="com.cuit.railway.entity.vo.ret.MonthAndCountVoRet">
<select id="getCountOfSAT" resultType="com.cuit.solarenergy.entity.vo.ret.MonthAndCountVoRet">
SELECT MONTH
( t.register_time ) AS month,
COUNT(*) AS count

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.SatelliteSendDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.SatelliteSendDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.SatelliteSendData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.SatelliteSendData">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="pid" column="pid" jdbcType="INTEGER"/>
<result property="bandname" column="bandname" jdbcType="VARCHAR"/>
@ -18,7 +18,7 @@
geoserver_info_id,png_minio_id,is_deleted
</sql>
<select id="selectByStreamCodeDataCode" resultType="com.cuit.railway.entity.vo.ret.MonitorGeoURLAndBboxVoRet">
<select id="selectByStreamCodeDataCode" resultType="com.cuit.solarenergy.entity.vo.ret.MonitorGeoURLAndBboxVoRet">
SELECT
gi.id AS id,
gi.latLonBbox AS latLonBbox,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.StreamBboxMapper">
<mapper namespace="com.cuit.solarenergy.mapper.StreamBboxMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.StreamBbox">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.StreamBbox">
<result property="streamCod" column="stream_cod" jdbcType="VARCHAR"/>
<result property="streamBbox" column="steram_bbox" jdbcType="VARCHAR"/>
</resultMap>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.SysLogMapper">
<mapper namespace="com.cuit.solarenergy.mapper.SysLogMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.sys.SysLog">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.sys.SysLog">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="visitTime" column="visit_time" jdbcType="TIMESTAMP"/>
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
@ -24,7 +24,7 @@
module,opration,sys_type,
op_type,is_valid
</sql>
<select id="querySysLogByQuery" resultType="com.cuit.railway.common.dto.SysLogDto">
<select id="querySysLogByQuery" resultType="com.cuit.solarenergy.common.dto.SysLogDto">
SELECT
id,
visit_time,

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.SysOtherMapper">
<mapper namespace="com.cuit.solarenergy.mapper.SysOtherMapper">
<!-- 返回结果会放在参数map中 -->
<select id="getCurrval" resultType="java.lang.Long" >
SELECT currval(#{typeName}) as result

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.SysUserMapper">
<mapper namespace="com.cuit.solarenergy.mapper.SysUserMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.SysUser">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.SysUser">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="loginname" column="loginname" jdbcType="VARCHAR"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
@ -36,7 +36,7 @@
update ts_sys_user set flog = 1 where id IN (select User_ID FROM ts_user_role WHERE FIND_IN_SET(Corresponding_id,#{duxueIds}) AND Role_ID = 'X')
</update>
<select id="getAppidToKen" parameterType="String" resultType="com.cuit.railway.entity.sys.AppidToKen">
<select id="getAppidToKen" parameterType="String" resultType="com.cuit.solarenergy.entity.sys.AppidToKen">
select appid, pass, tk from ts_sys_appidtoken where appid = #{appid} limit 1
</select>
<select id="queryUserIdByAccount" resultType="java.lang.Integer">
@ -47,7 +47,7 @@
select <include refid="Base_Column_List"></include>
from ts_sys_user where loginname = #{account}
</select>
<select id="selectUserList" resultType="com.cuit.railway.entity.vo.ret.SysUserVoRet">
<select id="selectUserList" resultType="com.cuit.solarenergy.entity.vo.ret.SysUserVoRet">
SELECT
tsu.id,
tsu.loginname,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TDataOriginMethodMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TDataOriginMethodMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TDataOriginMethod">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TDataOriginMethod">
<result property="type" column="type" jdbcType="VARCHAR"/>
<result property="typecode" column="typecode" jdbcType="VARCHAR"/>
<result property="dataoriginal" column="dataoriginal" jdbcType="VARCHAR"/>
@ -14,7 +14,7 @@
<sql id="Base_Column_List">
type,typecode, dataoriginal, datacode
</sql>
<select id="getAllDataOriginal" resultType="com.cuit.railway.vo.TDataOriginMethod">
<select id="getAllDataOriginal" resultType="com.cuit.solarenergy.vo.TDataOriginMethod">
SELECT
ori.type as type,
ori.typecode as typecode,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TDictDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TDictDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TDictData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TDictData">
<id property="id" column="id" jdbcType="OTHER"/>
<result property="label" column="label" jdbcType="VARCHAR"/>
<result property="relativeAttribute" column="relative_attribute" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TMinioMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TMinioMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TMinio">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TMinio">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="stream" column="stream" jdbcType="VARCHAR"/>
<result property="fileType" column="file_type" jdbcType="VARCHAR"/>
@ -20,7 +20,7 @@
file_size,file_url,minio_id,
file_name,is_deleted
</sql>
<select id="getList" resultType="com.cuit.railway.entity.TMinio">
<select id="getList" resultType="com.cuit.solarenergy.entity.TMinio">
SELECT
*
FROM

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TSamplingDataDetailsMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TSamplingDataDetailsMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TSamplingDataDetails">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TSamplingDataDetails">
<id property="id" column="id" jdbcType="OTHER"/>
<result property="siteId" column="site_id" jdbcType="VARCHAR"/>
<result property="indexCode" column="index_code" jdbcType="VARCHAR"/>
@ -35,7 +35,7 @@
<!--查询无人机(多源遥感)监测模块数据列表-->
<select id="getDetectionData" resultType="com.cuit.railway.entity.MapService">
<select id="getDetectionData" resultType="com.cuit.solarenergy.entity.MapService">
SELECT
siteimage.uav_minus as uavMinus,
t_stream_base_info.stream_name as streamName,
@ -74,12 +74,12 @@
</select>
<!-- 查询无人机(多源遥感)监测模块地图服务-->
<!-- <select id="getUAVDetectionMap" resultType="com.cuit.railway.entity.MapService">-->
<!-- <select id="getUAVDetectionMap" resultType="com.cuit.solarenergy.entity.MapService">-->
<!-- </select>-->
<!-- 数据管理条件查询所有站点数据接口-->
<select id="getAllList" resultType="com.cuit.railway.entity.vo.ret.DataManageGetVoRet">
<select id="getAllList" resultType="com.cuit.solarenergy.entity.vo.ret.DataManageGetVoRet">
SELECT
aa.site_id,
aa.create_time,
@ -119,7 +119,7 @@
<!-- 获取无人机监测模块反演数据数据列表 -->
<select id="getUAVInvDetectionData" resultType="com.cuit.railway.entity.vo.ret.DetectionInvRet">
<select id="getUAVInvDetectionData" resultType="com.cuit.solarenergy.entity.vo.ret.DetectionInvRet">
SELECT
geo.ID AS geoId,
u1.png_minio_id AS PngMinioId,
@ -162,7 +162,7 @@
</select>
<!-- 获取无人机监测模块原始影像数据列表 -->
<select id="getUAVOrgDetectionData" resultType="com.cuit.railway.entity.vo.ret.DetectionOrgRet">
<select id="getUAVOrgDetectionData" resultType="com.cuit.solarenergy.entity.vo.ret.DetectionOrgRet">
SELECT
s.geoserver_info_id AS geoId,
s.png_minio_id AS PngMinioId,
@ -200,7 +200,7 @@
</select>
<!--获取多源遥感监测模块反演影像数据列表-->
<select id="getMultiRSInvDetectionData" resultType="com.cuit.railway.entity.vo.ret.DetectionInvRet">
<select id="getMultiRSInvDetectionData" resultType="com.cuit.solarenergy.entity.vo.ret.DetectionInvRet">
SELECT
geo.ID AS geoId,
s1.png_minio_id AS PngMinioId,
@ -245,7 +245,7 @@
</if>
</select>
<!-- 获取多源遥感监测模块原始影像数据列表 -->
<select id="getMultiRSOrgDetectionData" resultType="com.cuit.railway.entity.vo.ret.DetectionOrgRet">
<select id="getMultiRSOrgDetectionData" resultType="com.cuit.solarenergy.entity.vo.ret.DetectionOrgRet">
SELECT
s.geoserver_info_id AS geoId,
s.png_minio_id AS PngMinioId,
@ -279,7 +279,7 @@
</select>
<!-- 数据查询-采样点数据接口-->
<select id="getSamplePointData" resultType="com.cuit.railway.entity.vo.ret.StatisticQueryVoRet">
<select id="getSamplePointData" resultType="com.cuit.solarenergy.entity.vo.ret.StatisticQueryVoRet">
SELECT
aa.site_id,
aa.create_time,
@ -324,7 +324,7 @@
</select>
<!-- 返回指定流域近三年的站点统计信息-->
<select id="getAllInfoForThreeYear" resultType="com.cuit.railway.entity.vo.ret.YearAndCountVoRet">
<select id="getAllInfoForThreeYear" resultType="com.cuit.solarenergy.entity.vo.ret.YearAndCountVoRet">
SELECT YEAR
( create_time ) AS year,
COUNT(*) AS count

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TSamplingIndexMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TSamplingIndexMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TSamplingIndex">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TSamplingIndex">
<id property="code" column="code" jdbcType="VARCHAR"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="unit" column="unit" jdbcType="VARCHAR"/>
@ -20,7 +20,7 @@
t_sampling_index
</select>
<!-- 获取无人机原始影像图表数据 -->
<select id="getUAVOriChartList" resultType="com.cuit.railway.entity.dto.TimeAndGeoId">
<select id="getUAVOriChartList" resultType="com.cuit.solarenergy.entity.dto.TimeAndGeoId">
SELECT
d.register_time as createTime,
s.geoserver_info_id as geoserverId
@ -37,7 +37,7 @@
</if>
</select>
<!-- 获取卫星遥感原始影像图表数据 -->
<select id="getSATOriChartList" resultType="com.cuit.railway.entity.dto.TimeAndGeoId">
<select id="getSATOriChartList" resultType="com.cuit.solarenergy.entity.dto.TimeAndGeoId">
SELECT
d.register_time as createTime,
s.geoserver_info_id as geoserverId
@ -58,7 +58,7 @@
ORDER BY createTime asc
</select>
<!-- 获取无人机反演数据图表数据 -->
<select id="getUAVInvChartList" resultType="com.cuit.railway.entity.dto.TimeAndGeoIdAndIndex">
<select id="getUAVInvChartList" resultType="com.cuit.solarenergy.entity.dto.TimeAndGeoIdAndIndex">
SELECT
geo.ID as geoserverId,
ind.name as indexName,
@ -82,7 +82,7 @@
ORDER BY indexName,createTime asc
</select>
<!-- 获取卫星遥感反演数据图表数据 -->
<select id="getSATInvChartList" resultType="com.cuit.railway.entity.dto.TimeAndGeoIdAndIndex">
<select id="getSATInvChartList" resultType="com.cuit.solarenergy.entity.dto.TimeAndGeoIdAndIndex">
SELECT
geo.ID as geoserverId,
ind.name as indexName,
@ -109,7 +109,7 @@
ORDER BY indexName,createTime asc
</select>
<!-- 获取采样点图表数据 -->
<select id="getSitesChartList" resultType="com.cuit.railway.entity.vo.ret.ChartBaseInfoVoRet">
<select id="getSitesChartList" resultType="com.cuit.solarenergy.entity.vo.ret.ChartBaseInfoVoRet">
SELECT
CONCAT( tsd.site_id, '-', tsi.`name` ) AS chartName,
tsd.index_value AS chartValue,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TSamplingSiteImageMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TSamplingSiteImageMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TSamplingSiteImage">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TSamplingSiteImage">
<id property="id" column="id" jdbcType="OTHER"/>
<result property="fatherId" column="father_id" jdbcType="VARCHAR"/>
<result property="pictureAdd" column="picture_add" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TSiteBaseInfoMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TSiteBaseInfoMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TStreamBaseInfo">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TStreamBaseInfo">
<id property="streamCode" column="stream_code" jdbcType="VARCHAR"/>
<result property="streamName" column="stream_name" jdbcType="VARCHAR"/>
<result property="isDeleted" column="is_deleted" jdbcType="INTEGER"/>
@ -25,7 +25,7 @@
station_no = #{stationNo}
</update>
<!-- 根据某一个水质参数查询当前年份所有站点的相关信息-->
<select id="getAllSiteForOne" resultType="com.cuit.railway.vo.SitesInfoForOne">
<select id="getAllSiteForOne" resultType="com.cuit.solarenergy.vo.SitesInfoForOne">
SELECT site_id,
lon,
lat,
@ -36,7 +36,7 @@
(SELECT `code` FROM t_sampling_index WHERE `name` = #{waterQualityParameter})
</select>
<!-- 获取某一流域指定时间段指定水质参数所有采样点详情-->
<select id="getStreamAllSitesInfosForOne" resultType="com.cuit.railway.vo.SitesInfosForOne">
<select id="getStreamAllSitesInfosForOne" resultType="com.cuit.solarenergy.vo.SitesInfosForOne">
SELECT site_id as siteId,
index_value as indexValue,
create_time as createTime
@ -48,7 +48,7 @@
ORDER BY site_id, create_time DESC
</select>
<!-- 根据站点id查询站点基本信息-->
<select id="getSiteBaseInfoById" resultType="com.cuit.railway.vo.SiteBaseInfo">
<select id="getSiteBaseInfoById" resultType="com.cuit.solarenergy.vo.SiteBaseInfo">
SELECT DISTINCT
sit.lon AS lon,
sit.lat AS lat,
@ -88,7 +88,7 @@
WHERE stream_code = (SELECT stream_code FROM t_stream_base_info WHERE stream_name = #{stream})
</select>
<!-- 获取监测数据首页指定流域指定水质参数当前年的站点信息List-->
<select id="getMonitorSitesList" resultType="com.cuit.railway.entity.vo.ret.MonitorSitesVo">
<select id="getMonitorSitesList" resultType="com.cuit.solarenergy.entity.vo.ret.MonitorSitesVo">
SELECT DISTINCT site_id as siteId,
index_value as indexValue,
index_level as indexLevel,
@ -100,20 +100,20 @@
</select>
<!--统计分析模块查询所有站点的经纬度-->
<select id="getSiteBaseInfoBySeparation" resultType="com.cuit.railway.entity.TSiteBaseInfo">
<select id="getSiteBaseInfoBySeparation" resultType="com.cuit.solarenergy.entity.TSiteBaseInfo">
SELECT station_no,
lon,
lat
FROM t_site_base_info
</select>
<!-- 返回所有站点经纬度 -->
<select id="getAllSiteList" resultType="com.cuit.railway.entity.vo.ret.SiteBaseInfoVoRet">
<select id="getAllSiteList" resultType="com.cuit.solarenergy.entity.vo.ret.SiteBaseInfoVoRet">
SELECT DISTINCT site_id as siteId,
lon as siteLon,
lat as siteLat
FROM t_sampling_data_details
</select>
<select id="getList" resultType="com.cuit.railway.entity.TSiteBaseInfo">
<select id="getList" resultType="com.cuit.solarenergy.entity.TSiteBaseInfo">
SELECT
si.station_no,
si.stream_code,
@ -144,7 +144,7 @@
</where>
</select>
<!-- 返回指定流域指定水质参数各站点数值信息-->
<select id="getValueOfSite" resultType="com.cuit.railway.entity.vo.ret.SiteAndValueVoRet">
<select id="getValueOfSite" resultType="com.cuit.solarenergy.entity.vo.ret.SiteAndValueVoRet">
SELECT site_id as siteId,
index_value as indexValue
FROM t_sampling_data_details
@ -155,7 +155,7 @@
</select>
<!-- &lt;!&ndash; 根据站点、水质参数获取曲线所需的列表 &ndash;&gt;-->
<!-- <select id="queryDataCurveByParams" resultType="com.cuit.railway.entity.vo.ret.StatisticQueryVoRet">-->
<!-- <select id="queryDataCurveByParams" resultType="com.cuit.solarenergy.entity.vo.ret.StatisticQueryVoRet">-->
<!-- SELECT-->
<!-- tsd.site_id,-->
<!-- tsd.create_time,-->

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TStreamBaseInfoMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TStreamBaseInfoMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TSiteBaseInfo">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TSiteBaseInfo">
<id property="stationNo" column="station_no" jdbcType="VARCHAR"/>
<result property="streamCode" column="stream_code" jdbcType="VARCHAR"/>
<result property="lon" column="lon" jdbcType="DECIMAL"/>
@ -26,7 +26,7 @@
WHERE
stream_code = #{streamCode}
</update>
<select id="getAllStreamName" resultType="com.cuit.railway.entity.vo.ret.Stream">
<select id="getAllStreamName" resultType="com.cuit.solarenergy.entity.vo.ret.Stream">
SELECT stream_code as streamCode, stream_name as streamName FROM t_stream_base_info
</select>
<!-- 获取某个站点所属流域名称-->
@ -41,7 +41,7 @@
<select id="getAllStreamCode" resultType="java.lang.String">
SELECT DISTINCT stream_code FROM t_stream_base_info
</select>
<select id="getList" resultType="com.cuit.railway.entity.TStreamBaseInfo">
<select id="getList" resultType="com.cuit.solarenergy.entity.TStreamBaseInfo">
SELECT
st.stream_code,
st.stream_name

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TUavDomImageDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TUavDomImageDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TUavDomImageData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TUavDomImageData">
<id property="id" column="id" jdbcType="OTHER"/>
<result property="streamId" column="stream_id" jdbcType="INTEGER"/>
<result property="processType" column="process_type" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TUserMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TUserMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TUser">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TUser">
<id property="id" column="id" jdbcType="OTHER"/>
<result property="username" column="username" jdbcType="VARCHAR"/>
<result property="userAccount" column="user_account" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TsSysAppidtokenMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TsSysAppidtokenMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.TsSysAppidtoken">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.TsSysAppidtoken">
<id property="appid" column="appid" jdbcType="VARCHAR"/>
<result property="pass" column="pass" jdbcType="VARCHAR"/>
<result property="tk" column="tk" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.TsSysLogMapper">
<mapper namespace="com.cuit.solarenergy.mapper.TsSysLogMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.sys.SysLog">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.sys.SysLog">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="visitTime" column="visit_time" jdbcType="TIMESTAMP"/>
<result property="userName" column="user_name" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.UavDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.UavDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.UavData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.UavData">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="registerTime" column="register_time" jdbcType="DATE"/>
<result property="streamCode" column="stream_cod" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.UavInvDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.UavInvDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.UavInvData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.UavInvData">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="registerTime" column="register_time" jdbcType="DATE"/>
<result property="streamCode" column="stream_cod" jdbcType="VARCHAR"/>
@ -29,7 +29,7 @@
png_minio_id,is_deleted
</sql>
<!-- 返回无人机各年月份统计信息-->
<select id="getCountOfUAV" resultType="com.cuit.railway.entity.vo.ret.MonthAndCountVoRet">
<select id="getCountOfUAV" resultType="com.cuit.solarenergy.entity.vo.ret.MonthAndCountVoRet">
SELECT MONTH
( t.register_time ) AS month,
COUNT(*) AS count

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.UavSendDataMapper">
<mapper namespace="com.cuit.solarenergy.mapper.UavSendDataMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.UavSendData">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.UavSendData">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="pid" column="pid" jdbcType="INTEGER"/>
<result property="bandname" column="bandname" jdbcType="VARCHAR"/>
@ -18,7 +18,7 @@
geoserver_info_id,png_minio_id,is_deleted
</sql>
<select id="selectByStreamCodeDataCode" resultType="com.cuit.railway.entity.vo.ret.MonitorGeoURLAndBboxVoRet">
<select id="selectByStreamCodeDataCode" resultType="com.cuit.solarenergy.entity.vo.ret.MonitorGeoURLAndBboxVoRet">
SELECT
gi.id AS id,
gi.latLonBbox AS latLonBbox,

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.UserMapper">
<mapper namespace="com.cuit.solarenergy.mapper.UserMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.User">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.User">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
<result property="nickName" column="nick_name" jdbcType="VARCHAR"/>

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cuit.railway.mapper.UserRoleMapper">
<mapper namespace="com.cuit.solarenergy.mapper.UserRoleMapper">
<resultMap id="BaseResultMap" type="com.cuit.railway.entity.UserRole">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.UserRole">
<id property="userId" column="user_id" jdbcType="BIGINT"/>
<id property="roleId" column="role_id" jdbcType="BIGINT"/>
</resultMap>

Loading…
Cancel
Save