文旅相关逻辑集成
This commit is contained in:
@@ -67,6 +67,12 @@
|
||||
<artifactId>iking-common-params</artifactId>
|
||||
</dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>2.0.1.Final</version> <!-- 或者使用最新版本 -->
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.micrometer</groupId>
|
||||
<artifactId>micrometer-registry-prometheus</artifactId>
|
||||
|
||||
@@ -42,11 +42,11 @@
|
||||
<version>1.7.1</version>
|
||||
</dependency>
|
||||
|
||||
<!--<dependency>
|
||||
<groupId>com.iking</groupId>
|
||||
<artifactId>iking-iot-spring-boot-starter</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.zlt</groupId>
|
||||
<artifactId>zlt-iot-spring-boot-starter</artifactId>
|
||||
<version>6.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.statemachine</groupId>
|
||||
@@ -58,6 +58,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-amqp</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<version>4.0.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
+35
-36
@@ -1,36 +1,35 @@
|
||||
package com.zlt.tourism.config;
|
||||
|
||||
import com.central.common.iot.IoTWebSocketClient;
|
||||
import com.zlt.tourism.manager.IoTWebSocketMsgManager;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* @Author: duzhichao
|
||||
* @CreateTime: 2024-12-09 15:09
|
||||
* @Description: webSocket配置
|
||||
*/
|
||||
@Configuration
|
||||
public class WebSocketConfig {
|
||||
|
||||
/**
|
||||
* WebSocket客户端
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Bean
|
||||
public IoTWebSocketClient ioTWebSocketClient() {
|
||||
return new IoTWebSocketClient(iotMessageHandler());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 消息处理器
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Bean
|
||||
public IoTWebSocketMsgManager iotMessageHandler() {
|
||||
return new IoTWebSocketMsgManager();
|
||||
}
|
||||
}
|
||||
//package com.zlt.tourism.config;
|
||||
//
|
||||
//import com.zlt.tourism.manager.IoTWebSocketMsgManager;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
///**
|
||||
// * @Author: duzhichao
|
||||
// * @CreateTime: 2024-12-09 15:09
|
||||
// * @Description: webSocket配置
|
||||
// */
|
||||
//@Configuration
|
||||
//public class WebSocketConfig {
|
||||
//
|
||||
// /**
|
||||
// * WebSocket客户端
|
||||
// *
|
||||
// * @return
|
||||
// */
|
||||
// /* @Bean
|
||||
// public IoTWebSocketClient ioTWebSocketClient() {
|
||||
// return new IoTWebSocketClient(iotMessageHandler());
|
||||
// }
|
||||
//*/
|
||||
//
|
||||
// /**
|
||||
// * 消息处理器
|
||||
// *
|
||||
// * @return
|
||||
// */
|
||||
// @Bean
|
||||
// public IoTWebSocketMsgManager iotMessageHandler() {
|
||||
// return new IoTWebSocketMsgManager();
|
||||
// }
|
||||
//}
|
||||
|
||||
+4
-5
@@ -1,7 +1,6 @@
|
||||
package com.zlt.tourism.core;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -12,14 +11,14 @@ import java.io.Serializable;
|
||||
* @Description: 基本分页类
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("分页参数入参")
|
||||
@Schema(description = "分页参数入参")
|
||||
public class BasePage implements Serializable {
|
||||
private static final long serialVersionUID = -8763101460523518389L;
|
||||
|
||||
@ApiModelProperty("分页参数 当前页数")
|
||||
@Schema(description = "分页参数 当前页数")
|
||||
private int page;
|
||||
|
||||
@ApiModelProperty("分页参数 当前页容量")
|
||||
@Schema(description = "分页参数 当前页容量")
|
||||
private int limit;
|
||||
|
||||
public int getPage() {
|
||||
|
||||
+16
-17
@@ -3,8 +3,7 @@ package com.zlt.tourism.domain;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -20,7 +19,7 @@ import java.util.Date;
|
||||
* @create 2024/7/18 8:26
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("文旅/双轴视频列表视图实体类")
|
||||
@Schema(description = "文旅/双轴视频列表视图实体类")
|
||||
public class BiaxVideoExtListDO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -28,87 +27,87 @@ public class BiaxVideoExtListDO implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 双轴视频名称
|
||||
*/
|
||||
@ApiModelProperty("双轴视频名称")
|
||||
@Schema(description = "双轴视频名称")
|
||||
private String biaxVideoName;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 航线ID
|
||||
*/
|
||||
@ApiModelProperty("航线ID")
|
||||
@Schema(description = "航线ID")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 视频文件
|
||||
*/
|
||||
@ApiModelProperty("视频文件")
|
||||
@Schema(description = "视频文件")
|
||||
private String videoFile;
|
||||
|
||||
/**
|
||||
* 视频时长
|
||||
*/
|
||||
@ApiModelProperty("视频时长")
|
||||
@Schema(description = "视频时长")
|
||||
private String videoMins;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty("备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty("经度")
|
||||
@Schema(description = "经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty("纬度")
|
||||
@Schema(description = "纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
}
|
||||
|
||||
+17
-18
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.domain;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -18,7 +17,7 @@ import java.util.Date;
|
||||
* @create 2024/7/18 8:31
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("文旅/全景照片扩展实体类")
|
||||
@Schema(description = "文旅/全景照片扩展实体类")
|
||||
public class PanoramaPhotoExtListDO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -26,61 +25,61 @@ public class PanoramaPhotoExtListDO implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 照片名称
|
||||
*/
|
||||
@ApiModelProperty("照片名称")
|
||||
@Schema(description = "照片名称")
|
||||
private String photoName;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty("备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 附件ID
|
||||
*/
|
||||
@ApiModelProperty("附件ID")
|
||||
@Schema(description = "附件ID")
|
||||
private String fileId;
|
||||
|
||||
/**
|
||||
* 附件名称
|
||||
*/
|
||||
@ApiModelProperty("附件名称")
|
||||
@Schema(description = "附件名称")
|
||||
private String fileName;
|
||||
|
||||
/**
|
||||
* 附件URL
|
||||
*/
|
||||
@ApiModelProperty("附件URL")
|
||||
@Schema(description = "附件URL")
|
||||
private String fileUrl;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
/*@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")*/
|
||||
@@ -89,13 +88,13 @@ public class PanoramaPhotoExtListDO implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
/*@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")*/
|
||||
@@ -104,18 +103,18 @@ public class PanoramaPhotoExtListDO implements Serializable {
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty("经度")
|
||||
@Schema(description = "经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty("纬度")
|
||||
@Schema(description = "纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 高度
|
||||
*/
|
||||
@ApiModelProperty("高度")
|
||||
@Schema(description = "高度")
|
||||
private BigDecimal altitude;
|
||||
}
|
||||
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
package com.zlt.tourism.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: mengxianwang
|
||||
* @Date: 2022-08-05-13:55
|
||||
* @Description:
|
||||
*/
|
||||
@Schema(description = "附档信息")
|
||||
@Data
|
||||
public class FileInfoDto implements Serializable {
|
||||
private static final long serialVersionUID = -1438078028040922174L;
|
||||
|
||||
@Schema(description = "文件id")
|
||||
private String fileId;
|
||||
/**
|
||||
* 原始文件名
|
||||
*/
|
||||
@Schema(description ="文件名称")
|
||||
private String fileName;
|
||||
|
||||
/**
|
||||
* oss访问路径 oss需要设置公共读
|
||||
*/
|
||||
@Schema(description ="文件存储路径地址")
|
||||
private String url;
|
||||
|
||||
}
|
||||
+19
-20
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.device;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -16,7 +15,7 @@ import java.math.BigDecimal;
|
||||
* @description 设备传输实体
|
||||
* @create 2024/7/24 9:40
|
||||
**/
|
||||
@ApiModel("设备传输实体类")
|
||||
@Schema(description = "设备传输实体类")
|
||||
@Data
|
||||
public class DeviceDetailDTO implements Serializable {
|
||||
|
||||
@@ -25,103 +24,103 @@ public class DeviceDetailDTO implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 旧表sn
|
||||
*/
|
||||
@ApiModelProperty(value = "旧表sn")
|
||||
@Schema(description = "旧表sn")
|
||||
private String sn;
|
||||
|
||||
/**
|
||||
* 设备SN
|
||||
*/
|
||||
@ApiModelProperty(value = "设备id 与发货铭牌一致")
|
||||
@Schema(description = "设备id 与发货铭牌一致")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 控制指令版本,0:v1.0(老) 1:v2.0(新)
|
||||
*/
|
||||
@ApiModelProperty(value = "控制指令版本,0:v1.0(老ws) 1:v2.0(新mqtt")
|
||||
@Schema(description = "控制指令版本,0:v1.0(老ws) 1:v2.0(新mqtt")
|
||||
private Integer cmdVersion;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
@Schema(description = "设备名称")
|
||||
private String deviceName;
|
||||
|
||||
/**
|
||||
* 设备类型 对于机库 1001:固定机库,1002:车载机库, 2001:旋翼飞机,2002:固定翼
|
||||
*/
|
||||
@ApiModelProperty(value = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100, 4001:监控摄像头")
|
||||
@Schema(description = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100, 4001:监控摄像头")
|
||||
private Integer deviceType;
|
||||
|
||||
/**
|
||||
* 设备位置 经度
|
||||
*/
|
||||
@ApiModelProperty(value = "设备位置 经度,如果是圣机库,那么是机库中心经度")
|
||||
@Schema(description = "设备位置 经度,如果是圣机库,那么是机库中心经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 设备位置 纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "设备位置 纬度,如果是圣机库,那么是机库中心纬度")
|
||||
@Schema(description = "设备位置 纬度,如果是圣机库,那么是机库中心纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 设备位置 海拔
|
||||
*/
|
||||
@ApiModelProperty(value = "设备位置 海拔,如果是圣机库,那么是机库中心海拔")
|
||||
@Schema(description = "设备位置 海拔,如果是圣机库,那么是机库中心海拔")
|
||||
private BigDecimal altitude;
|
||||
|
||||
/**
|
||||
* 设备可用状态 0:维修 1:待命 2:停用 3:任务中
|
||||
*/
|
||||
@ApiModelProperty(value = "设备可用状态 0:维修 1:待命 2:停用 3:任务中")
|
||||
@Schema(description = "设备可用状态 0:维修 1:待命 2:停用 3:任务中")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 设备覆盖半径(<=5km) 单位为km
|
||||
*/
|
||||
@ApiModelProperty(value = "设备覆盖半径(<=5km) 单位为km")
|
||||
@Schema(description = "设备覆盖半径(<=5km) 单位为km")
|
||||
private Integer radius;
|
||||
|
||||
/**
|
||||
* 设备相关信息描述
|
||||
*/
|
||||
@ApiModelProperty(value = "设备相关信息描述")
|
||||
@Schema(description = "设备相关信息描述")
|
||||
@Excel(name = "设备相关信息描述", isImportField = "true")
|
||||
private String descMsg;
|
||||
|
||||
/**
|
||||
* 是否删除 0 正常 1 删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除记录")
|
||||
@Schema(description = "是否删除记录")
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 设备在线状态
|
||||
*/
|
||||
@ApiModelProperty("设备在线状态")
|
||||
@Schema(description = "设备在线状态")
|
||||
private Integer onlineStatus;
|
||||
|
||||
/**
|
||||
* 用于标识飞机与机库的配对关系
|
||||
*/
|
||||
@ApiModelProperty(value = "用于标识飞机与机库的配对关系,如果是圣机库,那么是左仓和飞机的配对关系")
|
||||
@Schema(description = "用于标识飞机与机库的配对关系,如果是圣机库,那么是左仓和飞机的配对关系")
|
||||
private String pairedDevice;
|
||||
|
||||
/**
|
||||
* 圣机库左仓与飞机的配对关系
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库左仓与飞机的配对关系")
|
||||
@Schema(description = "圣机库左仓与飞机的配对关系")
|
||||
private String pairedDevice1;
|
||||
|
||||
/**
|
||||
* 圣机库右仓与飞机的配对关系
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库右仓与飞机的配对关系")
|
||||
@Schema(description = "圣机库右仓与飞机的配对关系")
|
||||
private String pairedDevice2;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.device;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -18,6 +18,6 @@ public class DeviceInfoQuery extends ParentQuery {
|
||||
/**
|
||||
* 设备序列号
|
||||
*/
|
||||
@ApiModelProperty(value = "设备序列号")
|
||||
@Schema(description = "设备序列号")
|
||||
private String sn;
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.device;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -15,15 +15,15 @@ import java.util.List;
|
||||
@Data
|
||||
public class DeviceListQuery extends ParentQuery {
|
||||
|
||||
@ApiModelProperty(value = "经度,需要做迁移的")
|
||||
@Schema(description = "经度,需要做迁移的")
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "纬度,需要做偏移的")
|
||||
@Schema(description = "纬度,需要做偏移的")
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "范围参数单位为米")
|
||||
@Schema(description = "范围参数单位为米")
|
||||
private BigDecimal radius;
|
||||
|
||||
@ApiModelProperty(value = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100")
|
||||
@Schema(description = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100")
|
||||
private List<String> deviceTypes;
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.device;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -15,15 +15,15 @@ import java.util.List;
|
||||
@Data
|
||||
public class DeviceQuery extends ParentQuery {
|
||||
|
||||
@ApiModelProperty(value = "经度,需要做迁移的")
|
||||
@Schema(description = "经度,需要做迁移的")
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "纬度,需要做偏移的")
|
||||
@Schema(description = "纬度,需要做偏移的")
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "范围参数单位为米")
|
||||
@Schema(description = "范围参数单位为米")
|
||||
private BigDecimal radius;
|
||||
|
||||
@ApiModelProperty(value = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100")
|
||||
@Schema(description = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100")
|
||||
private List<String> deviceTypes;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.zlt.tourism.dto.device.drone;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@@ -26,7 +26,7 @@ public class DronePayloadData {
|
||||
String batteryVoltage; // 默认取BMS电压值,若收不到BMS数据则取从飞控处获取的电压值
|
||||
String rtkEph; //水平精度因子
|
||||
String NX_temp;
|
||||
@ApiModelProperty(value = "0 起飞自检中,1 起飞自检未通过,2 飞机流程执行出错,3 飞机起飞准备工作完成,4 飞机正在起飞,5 飞机下发机库复位指令,6 飞机正在执行任务,7 飞机任务执行完成请求返航,8 飞机正在返航,9 飞机降落完成,10 飞机处于手动模式")
|
||||
@Schema(description = "0 起飞自检中,1 起飞自检未通过,2 飞机流程执行出错,3 飞机起飞准备工作完成,4 飞机正在起飞,5 飞机下发机库复位指令,6 飞机正在执行任务,7 飞机任务执行完成请求返航,8 飞机正在返航,9 飞机降落完成,10 飞机处于手动模式")
|
||||
String drone_status;
|
||||
String podRealType; //podRealType
|
||||
String target_id;
|
||||
|
||||
+36
-37
@@ -1,11 +1,10 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
@@ -16,7 +15,7 @@ import javax.validation.constraints.NotNull;
|
||||
* @description 创建或编辑任务实体类
|
||||
* @create 2024/8/3 16:03
|
||||
**/
|
||||
@ApiModel("创建或编辑任务实体类")
|
||||
@Schema(description = "创建或编辑任务实体类")
|
||||
@Data
|
||||
public class CreateOrUpdateMissionRequestDTO extends ParentQuery {
|
||||
|
||||
@@ -25,204 +24,204 @@ public class CreateOrUpdateMissionRequestDTO extends ParentQuery {
|
||||
/**
|
||||
* 新建任务时为0,重新发布时当前任务Id
|
||||
*/
|
||||
@ApiModelProperty(value = "新建任务时为0,重新发布时当前任务Id", required = true)
|
||||
@Schema(description = "新建任务时为0,重新发布时当前任务Id", required = true)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
@ApiModelProperty(value = "任务名称")
|
||||
@Schema(description = "任务名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 区域Id(原),机构organizationId(现)
|
||||
*/
|
||||
@ApiModelProperty(value = "区域Id(原),机构organizationId(现)")
|
||||
@Schema(description = "区域Id(原),机构organizationId(现)")
|
||||
private Integer regionId;
|
||||
|
||||
/**
|
||||
* 任务起飞机库sn不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞机库sn", required = true)
|
||||
@Schema(description = "任务起飞机库sn", required = true)
|
||||
@NotBlank(message = "任务起飞机库sn不能为空")
|
||||
private String takeOffDockId;
|
||||
|
||||
/**
|
||||
* 任务起飞飞机sn,businessType 为3时drone_id会被创建
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞飞机sn")
|
||||
@Schema(description = "任务起飞飞机sn")
|
||||
private String takeOffDroneId;
|
||||
|
||||
/**
|
||||
* 任务挂载吊舱类型不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱(HJ可见光和小圣一英寸) 2:红外热成像吊舱(HJ红外和小圣双光) 3:外观识别(激光雷达HJ) 4:红外测温(喊话器HJ) 5:表记识别,11:圣机库左舱 22:圣机库右舱", required = true)
|
||||
@Schema(description = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱(HJ可见光和小圣一英寸) 2:红外热成像吊舱(HJ红外和小圣双光) 3:外观识别(激光雷达HJ) 4:红外测温(喊话器HJ) 5:表记识别,11:圣机库左舱 22:圣机库右舱", required = true)
|
||||
@NotNull(message = "任务挂载吊舱类型不能为空")
|
||||
private Integer podType;
|
||||
|
||||
/**
|
||||
* 圣机库降落舱 11左舱,22右舱
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库降落舱 11左舱,22右舱")
|
||||
@Schema(description = "圣机库降落舱 11左舱,22右舱")
|
||||
private Integer landPod;
|
||||
|
||||
/**
|
||||
* 任务类型巡检类型 0:通道巡检 1:精细巡检 2:定点巡检 3:正常巡检 4:异常巡检 5:特殊巡检 6:3D scan精细扫描 7 山海经建模 9 防火巡护 10 防虫害巡护 11 一重山巡检 12 图斑核查巡检
|
||||
*/
|
||||
@ApiModelProperty(value = "任务类型巡检类型 0:通道巡检 1:精细巡检 2:定点巡检 3:正常巡检 4:异常巡检 5:特殊巡检 6:3D scan精细扫描 7 山海经建模 9 防火巡护 10 防虫害巡护 11 一重山巡检 12 图斑核查巡检 ")
|
||||
@Schema(description = "任务类型巡检类型 0:通道巡检 1:精细巡检 2:定点巡检 3:正常巡检 4:异常巡检 5:特殊巡检 6:3D scan精细扫描 7 山海经建模 9 防火巡护 10 防虫害巡护 11 一重山巡检 12 图斑核查巡检 ")
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 航线id
|
||||
*/
|
||||
@ApiModelProperty(value = "航线id", required = true)
|
||||
@Schema(description = "航线id", required = true)
|
||||
@NotNull(message = "航线Id不能为空")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 航点code不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "航点code,wayPoint表中的code", required = true)
|
||||
@Schema(description = "航点code,wayPoint表中的code", required = true)
|
||||
@NotNull(message = "航点code不能为空")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 任务降落机库Id不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "任务降落机库Id", required = true)
|
||||
@Schema(description = "任务降落机库Id", required = true)
|
||||
@NotBlank(message = "任务降落机库Id不能为空")
|
||||
private String landDockId;
|
||||
|
||||
/**
|
||||
* 任务飞行距离
|
||||
*/
|
||||
@ApiModelProperty("任务飞行距离")
|
||||
@Schema(description = "任务飞行距离")
|
||||
private Integer est_distance;
|
||||
|
||||
/**
|
||||
* 任务执行时长
|
||||
*/
|
||||
@ApiModelProperty("任务执行时长")
|
||||
@Schema(description = "任务执行时长")
|
||||
private Integer est_timespan;
|
||||
|
||||
/**
|
||||
* 任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位
|
||||
*/
|
||||
@ApiModelProperty("任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位")
|
||||
@Schema(description = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty("用户ID")
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 执行起飞的设备sn不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "执行起飞的sn 可能是飞机 可能是机库", required = true)
|
||||
@Schema(description = "执行起飞的sn 可能是飞机 可能是机库", required = true)
|
||||
@NotBlank(message = "执行起飞的设备sn不能为空")
|
||||
private String dstId;
|
||||
|
||||
/**
|
||||
* 任务负责人,任务调度系统添加
|
||||
*/
|
||||
@ApiModelProperty(value = "任务负责人,任务调度系统添加")
|
||||
@Schema(description = "任务负责人,任务调度系统添加")
|
||||
private String principalList;
|
||||
|
||||
/**
|
||||
* 任务调度飞机起飞高度
|
||||
*/
|
||||
@ApiModelProperty(value = "任务调度飞机起飞高度")
|
||||
@Schema(description = "任务调度飞机起飞高度")
|
||||
private Integer height;
|
||||
|
||||
/**
|
||||
* 行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城)
|
||||
*/
|
||||
@ApiModelProperty(value = "行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城)")
|
||||
@Schema(description = "行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城)")
|
||||
private Integer businessType;
|
||||
|
||||
/**
|
||||
* 用户计划清单Id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户计划清单Id")
|
||||
@Schema(description = "用户计划清单Id")
|
||||
private Long userMissionId;
|
||||
|
||||
/**
|
||||
* 0 卸电不卸传,1 卸电不卸单光,2 卸电不卸红外
|
||||
*/
|
||||
@ApiModelProperty(value = "0 卸电不卸传,1 卸电不卸单光,2 卸电不卸红外")
|
||||
@Schema(description = "0 卸电不卸传,1 卸电不卸单光,2 卸电不卸红外")
|
||||
private Integer changeEquipment;
|
||||
|
||||
/**
|
||||
* 指点飞行返航模式:1 自动返航 0 不自动返航,默认为1
|
||||
*/
|
||||
@ApiModelProperty(value = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
@Schema(description = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
private Integer rtlMode = 1;
|
||||
|
||||
/**
|
||||
* 任务开始时间,格式yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@ApiModelProperty(value = "任务开始时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务开始时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 任务结束时间
|
||||
*/
|
||||
@ApiModelProperty(value = "任务结束时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务结束时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
private String finishTime;
|
||||
|
||||
/**
|
||||
* 计划子任务id
|
||||
*/
|
||||
@ApiModelProperty(value = "计划子任务id,即表 ik_user_mission_tower_device id")
|
||||
@Schema(description = "计划子任务id,即表 ik_user_mission_tower_device id")
|
||||
private Long userMissionTowerDeviceId;
|
||||
|
||||
/**
|
||||
* 猎鹰巡检区域
|
||||
*/
|
||||
@ApiModelProperty(value = "猎鹰巡检区域")
|
||||
@Schema(description = "猎鹰巡检区域")
|
||||
private String missionAreaName;
|
||||
|
||||
/**
|
||||
* 猎鹰巡检区域Id
|
||||
*/
|
||||
@ApiModelProperty(value = "猎鹰巡检区域Id,对应ik_line中的id / 林业区域id(即towerId)")
|
||||
@Schema(description = "猎鹰巡检区域Id,对应ik_line中的id / 林业区域id(即towerId)")
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 猎鹰巡检点位名称
|
||||
*/
|
||||
@ApiModelProperty(value = "猎鹰巡检点位名称,多个用逗号,隔开")
|
||||
@Schema(description = "猎鹰巡检点位名称,多个用逗号,隔开")
|
||||
private String pointName;
|
||||
|
||||
/**
|
||||
* 3D Scan巡检区域Id
|
||||
*/
|
||||
@ApiModelProperty(value = "3D Scan巡检区域Id,对应ik_td_scan_area中的id")
|
||||
@Schema(description = "3D Scan巡检区域Id,对应ik_td_scan_area中的id")
|
||||
private Long tdAreaId;
|
||||
|
||||
/**
|
||||
* 航线生成类型
|
||||
*/
|
||||
@ApiModelProperty(value = "航线生成类型; 0:自动航线生成, 1:ikingPowerLine")
|
||||
@Schema(description = "航线生成类型; 0:自动航线生成, 1:ikingPowerLine")
|
||||
private Integer routeGenerateType;
|
||||
|
||||
/**
|
||||
* 是否开启断点续飞
|
||||
*/
|
||||
@ApiModelProperty(value = "是否开启断点续飞 默认不续飞:0 ,续飞:1")
|
||||
@Schema(description = "是否开启断点续飞 默认不续飞:0 ,续飞:1")
|
||||
private Integer resumeFlightEnabled;
|
||||
|
||||
/**
|
||||
* 是否存在子任务
|
||||
*/
|
||||
@ApiModelProperty(value = "是否存在子任务 默认不存在:0 ,存在:1")
|
||||
@Schema(description = "是否存在子任务 默认不存在:0 ,存在:1")
|
||||
private Integer hasSubmission;
|
||||
|
||||
/**
|
||||
* 父任务Id
|
||||
*/
|
||||
@ApiModelProperty(value = "父任务Id")
|
||||
@Schema(description = "父任务Id")
|
||||
private Long parentId;
|
||||
}
|
||||
|
||||
+24
-25
@@ -1,10 +1,9 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -17,7 +16,7 @@ import java.io.Serializable;
|
||||
* @create 2024/8/3 16:17
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("执行任务实体类")
|
||||
@Schema(description = "执行任务实体类")
|
||||
public class ExecuteMissionDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -25,133 +24,133 @@ public class ExecuteMissionDTO implements Serializable {
|
||||
/**
|
||||
* 新建任务时为0,重新发布时当前任务Id
|
||||
*/
|
||||
@ApiModelProperty(value = "新建任务时为0,重新发布时当前任务Id", required = true)
|
||||
@Schema(description = "新建任务时为0,重新发布时当前任务Id", required = true)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 任务挂载吊舱类型不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱(HJ可见光和小圣一英寸) 2:红外热成像吊舱(HJ红外和小圣双光) 3:外观识别(激光雷达HJ) 4:红外测温(喊话器HJ) 5:表记识别,11:圣机库左舱 22:圣机库右舱", required = true)
|
||||
@Schema(description = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱(HJ可见光和小圣一英寸) 2:红外热成像吊舱(HJ红外和小圣双光) 3:外观识别(激光雷达HJ) 4:红外测温(喊话器HJ) 5:表记识别,11:圣机库左舱 22:圣机库右舱", required = true)
|
||||
@NotNull(message = "任务挂载吊舱类型不能为空")
|
||||
private Integer podType;
|
||||
|
||||
/**
|
||||
* 任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位
|
||||
*/
|
||||
@ApiModelProperty("任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位")
|
||||
@Schema(description = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 航点code不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "航点code,wayPoint表中的code", required = true)
|
||||
@Schema(description = "航点code,wayPoint表中的code", required = true)
|
||||
@NotNull(message = "航点code不能为空")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 圣机库降落舱 11左舱,22右舱
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库降落舱 11左舱,22右舱")
|
||||
@Schema(description = "圣机库降落舱 11左舱,22右舱")
|
||||
private Integer landPod;
|
||||
|
||||
/**
|
||||
* 任务航线ID(feign接口参数中没有)
|
||||
*/
|
||||
@ApiModelProperty(value = "任务航线ID")
|
||||
@Schema(description = "任务航线ID")
|
||||
private String missionRouteId;
|
||||
|
||||
/**
|
||||
* 任务起飞机库sn不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞机库sn", required = true)
|
||||
@Schema(description = "任务起飞机库sn", required = true)
|
||||
@NotBlank(message = "任务起飞机库sn不能为空")
|
||||
private String takeOffDockId;
|
||||
|
||||
/**
|
||||
* 请求渠道
|
||||
*/
|
||||
@ApiModelProperty(value = "请求渠道,1:pad,2:pc,3:drone,4:dock,99:第三方",required = true)
|
||||
@Schema(description = "请求渠道,1:pad,2:pc,3:drone,4:dock,99:第三方",required = true)
|
||||
@NotNull(message = "请求渠道不能为空")
|
||||
private Integer channel;
|
||||
|
||||
/**
|
||||
* 任务降落机库Id不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "任务降落机库Id", required = true)
|
||||
@Schema(description = "任务降落机库Id", required = true)
|
||||
@NotBlank(message = "任务降落机库Id不能为空")
|
||||
private String landDockId;
|
||||
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
@ApiModelProperty(value = "版本号,便于兼容低版本",required = true)
|
||||
@Schema(description = "版本号,便于兼容低版本",required = true)
|
||||
@NotBlank(message = "版本号不能为空")
|
||||
private String version;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
@ApiModelProperty(value = "任务名称")
|
||||
@Schema(description = "任务名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 类型(feign 接口中没有)
|
||||
*/
|
||||
@ApiModelProperty(value = "类型")
|
||||
@Schema(description = "类型")
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 航线id
|
||||
*/
|
||||
@ApiModelProperty(value = "航线id", required = true)
|
||||
@Schema(description = "航线id", required = true)
|
||||
@NotNull(message = "航线Id不能为空")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 任务起飞飞机sn,businessType 为3时drone_id会被创建
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞飞机sn",required = true)
|
||||
@Schema(description = "任务起飞飞机sn",required = true)
|
||||
private String takeOffDroneId;
|
||||
|
||||
/**
|
||||
* 高度(feign 接口中没有)
|
||||
*/
|
||||
@ApiModelProperty(value = "高度")
|
||||
@Schema(description = "高度")
|
||||
private Integer height;
|
||||
|
||||
/**
|
||||
* 指点飞行返航模式:1 自动返航 0 不自动返航,默认为1
|
||||
*/
|
||||
@ApiModelProperty(value = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
@Schema(description = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
private Integer rtlMode = 1;
|
||||
|
||||
/**
|
||||
* 执行起飞的设备sn不能为空
|
||||
*/
|
||||
@ApiModelProperty(value = "执行起飞的sn 可能是飞机 可能是机库", required = true)
|
||||
@Schema(description = "执行起飞的sn 可能是飞机 可能是机库", required = true)
|
||||
@NotBlank(message = "执行起飞的设备sn不能为空")
|
||||
private String dstId;
|
||||
|
||||
/**
|
||||
* 任务开始时间,格式yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@ApiModelProperty(value = "任务开始时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务开始时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty("用户ID")
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 机库类型( v4是宝莲灯机库 , v3是圣Max机库, v2是虎鲸机库)
|
||||
*/
|
||||
@ApiModelProperty(value = "机库类型")
|
||||
@Schema(description = "机库类型")
|
||||
private String dockType;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "景点Id")
|
||||
@Schema(description = "景点Id")
|
||||
@NotNull(message = "景点Id不能为空")
|
||||
private Long scenicSpotId;
|
||||
}
|
||||
|
||||
+15
-16
@@ -2,8 +2,7 @@ package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@@ -16,87 +15,87 @@ import java.util.List;
|
||||
* @description 照片分页查询类
|
||||
* @create 2024/8/7 15:20
|
||||
**/
|
||||
@ApiModel("照片分页查询类")
|
||||
@Schema(description = "照片分页查询类")
|
||||
@Data
|
||||
public class ImagePageQuery extends ParentQuery {
|
||||
|
||||
/**
|
||||
* 当前页,默认值1
|
||||
*/
|
||||
@ApiModelProperty(value = "当前页,默认值1")
|
||||
@Schema(description = "当前页,默认值1")
|
||||
private Integer page = 1;
|
||||
|
||||
/**
|
||||
* 分页大小,默认值10
|
||||
*/
|
||||
@ApiModelProperty(value = "分页大小,默认值10")
|
||||
@Schema(description = "分页大小,默认值10")
|
||||
private Integer limit = 10;
|
||||
|
||||
/**
|
||||
* 电塔sn
|
||||
*/
|
||||
@ApiModelProperty(value = "电塔sn")
|
||||
@Schema(description = "电塔sn")
|
||||
private String towerSn;
|
||||
|
||||
/**
|
||||
* 设备sn
|
||||
*/
|
||||
@ApiModelProperty(value = "设备sn")
|
||||
@Schema(description = "设备sn")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 任务id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
/**
|
||||
* 任务航线id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务航线id")
|
||||
@Schema(description = "任务航线id")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 设备Id后台承载字段,前端无需送上
|
||||
*/
|
||||
@ApiModelProperty(value = "设备Id后台承载字段,前端无需送上")
|
||||
@Schema(description = "设备Id后台承载字段,前端无需送上")
|
||||
private Long deviceId;
|
||||
|
||||
/**
|
||||
* 设备Id后台承载字段list,前端无需送上
|
||||
*/
|
||||
@ApiModelProperty(value = "设备Id后台承载字段list,前端无需送上")
|
||||
@Schema(description = "设备Id后台承载字段list,前端无需送上")
|
||||
private List<Long> deviceIds;
|
||||
|
||||
/**
|
||||
* 任务开始时间,格式:yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@ApiModelProperty(value = "任务开始时间,格式:yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务开始时间,格式:yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 任务结束时间,格式:yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@ApiModelProperty(value = "任务结束时间,格式:yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务结束时间,格式:yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱
|
||||
*/
|
||||
@ApiModelProperty(value = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱")
|
||||
@Schema(description = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱")
|
||||
private Integer podType;
|
||||
|
||||
/**
|
||||
* 兴趣点
|
||||
*/
|
||||
@ApiModelProperty(value = "兴趣点")
|
||||
@Schema(description = "兴趣点")
|
||||
private Long targetId;
|
||||
|
||||
/**
|
||||
* 任务图片Id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务图片Id")
|
||||
@Schema(description = "任务图片Id")
|
||||
private Long missionImageId;
|
||||
}
|
||||
|
||||
+80
-81
@@ -2,8 +2,7 @@ package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -15,241 +14,241 @@ import java.util.Date;
|
||||
* @email lishilin4510@163.com
|
||||
* @date 2020-08-31 18:11:44
|
||||
*/
|
||||
@ApiModel(value = "任务表")
|
||||
@Schema(description = "任务表")
|
||||
@Data
|
||||
public class MissionDTO implements Cloneable, Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "表id,自动递增,步长为1")
|
||||
@Schema(description = "表id,自动递增,步长为1")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "父任务Id")
|
||||
@Schema(description = "父任务Id")
|
||||
private Long parentId;
|
||||
|
||||
@ApiModelProperty(value = "md5(way_point_id&&pod_type),以此确认任务航线是否改变")
|
||||
@Schema(description = "md5(way_point_id&&pod_type),以此确认任务航线是否改变")
|
||||
private String md5;
|
||||
|
||||
@ApiModelProperty(value = "任务创建者")
|
||||
@Schema(description = "任务创建者")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户任务表单id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户任务表单id")
|
||||
@Schema(description = "用户任务表单id")
|
||||
private Long userMissionId;
|
||||
|
||||
/**
|
||||
* 任务类型
|
||||
*/
|
||||
@ApiModelProperty("任务类型")
|
||||
@Schema(description = "任务类型")
|
||||
private Integer missionType;
|
||||
|
||||
/**
|
||||
* 负责人列表(json格式)
|
||||
*/
|
||||
@ApiModelProperty("负责人列表(json格式),已经弃用20210324,使用")
|
||||
@Schema(description = "负责人列表(json格式),已经弃用20210324,使用")
|
||||
private String principalList;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@ApiModelProperty("负责人")
|
||||
@Schema(description = "负责人")
|
||||
private Long principalId;
|
||||
|
||||
|
||||
/**
|
||||
* 区域
|
||||
*/
|
||||
@ApiModelProperty("区域")
|
||||
@Schema(description = "区域")
|
||||
private String regionName;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
@ApiModelProperty("任务名称")
|
||||
@Schema(description = "任务名称")
|
||||
private String missionName;
|
||||
/**
|
||||
* 任务起飞机库Id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞机库Id")
|
||||
@Schema(description = "任务起飞机库Id")
|
||||
private Long takeOffDockId;
|
||||
|
||||
/**
|
||||
* 任务降落机库铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务降落机库Id")
|
||||
@Schema(description = "任务降落机库Id")
|
||||
private Long landDockId;
|
||||
|
||||
/**
|
||||
* 任务飞机id 集合 以“,”分割
|
||||
*/
|
||||
@ApiModelProperty(value = "任务飞机id 集合 以“,”分割")
|
||||
@Schema(description = "任务飞机id 集合 以“,”分割")
|
||||
private String droneId;
|
||||
|
||||
/**
|
||||
* 任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱
|
||||
*/
|
||||
@ApiModelProperty(value = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱")
|
||||
@Schema(description = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱")
|
||||
private Integer podType;
|
||||
|
||||
@ApiModelProperty(value = "圣机库降落 舱11左舱,22右舱'")
|
||||
@Schema(description = "圣机库降落 舱11左舱,22右舱'")
|
||||
private Integer landPod;
|
||||
|
||||
/**
|
||||
* 0 单次任务 1 例行任务 2 紧急任务
|
||||
*/
|
||||
@ApiModelProperty("0 单次任务 1 例行任务 2 紧急任务")
|
||||
@Schema(description = "0 单次任务 1 例行任务 2 紧急任务")
|
||||
private Object scheduleType;
|
||||
|
||||
/**
|
||||
* 航线ids,以“,”
|
||||
*/
|
||||
@ApiModelProperty("航线ids,以“,”")
|
||||
@Schema(description = "航线ids,以“,”")
|
||||
private String wayPointId;
|
||||
|
||||
/**
|
||||
* 起飞航线Id
|
||||
*/
|
||||
@ApiModelProperty(value = "起飞航线Id")
|
||||
@Schema(description = "起飞航线Id")
|
||||
private Long takeOffRouteId;
|
||||
|
||||
/**
|
||||
* 任务航线Id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务航线Id")
|
||||
@Schema(description = "任务航线Id")
|
||||
private Long missionRouteId;
|
||||
|
||||
/**
|
||||
* 返航航线Id
|
||||
*/
|
||||
@ApiModelProperty(value = "返航航线Id")
|
||||
@Schema(description = "返航航线Id")
|
||||
private Long landRouteId;
|
||||
|
||||
/**
|
||||
* 任务开始时间
|
||||
*/
|
||||
@ApiModelProperty(value = "任务开始时间")
|
||||
@Schema(description = "任务开始时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库
|
||||
*/
|
||||
@ApiModelProperty(value = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位 6:图片上传完成")
|
||||
@Schema(description = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位 6:图片上传完成")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 任务结束时间
|
||||
*/
|
||||
@ApiModelProperty(value = "任务结束时间")
|
||||
@Schema(description = "任务结束时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date finishTime;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除 0:正常;1:删除")
|
||||
@Schema(description = "是否删除 0:正常;1:删除")
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 任务执行时长
|
||||
*/
|
||||
@ApiModelProperty(value = "任务执行时长")
|
||||
@Schema(description = "任务执行时长")
|
||||
private Integer timespan;
|
||||
|
||||
/**
|
||||
* 任务飞行距离
|
||||
*/
|
||||
@ApiModelProperty(value = "任务飞行距离")
|
||||
@Schema(description = "任务飞行距离")
|
||||
private Integer distance;
|
||||
|
||||
/**
|
||||
* 是否蛙跳任务 0 否 1 是
|
||||
*/
|
||||
@ApiModelProperty(value = "是否蛙跳任务 0 否 1 是")
|
||||
@Schema(description = "是否蛙跳任务 0 否 1 是")
|
||||
private Integer isLeapFrogTask;
|
||||
|
||||
@ApiModelProperty("起飞设备")
|
||||
@Schema(description = "起飞设备")
|
||||
private String dstId;
|
||||
|
||||
@ApiModelProperty(value = "创建时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "创建时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
@ApiModelProperty(value = "更新时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "更新时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "任务开始日期 格式:yyyy-MM-dd")
|
||||
@Schema(description = "任务开始日期 格式:yyyy-MM-dd")
|
||||
@JSONField(format = "yyyy-MM-dd")
|
||||
private Date startDate;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "任务飞机起飞高度")
|
||||
@Schema(description = "任务飞机起飞高度")
|
||||
private Integer height;
|
||||
|
||||
@ApiModelProperty(value = "返航动作:0 卸电不卸传,1卸电不卸单光,2 卸电不卸红外")
|
||||
@Schema(description = "返航动作:0 卸电不卸传,1卸电不卸单光,2 卸电不卸红外")
|
||||
private Integer changeEquipment;
|
||||
|
||||
@ApiModelProperty(value = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
@Schema(description = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
private Integer rtlMode;
|
||||
|
||||
@ApiModelProperty(value = "计划子任务id,即表 ik_user_mission_tower_device id")
|
||||
@Schema(description = "计划子任务id,即表 ik_user_mission_tower_device id")
|
||||
private Long userMissionTowerDeviceId;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
private String routeName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("起飞机库名称")
|
||||
@Schema(description = "起飞机库名称")
|
||||
private String takeOffDockName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("降落机库名称")
|
||||
@Schema(description = "降落机库名称")
|
||||
private String landDockName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("起飞机库sn")
|
||||
@Schema(description = "起飞机库sn")
|
||||
private String takeoffDockSn;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("降落机库sn")
|
||||
@Schema(description = "降落机库sn")
|
||||
private String landDockSn;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("任务创建人")
|
||||
@Schema(description = "任务创建人")
|
||||
private String createMissionUser;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("任务执行人")
|
||||
@Schema(description = "任务执行人")
|
||||
private String principalMissionUser;
|
||||
|
||||
@ApiModelProperty(value = "猎鹰巡检区域")
|
||||
@Schema(description = "猎鹰巡检区域")
|
||||
private String missionAreaName;
|
||||
|
||||
@ApiModelProperty(value = "猎鹰巡检区域Id,对应ik_line中的id")
|
||||
@Schema(description = "猎鹰巡检区域Id,对应ik_line中的id")
|
||||
private Long areaId;
|
||||
|
||||
@ApiModelProperty(value = "猎鹰巡检点位名称,多个用逗号,隔开")
|
||||
@Schema(description = "猎鹰巡检点位名称,多个用逗号,隔开")
|
||||
private String pointName;
|
||||
|
||||
// 缺陷分析 add by mxw at 20220316
|
||||
@ApiModelProperty(value = "图片缺陷审核状态, 0:未审核 1:审核完成")
|
||||
@Schema(description = "图片缺陷审核状态, 0:未审核 1:审核完成")
|
||||
private Integer imageApproveStatus;
|
||||
|
||||
@ApiModelProperty(value = "清晰度数值")
|
||||
@Schema(description = "清晰度数值")
|
||||
private BigDecimal clarity;
|
||||
|
||||
@ApiModelProperty(value = "准确度数值")
|
||||
@Schema(description = "准确度数值")
|
||||
private BigDecimal accuracy;
|
||||
|
||||
@ApiModelProperty(value = "图片分析审核人id")
|
||||
@Schema(description = "图片分析审核人id")
|
||||
private Long defectApprover;
|
||||
// 缺陷分析 end
|
||||
@ApiModelProperty(value = "3D Scan巡检区域Id,对应ik_td_scan_area中的id")
|
||||
@Schema(description = "3D Scan巡检区域Id,对应ik_td_scan_area中的id")
|
||||
private Long tdAreaId;
|
||||
|
||||
// word报告名称
|
||||
@@ -258,110 +257,110 @@ public class MissionDTO implements Cloneable, Serializable {
|
||||
|
||||
|
||||
// 设备工作状态
|
||||
@ApiModelProperty(value = "设备工作状态;0:其他状态,1:FAT中")
|
||||
@Schema(description = "设备工作状态;0:其他状态,1:FAT中")
|
||||
private Integer deviceWorkStatus;
|
||||
|
||||
/**
|
||||
* 任务起飞机库铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞机库铭牌号")
|
||||
@Schema(description = "任务起飞机库铭牌号")
|
||||
@TableField(exist = false)
|
||||
private String takeOffDeviceSn;
|
||||
|
||||
/**
|
||||
* 任务降落机库铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务降落机库铭牌号")
|
||||
@Schema(description = "任务降落机库铭牌号")
|
||||
@TableField(exist = false)
|
||||
private String landDeviceSn;
|
||||
|
||||
/**
|
||||
* 任务飞机铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务飞机铭牌号")
|
||||
@Schema(description = "任务飞机铭牌号")
|
||||
@TableField(exist = false)
|
||||
private String droneSn;
|
||||
|
||||
/**
|
||||
* 任务执行时长
|
||||
*/
|
||||
@ApiModelProperty(value = "任务采集照片数,实际采集照片数")
|
||||
@Schema(description = "任务采集照片数,实际采集照片数")
|
||||
private Integer picNums;
|
||||
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
@Schema(description = "用户头像")
|
||||
@TableField(exist = false)
|
||||
private String avatarUrl;
|
||||
|
||||
@ApiModelProperty(value = "用户真实姓名")
|
||||
@Schema(description = "用户真实姓名")
|
||||
@TableField(exist = false)
|
||||
private String realName;
|
||||
|
||||
@ApiModelProperty(value = "数传视频数量(此统计记录srs flv视频数量)")
|
||||
@Schema(description = "数传视频数量(此统计记录srs flv视频数量)")
|
||||
private Integer uploadVideoCount;
|
||||
|
||||
@ApiModelProperty("上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传")
|
||||
@Schema(description = "上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传")
|
||||
private Integer uploadImageMode;
|
||||
|
||||
@ApiModelProperty("设定上传图片时间(HH:mm:ss)")
|
||||
@Schema(description = "设定上传图片时间(HH:mm:ss)")
|
||||
private String uploadImageTime;
|
||||
|
||||
@ApiModelProperty(value = "航线生成类型; 0:自动航线生成, 1:ikingPowerLine")
|
||||
@Schema(description = "航线生成类型; 0:自动航线生成, 1:ikingPowerLine")
|
||||
private Integer routeGenerateType;
|
||||
|
||||
@ApiModelProperty(value = "杆塔id")
|
||||
@Schema(description = "杆塔id")
|
||||
private Long towerId;
|
||||
|
||||
@ApiModelProperty(value = "杆塔物理编号")
|
||||
@Schema(description = "杆塔物理编号")
|
||||
private String towerSn;
|
||||
|
||||
@ApiModelProperty(value = "此任务应拍照的数量")
|
||||
@Schema(description = "此任务应拍照的数量")
|
||||
private Integer routeMaxPhotoNum;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "预期拍照的数量")
|
||||
@Schema(description = "预期拍照的数量")
|
||||
private Integer expectedNumberOfPhoto;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "实际拍照的数量")
|
||||
@Schema(description = "实际拍照的数量")
|
||||
private Integer actualNumberOfPhoto;
|
||||
|
||||
@ApiModelProperty(value = "任务报告下载链接")
|
||||
@Schema(description = "任务报告下载链接")
|
||||
private String reportUrl;
|
||||
|
||||
@ApiModelProperty(value = "任务飞机设备类型")
|
||||
@Schema(description = "任务飞机设备类型")
|
||||
private Integer droneDeviceType;
|
||||
|
||||
@ApiModelProperty(value = "飞机吊舱类型;1:华松, 2:红外, 3:一英寸, 4:双光, 5:其他")
|
||||
@Schema(description = "飞机吊舱类型;1:华松, 2:红外, 3:一英寸, 4:双光, 5:其他")
|
||||
private Integer detailPodType;
|
||||
|
||||
@ApiModelProperty(value = "任务航线面积")
|
||||
@Schema(description = "任务航线面积")
|
||||
private BigDecimal routeArea;
|
||||
|
||||
@ApiModelProperty(value = " 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
@Schema(description = " 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
private Integer industryType;
|
||||
|
||||
@ApiModelProperty(value = "任务报告下载链接")
|
||||
@Schema(description = "任务报告下载链接")
|
||||
private String imageZipUrl;
|
||||
|
||||
@ApiModelProperty(value = "是否开启断点续飞 默认不续飞:0 ,续飞:1")
|
||||
@Schema(description = "是否开启断点续飞 默认不续飞:0 ,续飞:1")
|
||||
private Integer resumeFlightEnabled;
|
||||
|
||||
@ApiModelProperty(value = "是否存在子任务 默认不存在:0 ,存在:1")
|
||||
@Schema(description = "是否存在子任务 默认不存在:0 ,存在:1")
|
||||
private Integer hasSubMission;
|
||||
|
||||
@ApiModelProperty(value = "当前任务航线完成状态 0:航线已经飞完 1:航线未飞完")
|
||||
@Schema(description = "当前任务航线完成状态 0:航线已经飞完 1:航线未飞完")
|
||||
private Integer overallStatus;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "任务状态全部")
|
||||
@Schema(description = "任务状态全部")
|
||||
private String statusAll;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "任务缺陷总数")
|
||||
@Schema(description = "任务缺陷总数")
|
||||
private Long defectsNum;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "机库设备类型")
|
||||
@Schema(description = "机库设备类型")
|
||||
private String dockType;
|
||||
|
||||
}
|
||||
|
||||
+61
-62
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -17,7 +16,7 @@ import java.util.Date;
|
||||
* @description 任务图片传输类
|
||||
* @create 2024/8/7 15:47
|
||||
**/
|
||||
@ApiModel("任务图片传输类")
|
||||
@Schema(description = "任务图片传输类")
|
||||
@Data
|
||||
public class MissionImageDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -25,238 +24,238 @@ public class MissionImageDTO implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 任务id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
/**
|
||||
* 任务名
|
||||
*/
|
||||
@ApiModelProperty(value = "任务名")
|
||||
@Schema(description = "任务名")
|
||||
private String missionName;
|
||||
|
||||
/**
|
||||
* 图片名称
|
||||
*/
|
||||
@ApiModelProperty(value = "图片名称")
|
||||
@Schema(description = "图片名称")
|
||||
private String imageName;
|
||||
|
||||
/**
|
||||
* 图片路径
|
||||
*/
|
||||
@ApiModelProperty(value = "图片路径")
|
||||
@Schema(description = "图片路径")
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 拍照时飞机的经度
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时飞机的经度")
|
||||
@Schema(description = "拍照时飞机的经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 拍照时飞机的纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时飞机的纬度")
|
||||
@Schema(description = "拍照时飞机的纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 拍照时飞机的相对起飞点高度
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时飞机的相对起飞点高度")
|
||||
@Schema(description = "拍照时飞机的相对起飞点高度")
|
||||
private BigDecimal altitude;
|
||||
|
||||
/**
|
||||
* 塔编号
|
||||
*/
|
||||
@ApiModelProperty(value = "塔编号")
|
||||
@Schema(description = "塔编号")
|
||||
private String towerId;
|
||||
|
||||
/**
|
||||
* action编号
|
||||
*/
|
||||
@ApiModelProperty(value = "action编号")
|
||||
@Schema(description = "action编号")
|
||||
private Long actionId;
|
||||
|
||||
/**
|
||||
* 线路编号
|
||||
*/
|
||||
@ApiModelProperty(value = "线路编号")
|
||||
@Schema(description = "线路编号")
|
||||
private String lineId;
|
||||
|
||||
/**
|
||||
* 绝缘子编号
|
||||
*/
|
||||
@ApiModelProperty(value = "绝缘子编号")
|
||||
@Schema(description = "绝缘子编号")
|
||||
private Long targetId;
|
||||
|
||||
/**
|
||||
* 2023-10-17改为机场id
|
||||
*/
|
||||
@ApiModelProperty(value = "机场id")
|
||||
@Schema(description = "机场id")
|
||||
private Long deviceId;
|
||||
|
||||
/**
|
||||
* 图片类型 0:jpg,1:gif,2:jpeg,3:tif
|
||||
*/
|
||||
@ApiModelProperty(value = "图片类型 0:jpg,1:gif,2:jpeg,3:tif")
|
||||
@Schema(description = "图片类型 0:jpg,1:gif,2:jpeg,3:tif")
|
||||
private Integer imageType;
|
||||
|
||||
/**
|
||||
* 拍照时间
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时间")
|
||||
@Schema(description = "拍照时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date takePhotoTime;
|
||||
|
||||
/**
|
||||
* 图片尺寸宽度
|
||||
*/
|
||||
@ApiModelProperty(value = "图片尺寸宽度")
|
||||
@Schema(description = "图片尺寸宽度")
|
||||
private Integer imageWidth;
|
||||
|
||||
/**
|
||||
* 图片尺寸高度
|
||||
*/
|
||||
@ApiModelProperty(value = "图片尺寸高度")
|
||||
@Schema(description = "图片尺寸高度")
|
||||
private Integer imageHeight;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
@ApiModelProperty(value = "图片缺陷审核状态 0:未审核 1:已审核")
|
||||
@Schema(description = "图片缺陷审核状态 0:未审核 1:已审核")
|
||||
private Integer approveStatus;
|
||||
|
||||
@ApiModelProperty(value = "图片清晰度 0:不清晰 1:清晰")
|
||||
@Schema(description = "图片清晰度 0:不清晰 1:清晰")
|
||||
private Integer isClear;
|
||||
|
||||
@ApiModelProperty(value = "图片准确度 0:准确 1:不准确")
|
||||
@Schema(description = "图片准确度 0:准确 1:不准确")
|
||||
private Integer isAccurate;
|
||||
|
||||
@ApiModelProperty(value = "审核人id")
|
||||
@Schema(description = "审核人id")
|
||||
private Long approverId;
|
||||
|
||||
@ApiModelProperty(value = "3D Scan 区域id")
|
||||
@Schema(description = "3D Scan 区域id")
|
||||
private Long areaId;
|
||||
|
||||
@ApiModelProperty(value = "是否已AI探测识别,0:未探测, 1:已探测")
|
||||
@Schema(description = "是否已AI探测识别,0:未探测, 1:已探测")
|
||||
private Integer isAiDetect;
|
||||
|
||||
@ApiModelProperty(value = "圣se拍照设备位置 1:上、2:中、3: 下载缺陷分析报告")
|
||||
@Schema(description = "圣se拍照设备位置 1:上、2:中、3: 下载缺陷分析报告")
|
||||
private Integer uploadStatus = 0;
|
||||
|
||||
@ApiModelProperty(value = "sn")
|
||||
@Schema(description = "sn")
|
||||
private String sn;
|
||||
|
||||
@ApiModelProperty(value = "是否是红外图片,1:是,2:否")
|
||||
@Schema(description = "是否是红外图片,1:是,2:否")
|
||||
private Integer isInfrared;
|
||||
|
||||
@ApiModelProperty(value = "红外图片中的最高温度")
|
||||
@Schema(description = "红外图片中的最高温度")
|
||||
private String max;
|
||||
|
||||
@ApiModelProperty(value = "红外图片中的最低温度")
|
||||
@Schema(description = "红外图片中的最低温度")
|
||||
private String min;
|
||||
|
||||
@ApiModelProperty(value = "红外图片中的最高温度的x坐标")
|
||||
@Schema(description = "红外图片中的最高温度的x坐标")
|
||||
private String maxPosX;
|
||||
|
||||
@ApiModelProperty(value = "红外图片中的最高温度的y坐标")
|
||||
@Schema(description = "红外图片中的最高温度的y坐标")
|
||||
private String maxPosY;
|
||||
|
||||
@ApiModelProperty(value = "红外图片中的最低温度的x坐标")
|
||||
@Schema(description = "红外图片中的最低温度的x坐标")
|
||||
private String minPosX;
|
||||
|
||||
@ApiModelProperty(value = "红外图片中的最低温度的y坐标")
|
||||
@Schema(description = "红外图片中的最低温度的y坐标")
|
||||
private String minPosY;
|
||||
|
||||
@ApiModelProperty(value = "缩略图访问路径")
|
||||
@Schema(description = "缩略图访问路径")
|
||||
private String thumbnailUrl;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "拍摄目标经度")
|
||||
@Schema(description = "拍摄目标经度")
|
||||
private String targetLongitude;
|
||||
|
||||
@ApiModelProperty(value = "拍摄目标纬度")
|
||||
@Schema(description = "拍摄目标纬度")
|
||||
private String targetLatitude;
|
||||
|
||||
@ApiModelProperty(value = "拍摄目标高度")
|
||||
@Schema(description = "拍摄目标高度")
|
||||
private String targetAltitude;
|
||||
|
||||
@ApiModelProperty(value = "拍摄目标距离云台拍照距离")
|
||||
@Schema(description = "拍摄目标距离云台拍照距离")
|
||||
private String targetDistance;
|
||||
|
||||
@ApiModelProperty(value = "拍摄目标类型")
|
||||
@Schema(description = "拍摄目标类型")
|
||||
private Integer newTargetType;
|
||||
|
||||
@ApiModelProperty(value = "杆塔id")
|
||||
@Schema(description = "杆塔id")
|
||||
private Long towerKeyId;
|
||||
|
||||
@ApiModelProperty(value = "原图或者缩略图,默认原图,0:缩略图,1:原图")
|
||||
@Schema(description = "原图或者缩略图,默认原图,0:缩略图,1:原图")
|
||||
private Integer isSrcImage;
|
||||
|
||||
@ApiModelProperty("杆塔跨点左右端区分(跨点前半部航点分为左,后半部分为右);0是左边,1是右边,3是未知;默认值是3")
|
||||
@Schema(description = "杆塔跨点左右端区分(跨点前半部航点分为左,后半部分为右);0是左边,1是右边,3是未知;默认值是3")
|
||||
private Integer partitionLeftRight;
|
||||
|
||||
@ApiModelProperty("航点飞机朝向")
|
||||
@Schema(description = "航点飞机朝向")
|
||||
private Float yaw;
|
||||
|
||||
@ApiModelProperty("拍照动作俯仰角度")
|
||||
@Schema(description = "拍照动作俯仰角度")
|
||||
private Float pitch;
|
||||
|
||||
@ApiModelProperty("拍照动作变焦倍数")
|
||||
@Schema(description = "拍照动作变焦倍数")
|
||||
private Float zoom;
|
||||
|
||||
@ApiModelProperty("飞机航向")
|
||||
@Schema(description = "飞机航向")
|
||||
private Float actionYaw;
|
||||
|
||||
@ApiModelProperty(value = " 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
@Schema(description = " 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
private Integer industryType;
|
||||
|
||||
@ApiModelProperty(value = " 图片分类 0 任务图片 1 大模型图片 ")
|
||||
@Schema(description = " 图片分类 0 任务图片 1 大模型图片 ")
|
||||
private Integer bigModelType;
|
||||
|
||||
@ApiModelProperty(value = " 林班 ")
|
||||
@Schema(description = " 林班 ")
|
||||
private String forestryClass;
|
||||
|
||||
@ApiModelProperty(value = " 大班 ")
|
||||
@Schema(description = " 大班 ")
|
||||
private String bigClass;
|
||||
|
||||
@ApiModelProperty(value = " 小班 ")
|
||||
@Schema(description = " 小班 ")
|
||||
private String smallClass;
|
||||
|
||||
@ApiModelProperty(value = " 石化图片表的id(大模型图片id) ")
|
||||
@Schema(description = " 石化图片表的id(大模型图片id) ")
|
||||
private Long missionVideoShihuaId;
|
||||
|
||||
@ApiModelProperty(value = "解析实时地址名称")
|
||||
@Schema(description = "解析实时地址名称")
|
||||
private String address;
|
||||
|
||||
@ApiModelProperty(value = "缩略图是否上传;0:未上传, 1:上传")
|
||||
@Schema(description = "缩略图是否上传;0:未上传, 1:上传")
|
||||
private Integer thumbnailUp;
|
||||
|
||||
@ApiModelProperty(value = "缩略图md5")
|
||||
@Schema(description = "缩略图md5")
|
||||
private String thumbnailMd5;
|
||||
|
||||
@ApiModelProperty(value = "原图是否上传;0:未上传, 1:上传")
|
||||
@Schema(description = "原图是否上传;0:未上传, 1:上传")
|
||||
private Integer srcUp;
|
||||
|
||||
@ApiModelProperty(value = "原图md5")
|
||||
@Schema(description = "原图md5")
|
||||
private String srcMd5;
|
||||
|
||||
@ApiModelProperty(value = "图片uuid")
|
||||
@Schema(description = "图片uuid")
|
||||
private String imageUuid;
|
||||
}
|
||||
|
||||
+10
-10
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -17,32 +17,32 @@ public class MissionPageDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("任务名称")
|
||||
@Schema(description = "任务名称")
|
||||
private String missionName;
|
||||
|
||||
@ApiModelProperty(value = "任务航线Id")
|
||||
@Schema(description = "任务航线Id")
|
||||
private Long missionRouteId;
|
||||
|
||||
@ApiModelProperty(value = "任务开始时间")
|
||||
@Schema(description = "任务开始时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty(value = "任务结束时间")
|
||||
@Schema(description = "任务结束时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date finishTime;
|
||||
|
||||
@ApiModelProperty("起飞机库sn")
|
||||
@Schema(description = "起飞机库sn")
|
||||
private String takeoffDockSn;
|
||||
|
||||
@ApiModelProperty("降落机库sn")
|
||||
@Schema(description = "降落机库sn")
|
||||
private String landDockSn;
|
||||
|
||||
@ApiModelProperty("飞机sn")
|
||||
@Schema(description = "飞机sn")
|
||||
private String droneSn;
|
||||
|
||||
@ApiModelProperty("景点id")
|
||||
@Schema(description = "景点id")
|
||||
private Long scenicSoptId;
|
||||
}
|
||||
|
||||
+32
-33
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -16,7 +15,7 @@ import java.util.Date;
|
||||
* @description 任务视频传输实体类
|
||||
* @create 2024/8/8 8:25
|
||||
**/
|
||||
@ApiModel("任务视频传输实体类")
|
||||
@Schema(description = "任务视频传输实体类")
|
||||
@Data
|
||||
public class MissionRecordVideoDTO implements Serializable {
|
||||
|
||||
@@ -25,184 +24,184 @@ public class MissionRecordVideoDTO implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ApiModelProperty(value = "主键")
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 设备执行任务Id
|
||||
*/
|
||||
@ApiModelProperty(value = "设备执行任务Id")
|
||||
@Schema(description = "设备执行任务Id")
|
||||
private Long missionId;
|
||||
|
||||
/**
|
||||
* 设备SN
|
||||
*/
|
||||
@ApiModelProperty(value = "设备SN")
|
||||
@Schema(description = "设备SN")
|
||||
private String deviceId;
|
||||
|
||||
/**
|
||||
* 摄像机名称
|
||||
*/
|
||||
@ApiModelProperty(value = "摄像机名称")
|
||||
@Schema(description = "摄像机名称")
|
||||
private String cameraName;
|
||||
|
||||
/**
|
||||
* 视频url
|
||||
*/
|
||||
@ApiModelProperty(value = "视频url")
|
||||
@Schema(description = "视频url")
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 视频类型 0:rtsp 1:rtmp 2:hls
|
||||
*/
|
||||
@ApiModelProperty(value = "视频类型 0:rtsp 1:rtmp 2:hls ")
|
||||
@Schema(description = "视频类型 0:rtsp 1:rtmp 2:hls ")
|
||||
private Integer videoType;
|
||||
|
||||
/**
|
||||
* 视频编码格式 0:H264 1:H265 2:mpeg4 3:AV1 4:AVS
|
||||
*/
|
||||
@ApiModelProperty(value = "视频编码格式 0:H264 1:H265 2:mpeg4 3:AV1 4:AVS")
|
||||
@Schema(description = "视频编码格式 0:H264 1:H265 2:mpeg4 3:AV1 4:AVS")
|
||||
private Integer videoCodec;
|
||||
|
||||
/**
|
||||
* 音频编码格式 0:AC3 1:DTS
|
||||
*/
|
||||
@ApiModelProperty(value = "音频编码格式 0:AC3 1:DTS")
|
||||
@Schema(description = "音频编码格式 0:AC3 1:DTS")
|
||||
private Integer audioCodec;
|
||||
|
||||
/**
|
||||
* 视频时长
|
||||
*/
|
||||
@ApiModelProperty(value = "视频时长")
|
||||
@Schema(description = "视频时长")
|
||||
private Long timespan;
|
||||
|
||||
/**
|
||||
* 视频状态 0:直播未开始 1:正在直播 2:录播 -1:视频错误
|
||||
*/
|
||||
@ApiModelProperty(value = "视频状态 0:直播未开始 1:正在直播 2:录播 -1:视频错误")
|
||||
@Schema(description = "视频状态 0:直播未开始 1:正在直播 2:录播 -1:视频错误")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 0:正常 1:删除
|
||||
*/
|
||||
@ApiModelProperty(value = "0:正常 1:删除")
|
||||
@Schema(description = "0:正常 1:删除")
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
@Schema(description = "开始时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@ApiModelProperty(value = "结束时间")
|
||||
@Schema(description = "结束时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
/**
|
||||
* 视频文件md5值
|
||||
*/
|
||||
@ApiModelProperty(value = "视频文件md5值")
|
||||
@Schema(description = "视频文件md5值")
|
||||
private String videoMd5;
|
||||
|
||||
/**
|
||||
* 视频文件名称
|
||||
*/
|
||||
@ApiModelProperty(value = "视频文件名称")
|
||||
@Schema(description = "视频文件名称")
|
||||
private String videoName;
|
||||
|
||||
/**
|
||||
* 视频文件分片总数
|
||||
*/
|
||||
@ApiModelProperty(value = "视频文件分片总数")
|
||||
@Schema(description = "视频文件分片总数")
|
||||
private Integer videoChunks;
|
||||
|
||||
/**
|
||||
* 视频缩略图路径
|
||||
*/
|
||||
@ApiModelProperty(value = "视频缩略图路径")
|
||||
@Schema(description = "视频缩略图路径")
|
||||
private String videoImageUrl;
|
||||
|
||||
/**
|
||||
* 视频文件当前已上传分片数
|
||||
*/
|
||||
@ApiModelProperty(value = "视频文件当前已上传分片数")
|
||||
@Schema(description = "视频文件当前已上传分片数")
|
||||
private Integer videoChunk;
|
||||
|
||||
/**
|
||||
* 设备sn
|
||||
*/
|
||||
@ApiModelProperty(value = "设备sn")
|
||||
@Schema(description = "设备sn")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 上传状态,0:未上传, 1:上传中, 2:上传完成
|
||||
*/
|
||||
@ApiModelProperty(value = "上传状态,0:未上传, 1:上传中, 2:上传完成")
|
||||
@Schema(description = "上传状态,0:未上传, 1:上传中, 2:上传完成")
|
||||
private Integer uploadStatus;
|
||||
|
||||
/**
|
||||
* uuid; (断点续传记录文件名)
|
||||
*/
|
||||
@ApiModelProperty(value = "uuid; (断点续传记录文件名)")
|
||||
@Schema(description = "uuid; (断点续传记录文件名)")
|
||||
private String uuid;
|
||||
|
||||
/**
|
||||
* 机库id
|
||||
*/
|
||||
@ApiModelProperty(value = "机库id")
|
||||
@Schema(description = "机库id")
|
||||
private Long dockId;
|
||||
|
||||
/**
|
||||
* 记录类型;1:设备上传视频, 2:srs视频
|
||||
*/
|
||||
@ApiModelProperty(value = "记录类型;1:设备上传视频, 2:srs视频")
|
||||
@Schema(description = "记录类型;1:设备上传视频, 2:srs视频")
|
||||
private Integer recordType;
|
||||
|
||||
/**
|
||||
* 视频url
|
||||
*/
|
||||
@ApiModelProperty(value = "压缩flv视频url")
|
||||
@Schema(description = "压缩flv视频url")
|
||||
private String flvUrl;
|
||||
|
||||
/**
|
||||
* 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建
|
||||
*/
|
||||
@ApiModelProperty(value = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建")
|
||||
@Schema(description = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建")
|
||||
private Integer industryType;
|
||||
|
||||
/**
|
||||
* 视频摄像头分类:0 普通光 1 红外线 2 图传普通光 3 图传红外线 4 大模型识别流
|
||||
*/
|
||||
@ApiModelProperty(value = "视频摄像头分类:0 普通光 1 红外线 2 图传普通光 3 图传红外线 4 大模型识别流")
|
||||
@Schema(description = "视频摄像头分类:0 普通光 1 红外线 2 图传普通光 3 图传红外线 4 大模型识别流")
|
||||
private Integer videoCameraType;
|
||||
|
||||
/**
|
||||
* 压缩和对象存储状态;0:私有化存储, 1:原视频上传对象存储未完成,2:原视频上传对象存储完成
|
||||
*/
|
||||
@ApiModelProperty(value = "压缩和对象存储状态;0:私有化存储, 1:原视频上传对象存储未完成,2:原视频上传对象存储完成")
|
||||
@Schema(description = "压缩和对象存储状态;0:私有化存储, 1:原视频上传对象存储未完成,2:原视频上传对象存储完成")
|
||||
private Integer CompressStorageState;
|
||||
|
||||
/**
|
||||
* 当前分片上传状态;0:待上传, 1:上传中, 2:上传成功,3:上传失败
|
||||
*/
|
||||
@ApiModelProperty(value = "当前分片上传状态;0:待上传, 1:上传中, 2:上传成功,3:上传失败")
|
||||
@Schema(description = "当前分片上传状态;0:待上传, 1:上传中, 2:上传成功,3:上传失败")
|
||||
private Integer currentChunkState;
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.zlt.tourism.core.BasePage;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -12,9 +12,9 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MissionStatusUpdateDTO extends BasePage {
|
||||
|
||||
@ApiModelProperty("任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
@ApiModelProperty("状态值")
|
||||
@Schema(description = "状态值")
|
||||
private Integer missionStatus;
|
||||
}
|
||||
|
||||
+10
-11
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -13,31 +12,31 @@ import lombok.Data;
|
||||
* @description 任务回放查询类
|
||||
* @create 2024/8/26 14:07
|
||||
**/
|
||||
@ApiModel("文旅/任务回放查询类")
|
||||
@Schema(description = "文旅/任务回放查询类")
|
||||
@Data
|
||||
public class MissionTrackListQuery extends ParentQuery {
|
||||
|
||||
@ApiModelProperty(value = "当前页,默认值1")
|
||||
@Schema(description = "当前页,默认值1")
|
||||
private Integer page = 1;
|
||||
|
||||
@ApiModelProperty(value = "分页大小,默认值10")
|
||||
@Schema(description = "分页大小,默认值10")
|
||||
private Integer limit = 10;
|
||||
|
||||
@ApiModelProperty(value = "任务创建开始时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务创建开始时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
private String startTime;
|
||||
|
||||
@ApiModelProperty(value = "任务创建结束时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "任务创建结束时间,格式yyyy-MM-dd HH:mm:ss")
|
||||
private String endTime;
|
||||
|
||||
@ApiModelProperty(value = "当前登录系统用户id,无需上送,后台自行处理")
|
||||
@Schema(description = "当前登录系统用户id,无需上送,后台自行处理")
|
||||
private Long userId;
|
||||
|
||||
@ApiModelProperty(value = "任务Id")
|
||||
@Schema(description = "任务Id")
|
||||
private Long missionId;
|
||||
|
||||
@ApiModelProperty(value = "查询任务范围 1: 自己创建的任务,默认,2:所有")
|
||||
@Schema(description = "查询任务范围 1: 自己创建的任务,默认,2:所有")
|
||||
private Integer isOwn=1;
|
||||
|
||||
@ApiModelProperty(value = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位 6: 图片上传完成")
|
||||
@Schema(description = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位 6: 图片上传完成")
|
||||
private Integer status;
|
||||
}
|
||||
|
||||
+11
-11
@@ -2,7 +2,7 @@ package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -25,61 +25,61 @@ public class MissionVideoDTO implements Serializable {
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "主键")
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 设备执行任务Id
|
||||
*/
|
||||
@ApiModelProperty(value = "设备执行任务Id")
|
||||
@Schema(description = "设备执行任务Id")
|
||||
private Long missionId;
|
||||
|
||||
/**
|
||||
* 设备Id
|
||||
*/
|
||||
@ApiModelProperty(value = "设备Id")
|
||||
@Schema(description = "设备Id")
|
||||
private Long deviceId;
|
||||
|
||||
/**
|
||||
* 摄像机名称
|
||||
*/
|
||||
@ApiModelProperty(value = "摄像机名称")
|
||||
@Schema(description = "摄像机名称")
|
||||
private String cameraName;
|
||||
|
||||
/**
|
||||
* 视频url
|
||||
*/
|
||||
@ApiModelProperty(value = "视频url")
|
||||
@Schema(description = "视频url")
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 视频类型 0:rtsp 1:rtmp 2:hls
|
||||
*/
|
||||
@ApiModelProperty(value = "视频类型 0:rtsp 1:rtmp 2:hls")
|
||||
@Schema(description = "视频类型 0:rtsp 1:rtmp 2:hls")
|
||||
private Integer videoType;
|
||||
|
||||
/**
|
||||
* 视频编码格式 0:H264 1:H265 2:mpeg4 3:AV1 4:AVS
|
||||
*/
|
||||
@ApiModelProperty(value = "视频编码格式 0:H264 1:H265 2:mpeg4 3:AV1 4:AVS")
|
||||
@Schema(description = "视频编码格式 0:H264 1:H265 2:mpeg4 3:AV1 4:AVS")
|
||||
private Integer videoCodec;
|
||||
|
||||
/**
|
||||
* 音频编码格式 0:AC3 1:DTS
|
||||
*/
|
||||
@ApiModelProperty(value = "音频编码格式 0:AC3 1:DTS")
|
||||
@Schema(description = "音频编码格式 0:AC3 1:DTS")
|
||||
private Integer audioCodec;
|
||||
|
||||
/**
|
||||
* 视频时长
|
||||
*/
|
||||
@ApiModelProperty(value = "视频时长")
|
||||
@Schema(description = "视频时长")
|
||||
private Integer timespan;
|
||||
|
||||
/**
|
||||
* 视频状态 0:直播未开始 1:正在直播 2:录播 -1:视频错误
|
||||
*/
|
||||
@ApiModelProperty(value = "视频状态 0:直播未开始 1:正在直播 2:录播 -1:视频错误")
|
||||
@Schema(description = "视频状态 0:直播未开始 1:正在直播 2:录播 -1:视频错误")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
|
||||
+4
-5
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -13,19 +12,19 @@ import lombok.Data;
|
||||
* @description 设备推流列表查询类
|
||||
* @create 2024/7/19 15:53
|
||||
**/
|
||||
@ApiModel("文旅/设备推流列表查询类")
|
||||
@Schema(description = "文旅/设备推流列表查询类")
|
||||
@Data
|
||||
public class MissionVideoListQuery extends ParentQuery {
|
||||
|
||||
/**
|
||||
* 设备Sn
|
||||
*/
|
||||
@ApiModelProperty(value = "设备sn,查询当前机构及其子机构接口中返回的设备sn" ,required = true)
|
||||
@Schema(description = "设备sn,查询当前机构及其子机构接口中返回的设备sn" ,required = true)
|
||||
String deviceSn;
|
||||
|
||||
/**
|
||||
* 设备类型
|
||||
*/
|
||||
@ApiModelProperty(value = "设备类型,1001:固定机库,车载机库:1002,旋翼飞机:2001,固定翼飞机:2002")
|
||||
@Schema(description = "设备类型,1001:固定机库,车载机库:1002,旋翼飞机:2001,固定翼飞机:2002")
|
||||
private int deviceType;
|
||||
}
|
||||
|
||||
+6
-7
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.mission;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -13,31 +12,31 @@ import lombok.Data;
|
||||
* @description 任务视频分页查询类
|
||||
* @create 2024/8/8 8:22
|
||||
**/
|
||||
@ApiModel("任务视频分页查询类")
|
||||
@Schema(description = "任务视频分页查询类")
|
||||
@Data
|
||||
public class VideoPageQuery extends ParentQuery {
|
||||
|
||||
/**
|
||||
* 飞机sn
|
||||
*/
|
||||
@ApiModelProperty(value = "飞机sn", required = false)
|
||||
@Schema(description = "飞机sn", required = false)
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 任务id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务id", required = true)
|
||||
@Schema(description = "任务id", required = true)
|
||||
private Long missionId;
|
||||
|
||||
/**
|
||||
* 当前页,默认值1
|
||||
*/
|
||||
@ApiModelProperty(value = "当前页,默认值1")
|
||||
@Schema(description = "当前页,默认值1")
|
||||
private Integer page = 1;
|
||||
|
||||
/**
|
||||
* 分页大小,默认值10
|
||||
*/
|
||||
@ApiModelProperty(value = "分页大小,默认值10")
|
||||
@Schema(description = "分页大小,默认值10")
|
||||
private Integer limit = 10;
|
||||
}
|
||||
|
||||
+13
-13
@@ -1,6 +1,6 @@
|
||||
package com.zlt.tourism.dto.order;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -14,40 +14,40 @@ import java.io.Serializable;
|
||||
public class CreateOrderDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "用户id")
|
||||
@Schema(description = "用户id")
|
||||
private String userId;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "航线code")
|
||||
@Schema(description = "航线code")
|
||||
private String routeCode;
|
||||
|
||||
@ApiModelProperty("起飞机库")
|
||||
@Schema(description = "起飞机库")
|
||||
private String takeOffDockSn;
|
||||
|
||||
@ApiModelProperty("降落机库")
|
||||
@Schema(description = "降落机库")
|
||||
private String landDockSn;
|
||||
|
||||
@ApiModelProperty("起飞飞机")
|
||||
@Schema(description = "起飞飞机")
|
||||
private String takeOffDroneSn;
|
||||
|
||||
@ApiModelProperty("订单状态:1:排队中 2:待支付 3:已支付 4:任务中 5:任务完成")
|
||||
@Schema(description = "订单状态:1:排队中 2:待支付 3:已支付 4:任务中 5:任务完成")
|
||||
private Integer OrderStatus;
|
||||
|
||||
@ApiModelProperty("订单类型:暂定")
|
||||
@Schema(description = "订单类型:暂定")
|
||||
private Integer OrderType;
|
||||
|
||||
@ApiModelProperty("任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
@ApiModelProperty("套餐id")
|
||||
@Schema(description = "套餐id")
|
||||
private Long comboId;
|
||||
|
||||
@ApiModelProperty("订单金额")
|
||||
@Schema(description = "订单金额")
|
||||
private String orderNum;
|
||||
|
||||
@ApiModelProperty(value = "景点Id")
|
||||
@Schema(description = "景点Id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
@ApiModelProperty(value = "打卡点Id")
|
||||
@Schema(description = "打卡点Id")
|
||||
private Long checkInPoint;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.order;
|
||||
|
||||
import com.zlt.tourism.model.tourism.TourismOrderEnity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -12,7 +12,7 @@ import lombok.Data;
|
||||
@Data
|
||||
public class OrderInfoDTO extends TourismOrderEnity {
|
||||
|
||||
@ApiModelProperty("排队人数")
|
||||
@Schema(description = "排队人数")
|
||||
private Integer numberline;
|
||||
|
||||
}
|
||||
|
||||
+12
-12
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.org;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -24,55 +24,55 @@ public class OrganizationDTO implements Serializable {
|
||||
/**
|
||||
* 自增id
|
||||
*/
|
||||
@ApiModelProperty(value = "自增id")
|
||||
@Schema(description = "自增id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 上级机构
|
||||
*/
|
||||
@ApiModelProperty(value = "上级机构")
|
||||
@Schema(description = "上级机构")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 机构名称
|
||||
*/
|
||||
@ApiModelProperty(value = "机构名称")
|
||||
@Schema(description = "机构名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 机构等级
|
||||
*/
|
||||
@ApiModelProperty(value = "机构等级")
|
||||
@Schema(description = "机构等级")
|
||||
private Integer level;
|
||||
|
||||
/**
|
||||
* 机构状态
|
||||
*/
|
||||
@ApiModelProperty(value = "机构状态,0:正常,1:禁用")
|
||||
@Schema(description = "机构状态,0:正常,1:禁用")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 机构唯一编码
|
||||
*/
|
||||
@ApiModelProperty(value = "机构唯一编码")
|
||||
@Schema(description = "机构唯一编码")
|
||||
private String uniqueId;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty(value = "经度")
|
||||
@Schema(description = "经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "纬度")
|
||||
@Schema(description = "纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 海拔
|
||||
*/
|
||||
@ApiModelProperty(value = "海拔")
|
||||
@Schema(description = "海拔")
|
||||
private BigDecimal altitude;
|
||||
|
||||
private Long commonId;
|
||||
@@ -80,14 +80,14 @@ public class OrganizationDTO implements Serializable {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.org;
|
||||
|
||||
import com.zlt.tourism.dto.user.SysUserEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -15,6 +15,6 @@ import lombok.Data;
|
||||
@Data
|
||||
public class OrganizationTreeQuery extends OrganizationQuery{
|
||||
|
||||
@ApiModelProperty(value = "操作员Id")
|
||||
@Schema(description = "操作员Id")
|
||||
private SysUserEntity sysUser;
|
||||
}
|
||||
|
||||
+5
-6
@@ -1,7 +1,6 @@
|
||||
package com.zlt.tourism.dto.other;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -15,7 +14,7 @@ import java.io.Serializable;
|
||||
* @create 2024/7/29 8:56
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("行业实体类")
|
||||
@Schema(description = "行业实体类")
|
||||
public class IndustryDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -23,18 +22,18 @@ public class IndustryDTO implements Serializable {
|
||||
/**
|
||||
* 行业类型
|
||||
*/
|
||||
@ApiModelProperty("行业类型")
|
||||
@Schema(description = "行业类型")
|
||||
private String industryType;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@ApiModelProperty("名称")
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*/
|
||||
@ApiModelProperty("编码")
|
||||
@Schema(description = "编码")
|
||||
private String code;
|
||||
}
|
||||
|
||||
+11
-12
@@ -1,7 +1,6 @@
|
||||
package com.zlt.tourism.dto.other;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -15,39 +14,39 @@ import java.util.List;
|
||||
* @description 模型列表查询类
|
||||
* @create 2024/8/29 13:08
|
||||
**/
|
||||
@ApiModel("模型列表查询类")
|
||||
@Schema(description = "模型列表查询类")
|
||||
@Data
|
||||
public class ModelListQuery extends ParentQuery{
|
||||
|
||||
@ApiModelProperty(value = "机构Ids,数组")
|
||||
@Schema(description = "机构Ids,数组")
|
||||
private List<Long> organizationIds;
|
||||
|
||||
@ApiModelProperty(value = "经度,需要做迁移的")
|
||||
@Schema(description = "经度,需要做迁移的")
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "纬度,需要做偏移的")
|
||||
@Schema(description = "纬度,需要做偏移的")
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "范围参数单位为米")
|
||||
@Schema(description = "范围参数单位为米")
|
||||
private BigDecimal radius;
|
||||
|
||||
@ApiModelProperty(value = "0 pointCloud,1 model,2 KML,3 point-3mx, 4 model-3mx,5 MR,6 自定义 7 正射影像图")
|
||||
@Schema(description = "0 pointCloud,1 model,2 KML,3 point-3mx, 4 model-3mx,5 MR,6 自定义 7 正射影像图")
|
||||
private List<Integer> mapTypes;
|
||||
|
||||
/**
|
||||
* 模型所属权(默认值1),1:内网,2:外网 add by mxw at 20220615
|
||||
*/
|
||||
@ApiModelProperty(value = "模型所属,1:内网 2:外网")
|
||||
@Schema(description = "模型所属,1:内网 2:外网")
|
||||
private Integer ownership;
|
||||
/**
|
||||
* 按照time排序 1顺序 2 倒叙
|
||||
*/
|
||||
@ApiModelProperty(value = "按照time排序 1顺序 2 倒叙")
|
||||
@Schema(description = "按照time排序 1顺序 2 倒叙")
|
||||
private Integer orderByTime;
|
||||
|
||||
@ApiModelProperty(value = "时间筛选开始时间具体到天的时间戳")
|
||||
@Schema(description = "时间筛选开始时间具体到天的时间戳")
|
||||
private Long startTimeAt;
|
||||
|
||||
@ApiModelProperty(value = "时间筛选结束时间具体到天的时间戳")
|
||||
@Schema(description = "时间筛选结束时间具体到天的时间戳")
|
||||
private Long endTimeAt;
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
package com.zlt.tourism.dto.other;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
@@ -12,14 +12,14 @@ import javax.validation.constraints.NotNull;
|
||||
@Data
|
||||
public class ParentQuery {
|
||||
|
||||
@ApiModelProperty(value = "版本号,便于兼容低版本",required = true)
|
||||
@Schema(description = "版本号,便于兼容低版本",required = true)
|
||||
@NotBlank(message = "版本号不能为空")
|
||||
private String version;
|
||||
|
||||
@ApiModelProperty(value = "请求渠道,1:pad,2:pc,3:drone,4:dock,99:第三方",required = true)
|
||||
@Schema(description = "请求渠道,1:pad,2:pc,3:drone,4:dock,99:第三方",required = true)
|
||||
@NotNull(message = "请求渠道不能为空")
|
||||
private Integer channel;
|
||||
|
||||
@ApiModelProperty(value = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
@Schema(description = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
private Integer industryType;
|
||||
}
|
||||
|
||||
+5
-6
@@ -1,7 +1,6 @@
|
||||
package com.zlt.tourism.dto.other;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -11,7 +10,7 @@ import java.io.Serializable;
|
||||
* @date 2020/11/7 18:48
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("控制权限实体类")
|
||||
@Schema(description = "控制权限实体类")
|
||||
public class StationControlDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -19,19 +18,19 @@ public class StationControlDTO implements Serializable {
|
||||
/**
|
||||
* 控制类型
|
||||
*/
|
||||
@ApiModelProperty("控制类型")
|
||||
@Schema(description = "控制类型")
|
||||
private Integer controlType;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@ApiModelProperty("名称")
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*/
|
||||
@ApiModelProperty("编码")
|
||||
@Schema(description = "编码")
|
||||
private String code;
|
||||
|
||||
}
|
||||
|
||||
+6
-7
@@ -1,10 +1,9 @@
|
||||
package com.zlt.tourism.dto.route;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@@ -15,7 +14,7 @@ import java.io.Serializable;
|
||||
* @description 位置信息实体
|
||||
* @create 2024/8/16 13:45
|
||||
**/
|
||||
@ApiModel("位置信息实体")
|
||||
@Schema(description = "位置信息实体")
|
||||
@Data
|
||||
public class RockerRouteDTO implements Serializable {
|
||||
|
||||
@@ -24,21 +23,21 @@ public class RockerRouteDTO implements Serializable {
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty(value = "经度")
|
||||
@Schema(description = "经度")
|
||||
@NotBlank(message = "经度不能为空")
|
||||
private String longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "纬度")
|
||||
@Schema(description = "纬度")
|
||||
@NotBlank(message = "纬度不能为空")
|
||||
private String Latitude;
|
||||
|
||||
/**
|
||||
* 高度
|
||||
*/
|
||||
@ApiModelProperty(value = "高度")
|
||||
@Schema(description = "高度")
|
||||
@NotBlank(message = "高度不能为空")
|
||||
private String altitude;
|
||||
}
|
||||
|
||||
+4
-5
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.route;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
@@ -18,19 +17,19 @@ import java.util.List;
|
||||
* @create 2024/8/16 13:40
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("文旅-摇臂查询类")
|
||||
@Schema(description = "文旅-摇臂查询类")
|
||||
public class RockerRouteQuery extends ParentQuery {
|
||||
|
||||
/**
|
||||
* 航点数组;([[经,纬,高], ...])
|
||||
*/
|
||||
@ApiModelProperty(value = "航点数组;([[经,纬,高], ...])", required = true)
|
||||
@Schema(description = "航点数组;([[经,纬,高], ...])", required = true)
|
||||
@NotNull(message = "航点数组不能为空")
|
||||
private List<List<BigDecimal>> waypoints;
|
||||
|
||||
/**
|
||||
* dist_thre
|
||||
*/
|
||||
@ApiModelProperty(value = "dist_thre")
|
||||
@Schema(description = "dist_thre")
|
||||
private Float dist_thre = 8f;
|
||||
}
|
||||
|
||||
+44
-45
@@ -2,8 +2,7 @@ package com.zlt.tourism.dto.route;
|
||||
|
||||
import com.zlt.tourism.constant.RouteConstant;
|
||||
import com.zlt.tourism.vo.ActionVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -18,129 +17,129 @@ import java.util.List;
|
||||
* @create 2024/8/19 10:43
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("生成航线或者更新航线传输实体")
|
||||
@Schema(description = "生成航线或者更新航线传输实体")
|
||||
public class RouteCreateOrUpdateDTO {
|
||||
|
||||
@ApiModelProperty(value = "设备sn", required = true)
|
||||
@Schema(description = "设备sn", required = true)
|
||||
private String deviceId;
|
||||
|
||||
@ApiModelProperty(value = "电塔Sn")
|
||||
@Schema(description = "电塔Sn")
|
||||
private String towerSn;
|
||||
|
||||
@ApiModelProperty(value = "机构id")
|
||||
@Schema(description = "机构id")
|
||||
private Long organizationId;
|
||||
|
||||
@ApiModelProperty(value = "航点code,十六进制,新增非必填,修改时必填")
|
||||
@Schema(description = "航点code,十六进制,新增非必填,修改时必填")
|
||||
private String code;
|
||||
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
@Schema(description = "设备名称")
|
||||
private String deviceName;
|
||||
|
||||
@ApiModelProperty(value = "航线名称,密文", required = true)
|
||||
@Schema(description = "航线名称,密文", required = true)
|
||||
private String routeName;
|
||||
|
||||
@ApiModelProperty(value = "航点名称")
|
||||
@Schema(description = "航点名称")
|
||||
private String wayPointName;
|
||||
|
||||
@ApiModelProperty(value = "航线Id,route_id > 0 逻辑删除 route_id = 0 新建")
|
||||
@Schema(description = "航线Id,route_id > 0 逻辑删除 route_id = 0 新建")
|
||||
private Integer routeId;
|
||||
|
||||
@ApiModelProperty(value = "航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检,留着是为了兼容旧版地面站")
|
||||
@Schema(description = "航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检,留着是为了兼容旧版地面站")
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty(value = "航线类型 2:固定起飞航线 3:固定返航航线 4:固定通道巡检 5:固定精细巡检 6 车载激光航线 7 车载通道巡检航线 8 车载精细巡检航线 9 车载倾斜航线 " +
|
||||
@Schema(description = "航线类型 2:固定起飞航线 3:固定返航航线 4:固定通道巡检 5:固定精细巡检 6 车载激光航线 7 车载通道巡检航线 8 车载精细巡检航线 9 车载倾斜航线 " +
|
||||
"10 车载正射航线 11 指点飞行 12 正射面状 13 正射带状 14 倾斜面状 15 倾斜带状 16 激光点云 17 机器人标准行线 18 机器人巡检行线 19 3D Scan精细扫描 20 山海经建模 " +
|
||||
"21:区域标绘航线 22:区域标绘拆分子航线 23 防火巡护 24 防虫害巡护 25 一重山巡检 26 图斑核查巡检 ", required = true)
|
||||
private Integer routeType;
|
||||
|
||||
@ApiModelProperty(value = "航点属性 0:任务点(有动作的点) 1:起飞点 2:降落点 3:安全点 4激光航点不取数,5激光航点取数据", required = true)
|
||||
@Schema(description = "航点属性 0:任务点(有动作的点) 1:起飞点 2:降落点 3:安全点 4激光航点不取数,5激光航点取数据", required = true)
|
||||
private Integer propertyType;
|
||||
|
||||
@ApiModelProperty(value = "航点序号", required = true)
|
||||
@Schema(description = "航点序号", required = true)
|
||||
private Integer index;
|
||||
|
||||
@ApiModelProperty(value = "设备经度", required = true)
|
||||
@Schema(description = "设备经度", required = true)
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "航点纬度", required = true)
|
||||
@Schema(description = "航点纬度", required = true)
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "航点高度", required = true)
|
||||
@Schema(description = "航点高度", required = true)
|
||||
private String altitude;
|
||||
|
||||
@ApiModelProperty(value = "航点速度")
|
||||
@Schema(description = "航点速度")
|
||||
private String speed;
|
||||
|
||||
@ApiModelProperty(value = "航点方向")
|
||||
@Schema(description = "航点方向")
|
||||
private Float direction;
|
||||
|
||||
// 20210312 自动规划航线新增字段begin
|
||||
@ApiModelProperty(value = "转弯类型 1 定点转弯 2 协调转弯", required = true)
|
||||
@Schema(description = "转弯类型 1 定点转弯 2 协调转弯", required = true)
|
||||
private Integer turnType;
|
||||
|
||||
@ApiModelProperty(value = "协调转弯半径", required = true)
|
||||
@Schema(description = "协调转弯半径", required = true)
|
||||
private float coordinateRadius;
|
||||
|
||||
@ApiModelProperty(value = "是否单塔航线类型 0:代表旧版或者多塔航点,1:代表单塔航点", required = true)
|
||||
@Schema(description = "是否单塔航线类型 0:代表旧版或者多塔航点,1:代表单塔航点", required = true)
|
||||
private Integer singleType;
|
||||
|
||||
@ApiModelProperty(value = "线路id(为了区分该航点在塔的左右侧", required = true)
|
||||
@Schema(description = "线路id(为了区分该航点在塔的左右侧", required = true)
|
||||
private long lineId;
|
||||
// 20210312 自动规划航线新增字段end
|
||||
|
||||
@ApiModelProperty(value = "相机动作")
|
||||
@Schema(description = "相机动作")
|
||||
private List<ActionVo> action;
|
||||
|
||||
@ApiModelProperty(value = "航线长度,单位米")
|
||||
@Schema(description = "航线长度,单位米")
|
||||
private Double routeLength;
|
||||
|
||||
@ApiModelProperty(value = "预计飞行时长,单位秒")
|
||||
@Schema(description = "预计飞行时长,单位秒")
|
||||
private Double preFlyTime;
|
||||
|
||||
// 地面机器人航线参数begin
|
||||
@ApiModelProperty(value = "地面机器人地图内x")
|
||||
@Schema(description = "地面机器人地图内x")
|
||||
private String positionX;
|
||||
|
||||
@ApiModelProperty(value = "地面机器人地图内y")
|
||||
@Schema(description = "地面机器人地图内y")
|
||||
private String positionY;
|
||||
|
||||
// add by mxw at 20220510 for SE设备添加字段 begin
|
||||
@ApiModelProperty(value = "地图内z")
|
||||
@Schema(description = "地图内z")
|
||||
private String positionZ;
|
||||
|
||||
@ApiModelProperty(value = "转向")
|
||||
@Schema(description = "转向")
|
||||
private String yaw;
|
||||
// add by mxw at 20220510 for SE设备添加字段 end
|
||||
|
||||
@ApiModelProperty(value = "机器人的四元数之一")
|
||||
@Schema(description = "机器人的四元数之一")
|
||||
private String q1;
|
||||
|
||||
@ApiModelProperty(value = "机器人的四元数之一")
|
||||
@Schema(description = "机器人的四元数之一")
|
||||
private String q2;
|
||||
|
||||
@ApiModelProperty(value = "机器人的四元数之一")
|
||||
@Schema(description = "机器人的四元数之一")
|
||||
private String q3;
|
||||
|
||||
@ApiModelProperty(value = "机器人的四元数之一")
|
||||
@Schema(description = "机器人的四元数之一")
|
||||
private String q4;
|
||||
|
||||
// 地面机器人航线参数end
|
||||
|
||||
// add by mxw at 20220510 for 3D Scan 业务 begin
|
||||
@ApiModelProperty(value = "3D Scan 区域Id")
|
||||
@Schema(description = "3D Scan 区域Id")
|
||||
private Long areaId;
|
||||
// add by mxw at 20220510 for 3D Scan 业务 end
|
||||
|
||||
// add by mxw at 20220815 for sheng se 业务 begin
|
||||
@ApiModelProperty(value = "设备柜编号")
|
||||
@Schema(description = "设备柜编号")
|
||||
private String targetCode;
|
||||
@ApiModelProperty(value = "拍照个数")
|
||||
@Schema(description = "拍照个数")
|
||||
private Integer photo;
|
||||
@ApiModelProperty(value = "是否不显示,0:显示、1:不显示")
|
||||
@Schema(description = "是否不显示,0:显示、1:不显示")
|
||||
private Integer isNotShow;
|
||||
// add by mxw at 20220815 for sheng se end
|
||||
|
||||
@ApiModelProperty(value = "飞机航点动作,0:无,正常执行,1:悬停,2:返航")
|
||||
@Schema(description = "飞机航点动作,0:无,正常执行,1:悬停,2:返航")
|
||||
private Integer droneActionType;
|
||||
|
||||
// add by mxw at 20231008 for 四川遂宁国网项目使用, 航线生成无需传参 begin
|
||||
@@ -152,19 +151,19 @@ public class RouteCreateOrUpdateDTO {
|
||||
/**
|
||||
* 线路名称(明文)
|
||||
*/
|
||||
@ApiModelProperty(value = "线路名称,用来绑定杆塔和航迹对应关系")
|
||||
@Schema(description = "线路名称,用来绑定杆塔和航迹对应关系")
|
||||
private String lineName;
|
||||
// add by mxw at 20231008 for 四川遂宁国网项目 end
|
||||
|
||||
@ApiModelProperty(value = "杆塔号,用来绑定杆塔和航迹对应关系")
|
||||
@Schema(description = "杆塔号,用来绑定杆塔和航迹对应关系")
|
||||
private String towerNum;
|
||||
|
||||
@ApiModelProperty(value = "航线生成类型 0:自动航线生成,1:ikingPowerLine")
|
||||
@Schema(description = "航线生成类型 0:自动航线生成,1:ikingPowerLine")
|
||||
private Integer routeGenerateType = RouteConstant.RouteGenerateTypeEnum.AUTO_NODE.getCode();
|
||||
|
||||
@ApiModelProperty(value = "花瓣航线版本")
|
||||
@Schema(description = "花瓣航线版本")
|
||||
private String version;
|
||||
|
||||
@ApiModelProperty(value = "航线面积")
|
||||
@Schema(description = "航线面积")
|
||||
private BigDecimal routeArea;
|
||||
}
|
||||
|
||||
+13
-14
@@ -2,8 +2,7 @@ package com.zlt.tourism.dto.route;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@@ -16,40 +15,40 @@ import lombok.Data;
|
||||
* @create 2024/8/19 10:39
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("生成航线或者更新航线列表传输实体")
|
||||
@Schema(description = "生成航线或者更新航线列表传输实体")
|
||||
public class RouteCreateOrUpdateListDTO extends ParentQuery {
|
||||
|
||||
@ApiModelProperty(value = "创建航线航点和动作")
|
||||
@Schema(description = "创建航线航点和动作")
|
||||
private JSONArray routAndWayPointAction;
|
||||
|
||||
@ApiModelProperty(value = "所有航点的总时长,航线时长,分钟")
|
||||
@Schema(description = "所有航点的总时长,航线时长,分钟")
|
||||
private Integer routeFlyTime;
|
||||
|
||||
@ApiModelProperty(value = "是否开启仿地")
|
||||
@Schema(description = "是否开启仿地")
|
||||
private Boolean isImitateGround = false;
|
||||
|
||||
@ApiModelProperty(value = "航线父id")
|
||||
@Schema(description = "航线父id")
|
||||
private Long routeParentId;
|
||||
|
||||
@ApiModelProperty(value = "杆塔名")
|
||||
@Schema(description = "杆塔名")
|
||||
private String lineName;
|
||||
|
||||
@ApiModelProperty(value = "杆塔序列")
|
||||
@Schema(description = "杆塔序列")
|
||||
private int towerIndex;
|
||||
|
||||
@ApiModelProperty(value = "物理杆塔号")
|
||||
@Schema(description = "物理杆塔号")
|
||||
private String towerNum;
|
||||
|
||||
@ApiModelProperty(value = "飞机设备类型 2005:圣飞机,2004:圣SE 2001 虎鲸飞机")
|
||||
@Schema(description = "飞机设备类型 2005:圣飞机,2004:圣SE 2001 虎鲸飞机")
|
||||
private int deviceType;
|
||||
|
||||
@ApiModelProperty(value = "机场海拔高度,航时预估用,新建航线时没有机场则不传此字段")
|
||||
@Schema(description = "机场海拔高度,航时预估用,新建航线时没有机场则不传此字段")
|
||||
private String dockAltitude;
|
||||
|
||||
@ApiModelProperty(value = "机场纬度-加密,航时预估用,新建航线时没有机场则不传此字段")
|
||||
@Schema(description = "机场纬度-加密,航时预估用,新建航线时没有机场则不传此字段")
|
||||
private String dockLatitude;
|
||||
|
||||
@ApiModelProperty(value = "机场精度-加密,航时预估用,新建航线时没有机场则不传此字段")
|
||||
@Schema(description = "机场精度-加密,航时预估用,新建航线时没有机场则不传此字段")
|
||||
private String dockLongitude;
|
||||
|
||||
}
|
||||
|
||||
+22
-22
@@ -3,7 +3,7 @@ package com.zlt.tourism.dto.route;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -26,130 +26,130 @@ public class RouteDTO implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 航线名称
|
||||
*/
|
||||
@ApiModelProperty(value = "航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
private String routeName;
|
||||
|
||||
/**
|
||||
* 航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检
|
||||
*/
|
||||
@ApiModelProperty(value = "航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检")
|
||||
@Schema(description = "航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检")
|
||||
private Integer routeType;
|
||||
|
||||
/**
|
||||
* 航线所属机构id
|
||||
*/
|
||||
@ApiModelProperty(value = "航线所属机构id")
|
||||
@Schema(description = "航线所属机构id")
|
||||
private Long organizationId;
|
||||
|
||||
/**
|
||||
* 设备sn
|
||||
*/
|
||||
@ApiModelProperty(value = "设备sn")
|
||||
@Schema(description = "设备sn")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 航线所属用户
|
||||
*/
|
||||
@ApiModelProperty(value = "航线所属用户")
|
||||
@Schema(description = "航线所属用户")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
/**
|
||||
* 航线执行次数
|
||||
*/
|
||||
@ApiModelProperty(value = "航线执行次数")
|
||||
@Schema(description = "航线执行次数")
|
||||
private Integer routeRunNum;
|
||||
|
||||
/**
|
||||
* 航线长度
|
||||
*/
|
||||
@ApiModelProperty(value = "航线长度,单位米")
|
||||
@Schema(description = "航线长度,单位米")
|
||||
private Double routeLength;
|
||||
|
||||
/**
|
||||
* 预计飞行时长
|
||||
*/
|
||||
@ApiModelProperty(value = "预计飞行时长,单位秒")
|
||||
@Schema(description = "预计飞行时长,单位秒")
|
||||
private Double preFlyTime;
|
||||
|
||||
/**
|
||||
* 3D Scan 区域Id
|
||||
*/
|
||||
@ApiModelProperty(value = "3D Scan 区域Id")
|
||||
@Schema(description = "3D Scan 区域Id")
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 保存航线时把前端传的参数全部保存在此字段
|
||||
*/
|
||||
@ApiModelProperty(value = "保存航线时把前端传的参数全部保存在此字段(方天用)")
|
||||
@Schema(description = "保存航线时把前端传的参数全部保存在此字段(方天用)")
|
||||
private String routeJson;
|
||||
|
||||
/**
|
||||
* 是否不显示
|
||||
*/
|
||||
@ApiModelProperty(value = "是否不显示 (默认是0),0:显示、1:不显示")
|
||||
@Schema(description = "是否不显示 (默认是0),0:显示、1:不显示")
|
||||
private Integer isNotShow;
|
||||
|
||||
/**
|
||||
* 父航线id
|
||||
*/
|
||||
@ApiModelProperty(value = "父航线id")
|
||||
@Schema(description = "父航线id")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 设备类型
|
||||
*/
|
||||
@ApiModelProperty(value = "设备类型")
|
||||
@Schema(description = "设备类型")
|
||||
private Integer deviceType;
|
||||
|
||||
/**
|
||||
* 航线生成类型
|
||||
*/
|
||||
@ApiModelProperty(value = "航线生成类型 0:自动航线生成,1:ikingPowerLine")
|
||||
@Schema(description = "航线生成类型 0:自动航线生成,1:ikingPowerLine")
|
||||
private Integer routeGenerateType;
|
||||
|
||||
/**
|
||||
* 花瓣航迹 版本
|
||||
*/
|
||||
@ApiModelProperty(value = "花瓣航迹 版本")
|
||||
@Schema(description = "花瓣航迹 版本")
|
||||
private String petalRouteVersion;
|
||||
|
||||
/**
|
||||
* 航线面积
|
||||
*/
|
||||
@ApiModelProperty(value = "航线面积")
|
||||
@Schema(description = "航线面积")
|
||||
private BigDecimal routeArea;
|
||||
|
||||
/**
|
||||
* 所属行业类型
|
||||
*/
|
||||
@ApiModelProperty(value = "所属行业类型")
|
||||
@Schema(description = "所属行业类型")
|
||||
private Integer industryId;
|
||||
|
||||
/**
|
||||
* 所属部门
|
||||
*/
|
||||
@ApiModelProperty(value = "所属部门")
|
||||
@Schema(description = "所属部门")
|
||||
private Long deptId;
|
||||
|
||||
}
|
||||
|
||||
+14
-15
@@ -2,8 +2,7 @@ package com.zlt.tourism.dto.route;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@@ -18,47 +17,47 @@ import java.util.List;
|
||||
* @description 航线分页查询类
|
||||
* @create 2024/8/22 11:52
|
||||
**/
|
||||
@ApiModel("航线分页查询类")
|
||||
@Schema(description = "航线分页查询类")
|
||||
@Data
|
||||
public class RoutePageQuery extends ParentQuery {
|
||||
|
||||
@ApiModelProperty(value = "设备sn,查询当前机构及其子机构接口中返回的设备sn,非车载获取航线时必填")
|
||||
@Schema(description = "设备sn,查询当前机构及其子机构接口中返回的设备sn,非车载获取航线时必填")
|
||||
private String deviceSn;
|
||||
|
||||
@ApiModelProperty(value = "电塔名称,临时方案:现在电塔和航线没有强关联关系,临时用电塔名称做关联,后期有待优化")
|
||||
@Schema(description = "电塔名称,临时方案:现在电塔和航线没有强关联关系,临时用电塔名称做关联,后期有待优化")
|
||||
private String towerName;
|
||||
|
||||
@ApiModelProperty(value = "航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
private String routeName;
|
||||
|
||||
@ApiModelProperty(value = "航线类型,2:起飞航线,3:返航航线,注:起飞航线是飞机从起点到首航点的航线,自动生成航线时用到; 可多个航线类型,有英文逗号隔开")
|
||||
@Schema(description = "航线类型,2:起飞航线,3:返航航线,注:起飞航线是飞机从起点到首航点的航线,自动生成航线时用到; 可多个航线类型,有英文逗号隔开")
|
||||
private String routeType;
|
||||
|
||||
@ApiModelProperty(value = "兴趣点Id,如果传了则查询的是兴趣点和设备所属航线")
|
||||
@Schema(description = "兴趣点Id,如果传了则查询的是兴趣点和设备所属航线")
|
||||
private Long targetId;
|
||||
|
||||
@ApiModelProperty(value = "经度,车载获取航线必填,刚开始是车载需求,现在扩展至所有场景" )
|
||||
@Schema(description = "经度,车载获取航线必填,刚开始是车载需求,现在扩展至所有场景" )
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "维度,车载获取航线必填,刚开始是车载需求,现在扩展至所有场景")
|
||||
@Schema(description = "维度,车载获取航线必填,刚开始是车载需求,现在扩展至所有场景")
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "获取半径内的所有航线,上送经纬度此半径内所有航线,单位米")
|
||||
@Schema(description = "获取半径内的所有航线,上送经纬度此半径内所有航线,单位米")
|
||||
private BigDecimal radius;
|
||||
|
||||
@ApiModelProperty(value = "航线id")
|
||||
@Schema(description = "航线id")
|
||||
private Long routeId;
|
||||
|
||||
@ApiModelProperty(value = "当前页,默认值1")
|
||||
@Schema(description = "当前页,默认值1")
|
||||
private Integer page = 1;
|
||||
|
||||
@ApiModelProperty(value = "分页大小,默认值10")
|
||||
@Schema(description = "分页大小,默认值10")
|
||||
private Integer limit = 10;
|
||||
|
||||
// 航线类型数组
|
||||
@JsonIgnore
|
||||
private List<Integer> routeTypes = new ArrayList<>();
|
||||
|
||||
@ApiModelProperty(value = "创建航迹人Id,如果不传,则查询所有航迹,传了userId,则查询userId航迹")
|
||||
@Schema(description = "创建航迹人Id,如果不传,则查询所有航迹,传了userId,则查询userId航迹")
|
||||
private Long userId;
|
||||
}
|
||||
|
||||
+28
-28
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.dto.route;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -22,162 +22,162 @@ public class WayPointDTO implements Serializable {
|
||||
/**
|
||||
* 航点ID
|
||||
*/
|
||||
@ApiModelProperty(value = "航点ID")
|
||||
@Schema(description = "航点ID")
|
||||
private Long pointId;
|
||||
|
||||
/**
|
||||
* 航线名称
|
||||
*/
|
||||
@ApiModelProperty(value = "航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
private String routeName;
|
||||
|
||||
/**
|
||||
* 航线ID
|
||||
*/
|
||||
@ApiModelProperty(value = "航线ID")
|
||||
@Schema(description = "航线ID")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 航点类型
|
||||
*/
|
||||
@ApiModelProperty(value = "航点类型")
|
||||
@Schema(description = "航点类型")
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 航点序号
|
||||
*/
|
||||
@ApiModelProperty(value = "航点序号")
|
||||
@Schema(description = "航点序号")
|
||||
private Integer index;
|
||||
|
||||
/**
|
||||
* 设备经度
|
||||
*/
|
||||
@ApiModelProperty(value = "设备经度")
|
||||
@Schema(description = "设备经度")
|
||||
private String longitude;
|
||||
|
||||
/**
|
||||
* 航点纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "航点纬度")
|
||||
@Schema(description = "航点纬度")
|
||||
private String latitude;
|
||||
|
||||
/**
|
||||
* 航点高度
|
||||
*/
|
||||
@ApiModelProperty(value = "航点高度")
|
||||
@Schema(description = "航点高度")
|
||||
private String altitude;
|
||||
|
||||
/**
|
||||
* 航点方向
|
||||
*/
|
||||
@ApiModelProperty(value = "航点方向")
|
||||
@Schema(description = "航点方向")
|
||||
private Float direction;
|
||||
|
||||
/**
|
||||
* 航点速度
|
||||
*/
|
||||
@ApiModelProperty(value = "航点速度")
|
||||
@Schema(description = "航点速度")
|
||||
private String speed;
|
||||
|
||||
/**
|
||||
* 航点动作
|
||||
*/
|
||||
@ApiModelProperty(value = "航点动作")
|
||||
@Schema(description = "航点动作")
|
||||
private JSONArray action;
|
||||
|
||||
/**
|
||||
* 航点编码
|
||||
*/
|
||||
@ApiModelProperty(value = "航点编码")
|
||||
@Schema(description = "航点编码")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 航点属性 0:任务点(有动作的点) 1:起飞点 2:降落点 3:安全点
|
||||
*/
|
||||
@ApiModelProperty(value = "航点属性 0:任务点(有动作的点) 1:起飞点 2:降落点 3:安全点")
|
||||
@Schema(description = "航点属性 0:任务点(有动作的点) 1:起飞点 2:降落点 3:安全点")
|
||||
private Integer propertyType;
|
||||
|
||||
/**
|
||||
* 1 定点转弯 2 协调转弯
|
||||
*/
|
||||
@ApiModelProperty(value = "1 定点转弯 2 协调转弯")
|
||||
@Schema(description = "1 定点转弯 2 协调转弯")
|
||||
private Integer turnType;
|
||||
|
||||
/**
|
||||
* 协调转弯半径
|
||||
*/
|
||||
@ApiModelProperty(value = "协调转弯半径")
|
||||
@Schema(description = "协调转弯半径")
|
||||
private Float coordinateRadius;
|
||||
|
||||
/**
|
||||
* 地面机器人地图内x
|
||||
*/
|
||||
@ApiModelProperty(value = "地面机器人地图内x")
|
||||
@Schema(description = "地面机器人地图内x")
|
||||
private String positionX;
|
||||
|
||||
/**
|
||||
* 地面机器人地图内y
|
||||
*/
|
||||
@ApiModelProperty(value = "地面机器人地图内y")
|
||||
@Schema(description = "地面机器人地图内y")
|
||||
private String positionY;
|
||||
|
||||
/**
|
||||
* 机器人的四元数
|
||||
*/
|
||||
@ApiModelProperty(value = "机器人的四元数")
|
||||
@Schema(description = "机器人的四元数")
|
||||
private String q1;
|
||||
|
||||
/**
|
||||
* 机器人的四元数
|
||||
*/
|
||||
@ApiModelProperty(value = "机器人的四元数")
|
||||
@Schema(description = "机器人的四元数")
|
||||
private String q2;
|
||||
|
||||
/**
|
||||
* 机器人的四元数
|
||||
*/
|
||||
@ApiModelProperty(value = "机器人的四元数")
|
||||
@Schema(description = "机器人的四元数")
|
||||
private String q3;
|
||||
|
||||
/**
|
||||
* 机器人的四元数
|
||||
*/
|
||||
@ApiModelProperty(value = "机器人的四元数")
|
||||
@Schema(description = "机器人的四元数")
|
||||
private String q4;
|
||||
|
||||
/**
|
||||
* 地图内z
|
||||
*/
|
||||
@ApiModelProperty(value = "地图内z")
|
||||
@Schema(description = "地图内z")
|
||||
private String positionZ;
|
||||
|
||||
/**
|
||||
* 转向
|
||||
*/
|
||||
@ApiModelProperty(value = "转向")
|
||||
@Schema(description = "转向")
|
||||
private String yaw;
|
||||
|
||||
/**
|
||||
* 拍照照片数
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照照片数")
|
||||
@Schema(description = "拍照照片数")
|
||||
private Integer photo;
|
||||
|
||||
/**
|
||||
* 航线类型
|
||||
*/
|
||||
@ApiModelProperty(value = "航线类型")
|
||||
@Schema(description = "航线类型")
|
||||
private Integer routeType;
|
||||
|
||||
/**
|
||||
* 航点动作,0:无,1:悬停,2:返航
|
||||
*/
|
||||
@ApiModelProperty(value = "航点动作,0:无,1:悬停,2:返航")
|
||||
@Schema(description = "航点动作,0:无,1:悬停,2:返航")
|
||||
private Integer droneActionType;
|
||||
|
||||
/**
|
||||
* 航点ID
|
||||
*/
|
||||
@ApiModelProperty(value = "航点ID")
|
||||
@Schema(description = "航点ID")
|
||||
private Integer wayPointId;
|
||||
}
|
||||
|
||||
+7
-8
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.route;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -13,37 +12,37 @@ import lombok.Data;
|
||||
* @description 航点列表查询类
|
||||
* @create 2024/7/19 15:53
|
||||
**/
|
||||
@ApiModel("文旅/航点列表查询类")
|
||||
@Schema(description = "文旅/航点列表查询类")
|
||||
@Data
|
||||
public class WayPointListQuery extends ParentQuery {
|
||||
|
||||
/**
|
||||
* 航线code,航点表中的code十六进制,飞机端获取航线入参
|
||||
*/
|
||||
@ApiModelProperty(value = "航线code,航点表中的code十六进制,飞机端获取航线入参")
|
||||
@Schema(description = "航线code,航点表中的code十六进制,飞机端获取航线入参")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* routeId,航线表中的id,unity获取航线入参
|
||||
*/
|
||||
@ApiModelProperty(value = "routeId,航线表中的id,unity获取航线入参")
|
||||
@Schema(description = "routeId,航线表中的id,unity获取航线入参")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 设备sn,用于查询设备的起飞/返航航点,自动生成航线时使用
|
||||
*/
|
||||
@ApiModelProperty(value = "设备sn,用于查询设备的起飞/返航航点,自动生成航线时使用")
|
||||
@Schema(description = "设备sn,用于查询设备的起飞/返航航点,自动生成航线时使用")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 航线类型 2:起飞航线 3:返航航线 用于查询设备的起飞/返航航点,自动生成航线时使用
|
||||
*/
|
||||
@ApiModelProperty(value = "航线类型 2:起飞航线 3:返航航线 用于查询设备的起飞/返航航点,自动生成航线时使用")
|
||||
@Schema(description = "航线类型 2:起飞航线 3:返航航线 用于查询设备的起飞/返航航点,自动生成航线时使用")
|
||||
private Integer routeType;
|
||||
|
||||
/**
|
||||
* 行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城),覆盖非电力行业
|
||||
*/
|
||||
@ApiModelProperty(value = "行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城),覆盖非电力行业")
|
||||
@Schema(description = "行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城),覆盖非电力行业")
|
||||
private Integer industryId;
|
||||
}
|
||||
|
||||
+8
-8
@@ -1,6 +1,6 @@
|
||||
package com.zlt.tourism.dto.user;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@@ -14,24 +14,24 @@ import java.io.Serializable;
|
||||
public class CreatTourosmUserDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "用户名")
|
||||
@Schema(description = "用户名")
|
||||
private String userName;
|
||||
|
||||
@ApiModelProperty(value = "密码")
|
||||
@Schema(description = "密码")
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "真实姓名")
|
||||
@Schema(description = "真实姓名")
|
||||
private String realName;
|
||||
|
||||
@ApiModelProperty(value = "手机号")
|
||||
@Schema(description = "手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty(value = "盐")
|
||||
@Schema(description = "盐")
|
||||
private String salt;
|
||||
|
||||
@ApiModelProperty(value = "类型 1新增 2修改")
|
||||
@Schema(description = "类型 1新增 2修改")
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty(value = "用户id")
|
||||
@Schema(description = "用户id")
|
||||
private Long userId;
|
||||
}
|
||||
|
||||
+9
-10
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.dto.user;
|
||||
|
||||
import com.zlt.tourism.annotation.ValidPhoneNumber;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
@@ -14,54 +13,54 @@ import javax.validation.constraints.Size;
|
||||
* @description: APP登录实体
|
||||
* @date 2024/7/3 16:12
|
||||
*/
|
||||
@ApiModel("APP登录实体")
|
||||
@Schema(description = "APP登录实体")
|
||||
@Data
|
||||
public class LoginDTO {
|
||||
|
||||
/**
|
||||
* 用户名称
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名称")
|
||||
@Schema(description = "用户名称")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
@ApiModelProperty(value = "密码,需要密文,rsa加密")
|
||||
@Schema(description = "密码,需要密文,rsa加密")
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 认证类型
|
||||
*/
|
||||
@ApiModelProperty(value = "认证类型 mobile_password:用户名+密码/手机号+密码 mobile_code:手机号验证码 ",required = true)
|
||||
@Schema(description = "认证类型 mobile_password:用户名+密码/手机号+密码 mobile_code:手机号验证码 ",required = true)
|
||||
@NotNull(message = "认证类型不能为空")
|
||||
private String grantType;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@ApiModelProperty(value = "手机号")
|
||||
@Schema(description = "手机号")
|
||||
@ValidPhoneNumber
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 客户端id
|
||||
*/
|
||||
@ApiModelProperty(value = "客户端 app",required = true)
|
||||
@Schema(description = "客户端 app",required = true)
|
||||
@NotNull(message = "客户端不能为空")
|
||||
private String clientId;
|
||||
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
@ApiModelProperty(value = "验证码")
|
||||
@Schema(description = "验证码")
|
||||
@Size(min=4,max = 4,message = "验证码必须是4位")
|
||||
private String validCode;
|
||||
|
||||
/**
|
||||
* 前端唯一标识
|
||||
*/
|
||||
@ApiModelProperty(value = "前端唯一标识,需与获取验证码的一致,如果是用户名+密码+验证码授权模式为必填",required = true)
|
||||
@Schema(description = "前端唯一标识,需与获取验证码的一致,如果是用户名+密码+验证码授权模式为必填",required = true)
|
||||
@NotNull(message = "前端唯一标识不能为空")
|
||||
private String deviceId;
|
||||
}
|
||||
|
||||
+6
-7
@@ -1,10 +1,9 @@
|
||||
package com.zlt.tourism.dto.user;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
@@ -12,26 +11,26 @@ import javax.validation.constraints.NotNull;
|
||||
*
|
||||
* @author lishilin
|
||||
*/
|
||||
@ApiModel("修改密码实体类")
|
||||
@Schema(description = "修改密码实体类")
|
||||
@Data
|
||||
public class PasswordUpdateDTO {
|
||||
|
||||
/**
|
||||
* 原密码
|
||||
*/
|
||||
@ApiModelProperty(value = "原密码不能为空", required = true)
|
||||
@Schema(description = "原密码不能为空", required = true)
|
||||
@NotBlank(message = "原密码不能为空")
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 新密码
|
||||
*/
|
||||
@ApiModelProperty(value = "新密码", required = true)
|
||||
@Schema(description = "新密码", required = true)
|
||||
@NotBlank(message = "新密码不能为空")
|
||||
private String newPassword;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "类型 1 设置密码 2修改密码" , required = true)
|
||||
@Schema(description = "类型 1 设置密码 2修改密码" , required = true)
|
||||
@NotNull(message = "新不能为空")
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
+11
-11
@@ -2,7 +2,7 @@ package com.zlt.tourism.dto.user;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
|
||||
@@ -34,7 +34,7 @@ public class SysUserEntity implements Serializable {
|
||||
private String username;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
@Schema(description = "用户头像")
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
@@ -43,7 +43,7 @@ public class SysUserEntity implements Serializable {
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "员工姓名")
|
||||
@Schema(description = "员工姓名")
|
||||
private String realName;
|
||||
/**
|
||||
* 盐
|
||||
@@ -98,22 +98,22 @@ public class SysUserEntity implements Serializable {
|
||||
*/
|
||||
private Long deptId;
|
||||
|
||||
@ApiModelProperty(value = "用户类型 :1 内部账户 2:外部账户 3:临时账户(有过期时间)")
|
||||
@Schema(description = "用户类型 :1 内部账户 2:外部账户 3:临时账户(有过期时间)")
|
||||
private Integer userType;
|
||||
|
||||
@ApiModelProperty("创建人")
|
||||
@Schema(description = "创建人")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
/**
|
||||
@@ -121,18 +121,18 @@ public class SysUserEntity implements Serializable {
|
||||
*/
|
||||
private String deptName;
|
||||
|
||||
@ApiModelProperty(value = "组织id")
|
||||
@Schema(description = "组织id")
|
||||
private Long commonId;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "钉钉用户userId")
|
||||
@Schema(description = "钉钉用户userId")
|
||||
private String dingUserId;
|
||||
|
||||
private List<Object> deviceList;
|
||||
|
||||
@ApiModelProperty(value = "临时用户过期时间")
|
||||
@Schema(description = "临时用户过期时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date temporaryTime;
|
||||
|
||||
|
||||
+5
-6
@@ -1,7 +1,6 @@
|
||||
package com.zlt.tourism.dto.user;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -9,26 +8,26 @@ import lombok.Data;
|
||||
*
|
||||
* @author lishilin
|
||||
*/
|
||||
@ApiModel("更新用户实体类")
|
||||
@Schema(description = "更新用户实体类")
|
||||
@Data
|
||||
public class UserUpdateDTO {
|
||||
|
||||
/**
|
||||
* 用户名字
|
||||
*/
|
||||
@ApiModelProperty(value = "用户名字")
|
||||
@Schema(description = "用户名字")
|
||||
private String realName;
|
||||
|
||||
/**
|
||||
* 图片路径
|
||||
*/
|
||||
@ApiModelProperty(value = "图片路径")
|
||||
@Schema(description = "图片路径")
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
* 电话号码
|
||||
*/
|
||||
@ApiModelProperty(value = "电话号码")
|
||||
@Schema(description = "电话号码")
|
||||
private String mobile;
|
||||
|
||||
}
|
||||
|
||||
-24
@@ -1,24 +0,0 @@
|
||||
package com.zlt.tourism.feign;
|
||||
|
||||
import com.central.common.constant.ServiceNameConstants;
|
||||
import com.central.common.model.Result;
|
||||
import com.central.common.params.req.aiMessage.NotifyMessageReq;
|
||||
import com.central.common.params.req.aliYun.SendMessageReq;
|
||||
import com.zlt.tourism.feign.fallback.MessageCenterServiceFallbackFactory;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@FeignClient(name = ServiceNameConstants.STATION_MESSAGE_SERVICE, fallbackFactory = MessageCenterServiceFallbackFactory.class, decode404 = true)
|
||||
public interface MessageCenterService {
|
||||
|
||||
@ApiOperation("发送短信")
|
||||
@PostMapping("/message/chuangShiYunSendMsg/sendNotification")
|
||||
Result sendNotification(@RequestBody SendMessageReq sendMessageReq);
|
||||
|
||||
@ApiOperation("发送消息提醒")
|
||||
@PostMapping("/message/ai/alarm/sendNotificationMessage")
|
||||
Result sendNotificationMessage(@RequestBody NotifyMessageReq notifyMessageReq);
|
||||
|
||||
}
|
||||
-68
@@ -1,68 +0,0 @@
|
||||
package com.zlt.tourism.feign;
|
||||
|
||||
import com.central.common.constant.ServiceNameConstants;
|
||||
import com.zlt.tourism.core.StationResult;
|
||||
import com.zlt.tourism.feign.fallback.StationAdminServiceFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* station-admin模块远程调用
|
||||
*
|
||||
* @author caiji
|
||||
* @version 1.0
|
||||
* @description station-admin模块远程调用
|
||||
* @create 2024/7/3 16:19
|
||||
**/
|
||||
@FeignClient(name = ServiceNameConstants.STATION_ADMIN_SERVICE, fallbackFactory = StationAdminServiceFallbackFactory.class, decode404 = true)
|
||||
public interface StationAdminService {
|
||||
|
||||
/**
|
||||
* 根据用户ID获取用户信息
|
||||
*
|
||||
* @param userId 用户ID
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/sys/user/info/{userId}")
|
||||
StationResult info(@PathVariable("userId") Long userId);
|
||||
|
||||
/**
|
||||
* 获取用分页
|
||||
*
|
||||
* @param params 查询条件
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/sysUserList")
|
||||
StationResult sysUserList(@RequestBody Map<String, Object> params);
|
||||
|
||||
/**
|
||||
* 根据设备ID获取设备信息
|
||||
*
|
||||
* @param id 用户ID
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/service/device/info/{id}")
|
||||
StationResult getDeviceById(@PathVariable("id") Long id);
|
||||
|
||||
/**
|
||||
* 根据航线ID获取航线信息
|
||||
* @param id 航线ID
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/service/route/info/{id}")
|
||||
StationResult getByRouteId(@PathVariable("id") Long id);
|
||||
|
||||
/**
|
||||
* 根据机构ID获取机构信息
|
||||
*
|
||||
* @param id 机构ID
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("sys/organization/info/{id}")
|
||||
StationResult getOrgById(@PathVariable("id") Long id);
|
||||
}
|
||||
+2
-2
@@ -2,8 +2,8 @@ package com.zlt.tourism.feign;
|
||||
|
||||
import com.central.common.constant.ServiceNameConstants;
|
||||
import com.central.common.model.Result;
|
||||
import com.central.common.params.dto.FileInfoDto;
|
||||
import com.zlt.tourism.core.StationResult;
|
||||
import com.zlt.tourism.dto.FileInfoDto;
|
||||
import com.zlt.tourism.dto.device.DeviceInfoQuery;
|
||||
import com.zlt.tourism.dto.device.DeviceListQuery;
|
||||
import com.zlt.tourism.dto.mission.*;
|
||||
@@ -31,7 +31,7 @@ import java.io.IOException;
|
||||
* @description station-web模块远程调用
|
||||
* @create 2024/7/3 16:19
|
||||
**/
|
||||
@FeignClient(name = ServiceNameConstants.STATION_WEB_SERVICE, fallbackFactory = StationWebServiceFallbackFactory.class, decode404 = true)
|
||||
@FeignClient(name = ServiceNameConstants.DEVICE_SERVICE, fallbackFactory = StationWebServiceFallbackFactory.class, dismiss404 = true)
|
||||
public interface StationWebService {
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestHeader;
|
||||
* @description uaa-server模块远程调用
|
||||
* @create 2024/7/3 16:19
|
||||
**/
|
||||
@FeignClient(name = ServiceNameConstants.UAA_SERVICE, fallbackFactory = UaaServiceFallbackFactory.class, decode404 = true)
|
||||
@FeignClient(name = ServiceNameConstants.UAA_SERVICE, fallbackFactory = UaaServiceFallbackFactory.class, dismiss404 = true)
|
||||
public interface UaaService {
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
* @description user-center模块远程调用
|
||||
* @create 2024/8/6 11:29
|
||||
**/
|
||||
@FeignClient(name = ServiceNameConstants.USER_SERVICE, fallbackFactory = UserCenterServiceFallbackFactory.class, decode404 = true)
|
||||
@FeignClient(name = ServiceNameConstants.USER_SERVICE, fallbackFactory = UserCenterServiceFallbackFactory.class, dismiss404 = true)
|
||||
public interface UserCenterService {
|
||||
|
||||
/**
|
||||
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
package com.zlt.tourism.feign.fallback;
|
||||
|
||||
import com.central.common.model.Result;
|
||||
import com.central.common.params.req.aiMessage.NotifyMessageReq;
|
||||
import com.central.common.params.req.aliYun.SendMessageReq;
|
||||
import com.zlt.tourism.feign.MessageCenterService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author duzhichao
|
||||
* @description: 短信中心接口
|
||||
* @date 2022/10/26 14:56
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class MessageCenterServiceFallbackFactory implements FallbackFactory<MessageCenterService> {
|
||||
@Override
|
||||
public MessageCenterService create(Throwable cause) {
|
||||
return new MessageCenterService() {
|
||||
|
||||
@Override
|
||||
public Result sendNotification(SendMessageReq sendMessageReq) {
|
||||
log.error("发送消息失败!");
|
||||
return Result.failed("发送消息失败!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result sendNotificationMessage(NotifyMessageReq notifyMessageReq) {
|
||||
log.error(" sendNotificationMessage 发送消息失败!");
|
||||
return Result.failed("sendNotificationMessage 发送消息失败!");
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
-53
@@ -1,53 +0,0 @@
|
||||
package com.zlt.tourism.feign.fallback;
|
||||
|
||||
import com.zlt.tourism.core.StationResult;
|
||||
import com.zlt.tourism.feign.StationAdminService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* station-admin服务调用失败回调
|
||||
*
|
||||
* @author caiji
|
||||
* @version 1.0
|
||||
* @description station-admin服务调用失败回调
|
||||
* @create 2024/7/3 16:22
|
||||
**/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class StationAdminServiceFallbackFactory implements FallbackFactory<StationAdminService> {
|
||||
|
||||
@Override
|
||||
public StationAdminService create(Throwable cause) {
|
||||
return new StationAdminService() {
|
||||
@Override
|
||||
public StationResult info(@PathVariable("userId") Long userId) {
|
||||
return StationResult.error("feign 获取用户信息失败,请重试!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public StationResult sysUserList(Map<String, Object> params) {
|
||||
return StationResult.error("feign 获取用户分页失败,请重试!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public StationResult getDeviceById(Long id) {
|
||||
return StationResult.error("feign 根据ID获取设备信息失败,请重试!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public StationResult getByRouteId(Long id) {
|
||||
return StationResult.error("feign 根据ID获取航线信息失败,请重试!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public StationResult getOrgById(Long id) {
|
||||
return StationResult.error("feign 根据ID获取机构信息失败,请重试!");
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
package com.zlt.tourism.feign.fallback;
|
||||
|
||||
import com.central.common.model.Result;
|
||||
import com.central.common.params.dto.FileInfoDto;
|
||||
import com.zlt.tourism.core.StationResult;
|
||||
import com.zlt.tourism.dto.device.DeviceInfoQuery;
|
||||
import com.zlt.tourism.dto.device.DeviceListQuery;
|
||||
@@ -47,7 +46,7 @@ public class StationWebServiceFallbackFactory implements FallbackFactory<Station
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result<FileInfoDto> uploadAvatar(@RequestPart("file") MultipartFile file) {
|
||||
public Result<com.zlt.tourism.dto.FileInfoDto> uploadAvatar(@RequestPart("file") MultipartFile file) {
|
||||
return Result.failed("feign 上传头像失败,请重试!");
|
||||
}
|
||||
|
||||
|
||||
-190
@@ -1,190 +0,0 @@
|
||||
package com.zlt.tourism.manager;
|
||||
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.central.common.iot.IoTWebSocketClient;
|
||||
import com.central.common.iot.IoTWebSocketHandler;
|
||||
import com.central.common.redis.template.RedisRepository;
|
||||
import com.central.common.utils.StringUtils;
|
||||
import com.zlt.tourism.constant.OrderConstant;
|
||||
import com.zlt.tourism.dto.device.drone.DroneCountDown;
|
||||
import com.zlt.tourism.dto.device.drone.DroneMessage;
|
||||
import com.zlt.tourism.dto.device.drone.DronePayloadData;
|
||||
import com.zlt.tourism.model.iking.IkDeviceEntity;
|
||||
import com.zlt.tourism.model.tourism.TourismOrderEnity;
|
||||
import com.zlt.tourism.service.IkDeviceService;
|
||||
import com.zlt.tourism.service.TourismOrderService;
|
||||
import com.zlt.tourism.util.WebSocketTopicUtil;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.support.MessageBuilder;
|
||||
import org.springframework.statemachine.StateMachine;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @Author: duzhichao
|
||||
* @CreateTime: 2024-12-09 15:36
|
||||
* @Description: webSocket消息处理
|
||||
*/
|
||||
@Slf4j
|
||||
public class IoTWebSocketMsgManager implements IoTWebSocketHandler {
|
||||
|
||||
@Resource
|
||||
private TourismOrderService tourismOrderService;
|
||||
|
||||
@Resource
|
||||
private IkDeviceService ikDeviceService;
|
||||
|
||||
@Resource
|
||||
private RedisRepository redisRepository;
|
||||
|
||||
|
||||
|
||||
@Resource
|
||||
StateMachine<OrderConstant.OrderStatusEnum, OrderConstant.OrderStatusChangeEventEnum> orderStateMachine;
|
||||
|
||||
private static final String WEBSOCKET_TOPIC_PREFIX = "webSocket".concat(":").concat("drone");
|
||||
@Override
|
||||
public void onConnect(IoTWebSocketClient webSocketClient){
|
||||
log.info("开始重新订阅");
|
||||
//重连后需要重新订阅
|
||||
List<Object> cacheKeySet = redisRepository.getList(WEBSOCKET_TOPIC_PREFIX,0,-1);
|
||||
if(CollectionUtils.isNotEmpty(cacheKeySet)){
|
||||
for (Object key : cacheKeySet) {
|
||||
String deviceId = (String) key;
|
||||
log.info("重新订阅设备:{}",deviceId);
|
||||
//重新订阅
|
||||
webSocketClient.send(WebSocketTopicUtil.getDeviceFireAlarmTopic(deviceId,true));
|
||||
//订阅成功后再次放入redis防止断开链接后不能订阅
|
||||
// redisRepository.leftPush("webSocket".concat(":").concat("drone"),deviceId);
|
||||
}
|
||||
}
|
||||
log.info("结束重新订阅");
|
||||
}
|
||||
@Override
|
||||
public void onMessage(JSONObject msg) {
|
||||
//处理订阅到的设备数据
|
||||
if(Objects.nonNull(msg)){
|
||||
DroneMessage droneMessage = JSONObject.toJavaObject(msg, DroneMessage.class);
|
||||
// log.info("解析之后的飞机消息:{}", JSON.toJSONString(droneMessage));
|
||||
if (org.springframework.util.ObjectUtils.isEmpty(droneMessage)) {
|
||||
return;
|
||||
}
|
||||
String deviceId = droneMessage.getDeviceId();
|
||||
//从redis中获取是否接收数据
|
||||
Object isReceive = redisRepository.get("webSocket".concat(":").concat("droneMessage").concat(":").concat(deviceId));
|
||||
log.info("是否接收飞机日志",isReceive);
|
||||
//是否接受消息
|
||||
if(Objects.nonNull(isReceive)&&"false".equals(isReceive.toString())){
|
||||
return;
|
||||
}
|
||||
// 解析消息
|
||||
DronePayloadData data = droneMessage.getData();
|
||||
if(Objects.nonNull(data)){
|
||||
DroneCountDown droneCountDown = data.getDroneCountdown();
|
||||
if(Objects.nonNull(droneCountDown)){
|
||||
String waypointHoverCountdown = droneCountDown.getWaypointHoverCountdown();
|
||||
log.info("航点悬停倒计时:{}", waypointHoverCountdown);
|
||||
if(StringUtils.isNotBlank(waypointHoverCountdown)){
|
||||
try {
|
||||
// 将字符串转换为双精度浮点数
|
||||
double d = Double.parseDouble(waypointHoverCountdown);
|
||||
// 将双精度浮点数四舍五入并转换为整数
|
||||
int i = (int) Math.round(d);
|
||||
//判断是否为230秒,如果是等于230秒则说明最后一个航点拍照倒计时结束,需要查询是否有排队中,如果有,则把下一个排队中的订单改为任务中
|
||||
if(i==230){
|
||||
//需要暂时不接收飞机日志
|
||||
redisRepository.setExpire("webSocket".concat(":").concat("droneMessage").concat(":").concat(deviceId),"false",60);
|
||||
//获取配对机库
|
||||
IkDeviceEntity devicePair = ikDeviceService.getByDeviceSn(deviceId);
|
||||
if(Objects.nonNull(devicePair)){
|
||||
//查询飞机正在执行的任务,并把它修改为任务完成
|
||||
List<TourismOrderEnity> taskList = tourismOrderService.getOrderListByOrderStatus(OrderConstant.OrderStatusEnum.TASK_IN_PROGRESS.getCode(), devicePair.getPairedDevice(),null);
|
||||
if(CollectionUtils.isNotEmpty(taskList)){
|
||||
TourismOrderEnity task = taskList.get(0);
|
||||
task.setOrderStatus(OrderConstant.OrderStatusEnum.TASK_COMPLETED.getCode());
|
||||
task.setUpdatedAt(new Date());
|
||||
tourismOrderService.updateById(task);
|
||||
//添加订单状态
|
||||
tourismOrderService.saveOrderStatus(task.getId(),OrderConstant.OrderStatusEnum.TASK_COMPLETED.getCode());
|
||||
//删除redis中的飞机设备
|
||||
redisRepository.remove("webSocket".concat(":").concat("drone"),1,deviceId);
|
||||
//取消订阅
|
||||
Message cancelMessage = MessageBuilder.withPayload(OrderConstant.OrderStatusChangeEventEnum.FINISH).setHeader("tourismOrder", task).build();
|
||||
if (!sendEvent(cancelMessage)) {
|
||||
log.info("取消订阅失败!任务id为:{}", task.getId());
|
||||
}
|
||||
//查询下一个排队中的订单
|
||||
List<TourismOrderEnity> lineList = tourismOrderService.getOrderListByOrderStatus(OrderConstant.OrderStatusEnum.WAITING_IN_LINE.getCode(), devicePair.getPairedDevice(),null);
|
||||
if(CollectionUtils.isNotEmpty(lineList)&& lineList.size()>0){
|
||||
//需要接收飞机日志
|
||||
redisRepository.setExpire("webSocket".concat(":").concat("droneMessage").concat(":").concat(deviceId),"true",60);
|
||||
TourismOrderEnity line = lineList.get(0);
|
||||
//如果排队中 则需要下发暂停指令给飞机
|
||||
Map<String, String> hoverResult = tourismOrderService.sendHoverCommand( line.getUserId(), line.getTakeOffDroneSn());
|
||||
log.info("飞机悬停指令返回结果:{}", hoverResult);
|
||||
line.setOrderStatus(OrderConstant.OrderStatusEnum.TASK_IN_PROGRESS.getCode());
|
||||
tourismOrderService.updateById(line);
|
||||
//添加订单状态
|
||||
tourismOrderService.saveOrderStatus(line.getId(),OrderConstant.OrderStatusEnum.TASK_IN_PROGRESS.getCode());
|
||||
//下发飞机任务命令
|
||||
try {
|
||||
Map<String, String> result = tourismOrderService.sendExecRoute(line.getRouteCode(), line.getUserId(), line.getTakeOffDroneSn());
|
||||
log.info("下发飞机任务命令:{}", result);
|
||||
Message message = MessageBuilder.withPayload(OrderConstant.OrderStatusChangeEventEnum.TASK).setHeader("tourismOrder", line).build();
|
||||
if (!sendEvent(message)) {
|
||||
log.info("执行排队任务失败!任务id为:{}", line.getId());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("飞机执行任务航迹失败:{}", e);
|
||||
}
|
||||
}else{
|
||||
//需要接收飞机日志
|
||||
redisRepository.setExpire("webSocket".concat(":").concat("droneMessage").concat(":").concat(deviceId),"true",60);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
// 如果字符串不能被解析为数字,捕获异常并处理
|
||||
log.info("输入的字符串不是有效的数字: " + waypointHoverCountdown);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送状态转换事件
|
||||
* @param message
|
||||
* @return
|
||||
*/
|
||||
private synchronized boolean sendEvent(Message<OrderConstant.OrderStatusChangeEventEnum> message) {
|
||||
boolean result = false;
|
||||
try {
|
||||
orderStateMachine.start();
|
||||
result = orderStateMachine.sendEvent(message);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
if (Objects.nonNull(message)) {
|
||||
TourismOrderEnity order = (TourismOrderEnity) message.getHeaders().get("tourismOrder");
|
||||
if (Objects.nonNull(order) && Objects.equals(order.getOrderStatus(), OrderConstant.OrderStatusEnum.TASK_COMPLETED)) {
|
||||
orderStateMachine.stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
-48
@@ -1,48 +0,0 @@
|
||||
package com.zlt.tourism.manager;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.zlt.tourism.core.StationResult;
|
||||
import com.zlt.tourism.dto.org.OrganizationDTO;
|
||||
import com.zlt.tourism.feign.StationAdminService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 机构业务类
|
||||
*
|
||||
* @author caiji
|
||||
* @version 1.0
|
||||
* @description 机构业务类
|
||||
* @create 2024/8/15 13:35
|
||||
**/
|
||||
@Slf4j
|
||||
@Service
|
||||
public class OrganizationManager {
|
||||
|
||||
/**
|
||||
* Station-admin远程调用业务类
|
||||
*/
|
||||
@Autowired
|
||||
private StationAdminService stationAdminService;
|
||||
|
||||
/**
|
||||
* 根据主键ID获取机构名称
|
||||
*
|
||||
* @param id 主键ID
|
||||
* @return
|
||||
*/
|
||||
public OrganizationDTO getOrgById(Long id) {
|
||||
OrganizationDTO organizationDTO = new OrganizationDTO();
|
||||
if (id != null) {
|
||||
StationResult result = stationAdminService.getOrgById(id);
|
||||
if (result != null && 0 == result.getFlag() && result.get("data") != null) {
|
||||
Object data = result.get("data");
|
||||
String dataStr = JSONObject.toJSONString(data);
|
||||
JSONObject jsonObject = JSONObject.parseObject(dataStr);
|
||||
organizationDTO = JSONObject.toJavaObject(jsonObject, OrganizationDTO.class);
|
||||
}
|
||||
}
|
||||
return organizationDTO;
|
||||
}
|
||||
}
|
||||
+4
-6
@@ -4,10 +4,8 @@ import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.zlt.tourism.core.StationResult;
|
||||
import com.zlt.tourism.dto.route.RockerRouteQuery;
|
||||
import com.zlt.tourism.dto.route.RouteDTO;
|
||||
import com.zlt.tourism.dto.route.WayPointDTO;
|
||||
import com.zlt.tourism.dto.route.WayPointListQuery;
|
||||
import com.zlt.tourism.feign.StationAdminService;
|
||||
import com.zlt.tourism.feign.StationWebService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -31,8 +29,8 @@ public class RouteManager {
|
||||
/**
|
||||
* Station-admin远程调用业务类
|
||||
*/
|
||||
@Autowired
|
||||
private StationAdminService stationAdminService;
|
||||
// @Autowired
|
||||
// private StationAdminService stationAdminService;
|
||||
|
||||
/**
|
||||
* Station-web远程调用业务类
|
||||
@@ -46,7 +44,7 @@ public class RouteManager {
|
||||
* @param id 主键ID
|
||||
* @return
|
||||
*/
|
||||
public RouteDTO getById(Long id) {
|
||||
/*public RouteDTO getById(Long id) {
|
||||
RouteDTO model = new RouteDTO();
|
||||
StationResult result = stationAdminService.getByRouteId(id);
|
||||
if (result != null && 0 == result.getFlag() && result.get("route") != null) {
|
||||
@@ -60,7 +58,7 @@ public class RouteManager {
|
||||
}
|
||||
}
|
||||
return model;
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* 根据航线ID获取航点列表
|
||||
|
||||
+9
-10
@@ -3,8 +3,7 @@ package com.zlt.tourism.model.iking;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@@ -18,7 +17,7 @@ import java.util.Date;
|
||||
* @email caochangguo@ikingtec.com
|
||||
* @date 2024-01-25 10:58:26
|
||||
*/
|
||||
@ApiModel(value ="喊话音频文件")
|
||||
@Schema(description = "喊话音频文件")
|
||||
@Data
|
||||
@ToString
|
||||
@TableName("ik_audio_file_info")
|
||||
@@ -29,7 +28,7 @@ public class AudioFileInfoEntity implements Serializable {
|
||||
* 文件md5
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "文件md5")
|
||||
@Schema(description = "文件md5")
|
||||
private String id;
|
||||
/**
|
||||
*
|
||||
@@ -50,7 +49,7 @@ public class AudioFileInfoEntity implements Serializable {
|
||||
/**
|
||||
* 物理路径
|
||||
*/
|
||||
@ApiModelProperty(value = "物理路径")
|
||||
@Schema(description = "物理路径")
|
||||
private String path;
|
||||
/**
|
||||
*
|
||||
@@ -73,26 +72,26 @@ public class AudioFileInfoEntity implements Serializable {
|
||||
/**
|
||||
* 0 否 1 删除
|
||||
*/
|
||||
@ApiModelProperty(value = "0 否 1 删除")
|
||||
@Schema(description = "0 否 1 删除")
|
||||
private Integer deleted;
|
||||
/**
|
||||
* 租户字段
|
||||
*/
|
||||
@ApiModelProperty(value = "租户字段")
|
||||
@Schema(description = "租户字段")
|
||||
private String tenantId;
|
||||
/**
|
||||
* 飞机sn
|
||||
*/
|
||||
@ApiModelProperty(value = "飞机sn")
|
||||
@Schema(description = "飞机sn")
|
||||
private String deviceSn;
|
||||
/**
|
||||
* 音频类型 01 实时喊话 02 音频列表
|
||||
*/
|
||||
@ApiModelProperty(value = "音频类型 01 实时喊话 02 音频列表")
|
||||
@Schema(description = "音频类型 01 实时喊话 02 音频列表")
|
||||
private String audioType;
|
||||
/**
|
||||
* 操作人id
|
||||
*/
|
||||
@ApiModelProperty(value = "操作人id")
|
||||
@Schema(description = "操作人id")
|
||||
private Long userId;
|
||||
}
|
||||
|
||||
+43
-44
@@ -3,8 +3,7 @@ package com.zlt.tourism.model.iking;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -27,7 +26,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("设备实体类")
|
||||
@Schema(description = "设备实体类")
|
||||
public class IkDeviceEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -41,171 +40,171 @@ public class IkDeviceEntity implements Serializable {
|
||||
/**
|
||||
* 交付使用用户
|
||||
*/
|
||||
@ApiModelProperty(value = "交付使用用户")
|
||||
@Schema(description = "交付使用用户")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 所属的用户列表,包括测试
|
||||
*/
|
||||
@ApiModelProperty(value = "所属的用户列表,包括测试")
|
||||
@Schema(description = "所属的用户列表,包括测试")
|
||||
private String users;
|
||||
|
||||
/**
|
||||
* 旧表sn
|
||||
*/
|
||||
@ApiModelProperty(value = "旧表sn")
|
||||
@Schema(description = "旧表sn")
|
||||
private String sn;
|
||||
|
||||
/**
|
||||
* 设备SN与发货铭牌一致
|
||||
*/
|
||||
@ApiModelProperty(value = "设备SN 与发货铭牌一致")
|
||||
@Schema(description = "设备SN 与发货铭牌一致")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 控制指令版本,0:v1.0(老) 1:v2.0(新)
|
||||
*/
|
||||
@ApiModelProperty(value = "控制指令版本,0:v1.0(老ws) 1:v2.0(新mqtt")
|
||||
@Schema(description = "控制指令版本,0:v1.0(老ws) 1:v2.0(新mqtt")
|
||||
private Integer cmdVersion;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
@ApiModelProperty(value = "设备名称")
|
||||
@Schema(description = "设备名称")
|
||||
private String deviceName;
|
||||
|
||||
/**
|
||||
* 设备类型 对于机库 1001:固定机库,1002:车载机库, 2001:旋翼飞机,2002:固定翼
|
||||
*/
|
||||
@ApiModelProperty(value = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100, 4001:监控摄像头")
|
||||
@Schema(description = "设备类型: 对于机库 1001:固定机库,1002:车载机库,1003:圣机库, 2001:旋翼飞机,2002:固定翼, 2003:圣飞机,3001:ly-c100,3002:ly-d100, 4001:监控摄像头")
|
||||
private Integer deviceType;
|
||||
|
||||
/**
|
||||
* 设备位置 经度
|
||||
*/
|
||||
@ApiModelProperty(value = "设备位置 经度,如果是圣机库,那么是机库中心经度")
|
||||
@Schema(description = "设备位置 经度,如果是圣机库,那么是机库中心经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 设备位置 纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "设备位置 纬度,如果是圣机库,那么是机库中心纬度")
|
||||
@Schema(description = "设备位置 纬度,如果是圣机库,那么是机库中心纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 设备位置 海拔
|
||||
*/
|
||||
@ApiModelProperty(value = "设备位置 海拔,如果是圣机库,那么是机库中心海拔")
|
||||
@Schema(description = "设备位置 海拔,如果是圣机库,那么是机库中心海拔")
|
||||
private BigDecimal altitude;
|
||||
|
||||
/**
|
||||
* 用于标识飞机与机库的配对关系
|
||||
*/
|
||||
@ApiModelProperty(value = "用于标识飞机与机库的配对关系,如果是圣机库,那么是左仓和飞机的配对关系")
|
||||
@Schema(description = "用于标识飞机与机库的配对关系,如果是圣机库,那么是左仓和飞机的配对关系")
|
||||
private String pairedDevice;
|
||||
|
||||
@ApiModelProperty(value = "圣机库左巢经度")
|
||||
@Schema(description = "圣机库左巢经度")
|
||||
private BigDecimal longitude1;
|
||||
|
||||
/**
|
||||
* 圣机库左巢纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库左巢纬度")
|
||||
@Schema(description = "圣机库左巢纬度")
|
||||
private BigDecimal latitude1;
|
||||
|
||||
/**
|
||||
* 圣机库左巢海拔
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库左巢海拔")
|
||||
@Schema(description = "圣机库左巢海拔")
|
||||
private BigDecimal altitude1;
|
||||
|
||||
/**
|
||||
* 圣机库右巢经度
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库右巢经度")
|
||||
@Schema(description = "圣机库右巢经度")
|
||||
private BigDecimal longitude2;
|
||||
|
||||
/**
|
||||
* 圣机库右巢纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库右巢纬度")
|
||||
@Schema(description = "圣机库右巢纬度")
|
||||
private BigDecimal latitude2;
|
||||
|
||||
/**
|
||||
* 圣机库右巢海拔
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库右巢海拔")
|
||||
@Schema(description = "圣机库右巢海拔")
|
||||
private BigDecimal altitude2;
|
||||
|
||||
/**
|
||||
* 圣机库左仓与飞机的配对关系
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库左仓与飞机的配对关系")
|
||||
@Schema(description = "圣机库左仓与飞机的配对关系")
|
||||
private String pairedDevice1;
|
||||
|
||||
/**
|
||||
* 圣机库右仓与飞机的配对关系
|
||||
*/
|
||||
@ApiModelProperty(value = "圣机库右仓与飞机的配对关系")
|
||||
@Schema(description = "圣机库右仓与飞机的配对关系")
|
||||
private String pairedDevice2;
|
||||
|
||||
/**
|
||||
* 设备朝向 主要用于机库 以正北为0度,顺时针0~359
|
||||
*/
|
||||
@ApiModelProperty(value = "设备朝向 主要用于机库 以正北为0度,顺时针0~359")
|
||||
@Schema(description = "设备朝向 主要用于机库 以正北为0度,顺时针0~359")
|
||||
private Float heading;
|
||||
|
||||
/**
|
||||
* 设备朝向 功能和heading字段一样,主要还是用heading
|
||||
*/
|
||||
@ApiModelProperty(value = "设备朝向 功能和heading字段一样,主要还是用heading")
|
||||
@Schema(description = "设备朝向 功能和heading字段一样,主要还是用heading")
|
||||
private String direction;
|
||||
|
||||
/**
|
||||
* 设备所在区域位置描述
|
||||
*/
|
||||
@ApiModelProperty(value = "设备所在区域位置描述,历史原因该字段也存了设备名称")
|
||||
@Schema(description = "设备所在区域位置描述,历史原因该字段也存了设备名称")
|
||||
private String location;
|
||||
|
||||
/**
|
||||
* 设备所在区域的点云或者倾斜摄影模型区域名称
|
||||
*/
|
||||
@ApiModelProperty(value = "设备所在区域的点云或者倾斜摄影模型区域名称")
|
||||
@Schema(description = "设备所在区域的点云或者倾斜摄影模型区域名称")
|
||||
private String regionId;
|
||||
|
||||
/**
|
||||
* 扩展字段
|
||||
*/
|
||||
@ApiModelProperty(value = "扩展内容")
|
||||
@Schema(description = "扩展内容")
|
||||
private String expansionContent;
|
||||
|
||||
/**
|
||||
* 设备可用状态 0:维修 1:待命 2:停用 3:任务中
|
||||
*/
|
||||
@ApiModelProperty(value = "设备可用状态 0:维修 1:待命 2:停用 3:任务中")
|
||||
@Schema(description = "设备可用状态 0:维修 1:待命 2:停用 3:任务中")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 设备覆盖半径(<=5km) 单位为km
|
||||
*/
|
||||
@ApiModelProperty(value = "设备覆盖半径(<=5km) 单位为km")
|
||||
@Schema(description = "设备覆盖半径(<=5km) 单位为km")
|
||||
private Integer radius;
|
||||
/**
|
||||
* 设备相关信息描述
|
||||
*/
|
||||
@ApiModelProperty(value = "设备相关信息描述")
|
||||
@Schema(description = "设备相关信息描述")
|
||||
private String descMsg;
|
||||
|
||||
/**
|
||||
* 是否删除 0 正常 1 删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除记录")
|
||||
@Schema(description = "是否删除记录")
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城)
|
||||
*/
|
||||
@ApiModelProperty(value = "这是用的ik_industry这张表,行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城)")
|
||||
@Schema(description = "这是用的ik_industry这张表,行业类型 1 电网,2 水利,3 石油(中石化),4 安防(三一),5 智慧城市(生态城)")
|
||||
private Long industryId;
|
||||
|
||||
/**
|
||||
@@ -223,72 +222,72 @@ public class IkDeviceEntity implements Serializable {
|
||||
/**
|
||||
* iot产品id
|
||||
*/
|
||||
@ApiModelProperty("iot产品id")
|
||||
@Schema(description = "iot产品id")
|
||||
private String productId;
|
||||
|
||||
/**
|
||||
* 设备vpdn的IP
|
||||
*/
|
||||
@ApiModelProperty("设备vpdn的IP")
|
||||
@Schema(description = "设备vpdn的IP")
|
||||
private String vpdnIp;
|
||||
|
||||
/**
|
||||
* 物联网卡号
|
||||
*/
|
||||
@ApiModelProperty("物联网卡号")
|
||||
@Schema(description = "物联网卡号")
|
||||
private String iotSimCard;
|
||||
|
||||
/**
|
||||
* 物联网卡的状态
|
||||
*/
|
||||
@ApiModelProperty("物联网卡的状态")
|
||||
@Schema(description = "物联网卡的状态")
|
||||
private String iotSimStatus;
|
||||
|
||||
/**
|
||||
* 设备在线状态
|
||||
*/
|
||||
@ApiModelProperty("设备在线状态")
|
||||
@Schema(description = "设备在线状态")
|
||||
private Integer onlineStatus;
|
||||
|
||||
/**
|
||||
* 上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传
|
||||
*/
|
||||
@ApiModelProperty("上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传")
|
||||
@Schema(description = "上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传")
|
||||
private Integer uploadImageMode;
|
||||
|
||||
/**
|
||||
* 设定上传图片时间(HH:mm:ss)
|
||||
*/
|
||||
@ApiModelProperty("设定上传图片时间(HH:mm:ss)")
|
||||
@Schema(description = "设定上传图片时间(HH:mm:ss)")
|
||||
private String uploadImageTime;
|
||||
|
||||
/**
|
||||
* 无人机碰撞检测是否开启
|
||||
*/
|
||||
@ApiModelProperty(value = "无人机碰撞检测是否开启")
|
||||
@Schema(description = "无人机碰撞检测是否开启")
|
||||
private Integer openUavDetect;
|
||||
|
||||
/**
|
||||
* 航线碰撞检测服务是否开启
|
||||
*/
|
||||
@ApiModelProperty(value = "航线碰撞检测服务是否开启")
|
||||
@Schema(description = "航线碰撞检测服务是否开启")
|
||||
private Integer openRouteDetect;
|
||||
|
||||
/**
|
||||
* 无人机碰撞发送指令
|
||||
*/
|
||||
@ApiModelProperty(value = "无人机碰撞发送指令")
|
||||
@Schema(description = "无人机碰撞发送指令")
|
||||
private Integer openUavHover;
|
||||
|
||||
/**
|
||||
* 是否默认启用ai大模型 0 不启用 1 启用
|
||||
*/
|
||||
@ApiModelProperty(value = "是否默认启用ai大模型 0 不启用 1 启用 ")
|
||||
@Schema(description = "是否默认启用ai大模型 0 不启用 1 启用 ")
|
||||
private int useAiModel;
|
||||
|
||||
/**
|
||||
* 一键起飞航点高度 单位米
|
||||
*/
|
||||
@ApiModelProperty(value = " 一键起飞航点高度 单位米")
|
||||
@Schema(description = " 一键起飞航点高度 单位米")
|
||||
private BigDecimal firstPointHeight;
|
||||
}
|
||||
|
||||
+82
-83
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@@ -22,7 +21,7 @@ import java.util.List;
|
||||
* @email lishilin4510@163.com
|
||||
* @date 2020-08-31 18:11:44
|
||||
*/
|
||||
@ApiModel(value ="任务表")
|
||||
@Schema(description = "任务表")
|
||||
@Data
|
||||
@ToString
|
||||
@TableName("ik_mission")
|
||||
@@ -31,58 +30,58 @@ public class IkMissionEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "表id,自动递增,步长为1")
|
||||
@Schema(description = "表id,自动递增,步长为1")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "父任务Id")
|
||||
@Schema(description = "父任务Id")
|
||||
private Long parentId;
|
||||
|
||||
@ApiModelProperty(value = "md5(way_point_id&&pod_type),以此确认任务航线是否改变")
|
||||
@Schema(description = "md5(way_point_id&&pod_type),以此确认任务航线是否改变")
|
||||
private String md5;
|
||||
|
||||
@ApiModelProperty(value = "任务创建者")
|
||||
@Schema(description = "任务创建者")
|
||||
private Long userId;
|
||||
/**
|
||||
* 用户任务表单id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户任务表单id")
|
||||
@Schema(description = "用户任务表单id")
|
||||
private Long userMissionId;
|
||||
|
||||
/**
|
||||
* 任务类型
|
||||
*/
|
||||
@ApiModelProperty("任务类型")
|
||||
@Schema(description = "任务类型")
|
||||
private Integer missionType;
|
||||
|
||||
/**
|
||||
* 负责人列表(json格式)
|
||||
*/
|
||||
@ApiModelProperty("负责人列表(json格式),已经弃用20210324,使用")
|
||||
@Schema(description = "负责人列表(json格式),已经弃用20210324,使用")
|
||||
private String principalList;
|
||||
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@ApiModelProperty("负责人")
|
||||
@Schema(description = "负责人")
|
||||
private Long principalId;
|
||||
|
||||
|
||||
/**
|
||||
* 区域
|
||||
*/
|
||||
@ApiModelProperty("区域")
|
||||
@Schema(description = "区域")
|
||||
private String regionName;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
@ApiModelProperty("任务名称")
|
||||
@Schema(description = "任务名称")
|
||||
private String missionName;
|
||||
/**
|
||||
* 任务起飞机库Id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞机库Id")
|
||||
@Schema(description = "任务起飞机库Id")
|
||||
private Long takeOffDockId;
|
||||
|
||||
|
||||
@@ -90,170 +89,170 @@ public class IkMissionEntity implements Serializable {
|
||||
/**
|
||||
* 任务降落机库铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务降落机库Id")
|
||||
@Schema(description = "任务降落机库Id")
|
||||
private Long landDockId;
|
||||
|
||||
/**
|
||||
* 任务飞机id 集合 以“,”分割
|
||||
*/
|
||||
@ApiModelProperty(value = "任务飞机id 集合 以“,”分割")
|
||||
@Schema(description = "任务飞机id 集合 以“,”分割")
|
||||
private String droneId;
|
||||
|
||||
/**
|
||||
* 任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱
|
||||
*/
|
||||
@ApiModelProperty(value = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱")
|
||||
@Schema(description = "任务挂载吊舱类型 0:无挂载 1:30倍可见光吊舱 2:红外热成像吊舱")
|
||||
private Integer podType;
|
||||
|
||||
@ApiModelProperty(value = "圣机库降落 舱11左舱,22右舱'")
|
||||
@Schema(description = "圣机库降落 舱11左舱,22右舱'")
|
||||
private Integer landPod;
|
||||
/**
|
||||
* 0 单次任务 1 例行任务 2 紧急任务
|
||||
*/
|
||||
@ApiModelProperty("0 单次任务 1 例行任务 2 紧急任务")
|
||||
@Schema(description = "0 单次任务 1 例行任务 2 紧急任务")
|
||||
private Object scheduleType;
|
||||
/**
|
||||
* 航线ids,以“,”
|
||||
*/
|
||||
@ApiModelProperty("航线ids,以“,”")
|
||||
@Schema(description = "航线ids,以“,”")
|
||||
private String wayPointId;
|
||||
|
||||
/**
|
||||
* 起飞航线Id
|
||||
*/
|
||||
@ApiModelProperty(value = "起飞航线Id")
|
||||
@Schema(description = "起飞航线Id")
|
||||
private Long takeOffRouteId;
|
||||
/**
|
||||
* 任务航线Id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务航线Id")
|
||||
@Schema(description = "任务航线Id")
|
||||
private Long missionRouteId;
|
||||
/**
|
||||
* 返航航线Id
|
||||
*/
|
||||
@ApiModelProperty(value = "返航航线Id")
|
||||
@Schema(description = "返航航线Id")
|
||||
private Long landRouteId;
|
||||
/**
|
||||
* 任务开始时间
|
||||
*/
|
||||
@ApiModelProperty(value = "任务开始时间")
|
||||
@Schema(description = "任务开始时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date startTime;
|
||||
/**
|
||||
* 任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库
|
||||
*/
|
||||
@ApiModelProperty(value = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位 6:图片上传完成")
|
||||
@Schema(description = "任务状态 0:待处理,1:执行中, 2:已完成, 3:取消 4:飞机落库 5:机库复位 6:图片上传完成")
|
||||
private Integer status;
|
||||
/**
|
||||
* 任务结束时间
|
||||
*/
|
||||
@ApiModelProperty(value = "任务结束时间")
|
||||
@Schema(description = "任务结束时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date finishTime;
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除 0:正常;1:删除")
|
||||
@Schema(description = "是否删除 0:正常;1:删除")
|
||||
private Integer deleted;
|
||||
/**
|
||||
* 任务执行时长
|
||||
*/
|
||||
@ApiModelProperty(value = "任务执行时长")
|
||||
@Schema(description = "任务执行时长")
|
||||
private Integer timespan;
|
||||
/**
|
||||
* 任务飞行距离
|
||||
*/
|
||||
@ApiModelProperty(value = "任务飞行距离")
|
||||
@Schema(description = "任务飞行距离")
|
||||
private Integer distance;
|
||||
/**
|
||||
* 是否蛙跳任务 0 否 1 是
|
||||
*/
|
||||
@ApiModelProperty(value = "是否蛙跳任务 0 否 1 是")
|
||||
@Schema(description = "是否蛙跳任务 0 否 1 是")
|
||||
private Integer isLeapFrogTask;
|
||||
|
||||
@ApiModelProperty("起飞设备")
|
||||
@Schema(description = "起飞设备")
|
||||
private String dstId;
|
||||
|
||||
@ApiModelProperty(value = "创建时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "创建时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
@ApiModelProperty(value = "更新时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "更新时间 格式:yyyy-MM-dd HH:mm:ss")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "任务开始日期 格式:yyyy-MM-dd")
|
||||
@Schema(description = "任务开始日期 格式:yyyy-MM-dd")
|
||||
@JSONField(format = "yyyy-MM-dd")
|
||||
private Date startDate;
|
||||
|
||||
@ApiModelProperty(value = "任务飞机起飞高度")
|
||||
@Schema(description = "任务飞机起飞高度")
|
||||
private Integer height;
|
||||
|
||||
@ApiModelProperty(value = "返航动作:0 卸电不卸传,1卸电不卸单光,2 卸电不卸红外")
|
||||
@Schema(description = "返航动作:0 卸电不卸传,1卸电不卸单光,2 卸电不卸红外")
|
||||
private Integer changeEquipment;
|
||||
|
||||
@ApiModelProperty(value = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
@Schema(description = "指点飞行返航模式:1 自动返航 0 不自动返航,默认为1")
|
||||
private Integer rtlMode;
|
||||
|
||||
@ApiModelProperty(value = "计划子任务id,即表 ik_user_mission_tower_device id")
|
||||
@Schema(description = "计划子任务id,即表 ik_user_mission_tower_device id")
|
||||
private Long userMissionTowerDeviceId;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
private String routeName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("起飞机库名称")
|
||||
@Schema(description = "起飞机库名称")
|
||||
private String takeOffDockName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("降落机库名称")
|
||||
@Schema(description = "降落机库名称")
|
||||
private String landDockName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("起飞机库sn")
|
||||
@Schema(description = "起飞机库sn")
|
||||
private String takeoffDockSn;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("降落机库sn")
|
||||
@Schema(description = "降落机库sn")
|
||||
private String landDockSn;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<MissionImageEntity> missionImageVos;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("任务创建人")
|
||||
@Schema(description = "任务创建人")
|
||||
private String createMissionUser;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty("任务执行人")
|
||||
@Schema(description = "任务执行人")
|
||||
private String principalMissionUser;
|
||||
|
||||
@ApiModelProperty(value = "猎鹰巡检区域")
|
||||
@Schema(description = "猎鹰巡检区域")
|
||||
private String missionAreaName;
|
||||
|
||||
@ApiModelProperty(value = "猎鹰巡检区域Id,对应ik_line中的id")
|
||||
@Schema(description = "猎鹰巡检区域Id,对应ik_line中的id")
|
||||
private Long areaId;
|
||||
|
||||
@ApiModelProperty(value = "猎鹰巡检点位名称,多个用逗号,隔开")
|
||||
@Schema(description = "猎鹰巡检点位名称,多个用逗号,隔开")
|
||||
private String pointName;
|
||||
|
||||
// 缺陷分析 add by mxw at 20220316
|
||||
@ApiModelProperty(value = "图片缺陷审核状态, 0:未审核 1:审核完成")
|
||||
@Schema(description = "图片缺陷审核状态, 0:未审核 1:审核完成")
|
||||
private Integer imageApproveStatus;
|
||||
|
||||
@ApiModelProperty(value = "清晰度数值")
|
||||
@Schema(description = "清晰度数值")
|
||||
private BigDecimal clarity;
|
||||
|
||||
@ApiModelProperty(value = "准确度数值")
|
||||
@Schema(description = "准确度数值")
|
||||
private BigDecimal accuracy;
|
||||
|
||||
@ApiModelProperty(value = "图片分析审核人id")
|
||||
@Schema(description = "图片分析审核人id")
|
||||
private Long defectApprover;
|
||||
// 缺陷分析 end
|
||||
@ApiModelProperty(value = "3D Scan巡检区域Id,对应ik_td_scan_area中的id")
|
||||
@Schema(description = "3D Scan巡检区域Id,对应ik_td_scan_area中的id")
|
||||
private Long tdAreaId;
|
||||
|
||||
// word报告名称
|
||||
@@ -262,113 +261,113 @@ public class IkMissionEntity implements Serializable {
|
||||
|
||||
|
||||
// 设备工作状态
|
||||
@ApiModelProperty(value = "设备工作状态;0:其他状态,1:FAT中")
|
||||
@Schema(description = "设备工作状态;0:其他状态,1:FAT中")
|
||||
private Integer deviceWorkStatus;
|
||||
|
||||
/**
|
||||
* 任务起飞机库铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务起飞机库铭牌号")
|
||||
@Schema(description = "任务起飞机库铭牌号")
|
||||
@TableField(exist = false)
|
||||
private String takeOffDeviceSn;
|
||||
|
||||
/**
|
||||
* 任务降落机库铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务降落机库铭牌号")
|
||||
@Schema(description = "任务降落机库铭牌号")
|
||||
@TableField(exist = false)
|
||||
private String landDeviceSn;
|
||||
|
||||
/**
|
||||
* 任务飞机铭牌号
|
||||
*/
|
||||
@ApiModelProperty(value = "任务飞机铭牌号")
|
||||
@Schema(description = "任务飞机铭牌号")
|
||||
@TableField(exist = false)
|
||||
private String droneSn;
|
||||
|
||||
/**
|
||||
* 任务执行时长
|
||||
*/
|
||||
@ApiModelProperty(value = "任务采集照片数,实际采集照片数")
|
||||
@Schema(description = "任务采集照片数,实际采集照片数")
|
||||
private Integer picNums;
|
||||
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
@Schema(description = "用户头像")
|
||||
@TableField(exist = false)
|
||||
private String avatarUrl;
|
||||
|
||||
@ApiModelProperty(value = "用户真实姓名")
|
||||
@Schema(description = "用户真实姓名")
|
||||
@TableField(exist = false)
|
||||
private String realName;
|
||||
|
||||
@ApiModelProperty(value = "数传视频数量(此统计记录srs flv视频数量)")
|
||||
@Schema(description = "数传视频数量(此统计记录srs flv视频数量)")
|
||||
private Integer uploadVideoCount;
|
||||
|
||||
@ApiModelProperty("上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传")
|
||||
@Schema(description = "上传图片模式;1:边拍边传,2:飞机落库,由飞机上传,3:飞机落库,由机库即时上传, 4:飞机落库,由机库定时上传")
|
||||
private Integer uploadImageMode;
|
||||
|
||||
@ApiModelProperty("设定上传图片时间(HH:mm:ss)")
|
||||
@Schema(description = "设定上传图片时间(HH:mm:ss)")
|
||||
private String uploadImageTime;
|
||||
|
||||
@ApiModelProperty(value = "航线生成类型; 0:自动航线生成, 1:ikingPowerLine")
|
||||
@Schema(description = "航线生成类型; 0:自动航线生成, 1:ikingPowerLine")
|
||||
private Integer routeGenerateType;
|
||||
|
||||
@ApiModelProperty(value = "杆塔id")
|
||||
@Schema(description = "杆塔id")
|
||||
private Long towerId;
|
||||
|
||||
@ApiModelProperty(value = "杆塔物理编号")
|
||||
@Schema(description = "杆塔物理编号")
|
||||
private String towerSn;
|
||||
|
||||
@ApiModelProperty(value = "此任务应拍照的数量")
|
||||
@Schema(description = "此任务应拍照的数量")
|
||||
private Integer routeMaxPhotoNum;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "预期拍照的数量")
|
||||
@Schema(description = "预期拍照的数量")
|
||||
private Integer expectedNumberOfPhoto;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "实际拍照的数量")
|
||||
@Schema(description = "实际拍照的数量")
|
||||
private Integer actualNumberOfPhoto;
|
||||
|
||||
@ApiModelProperty(value="任务报告下载链接")
|
||||
@Schema(description = "任务报告下载链接")
|
||||
private String reportUrl;
|
||||
|
||||
@ApiModelProperty(value = "任务飞机设备类型")
|
||||
@Schema(description = "任务飞机设备类型")
|
||||
private Integer droneDeviceType;
|
||||
|
||||
@ApiModelProperty(value = "飞机吊舱类型;1:华松, 2:红外, 3:一英寸, 4:双光, 5:其他")
|
||||
@Schema(description = "飞机吊舱类型;1:华松, 2:红外, 3:一英寸, 4:双光, 5:其他")
|
||||
private Integer detailPodType;
|
||||
|
||||
@ApiModelProperty(value = "任务航线面积")
|
||||
@Schema(description = "任务航线面积")
|
||||
private BigDecimal routeArea;
|
||||
|
||||
@ApiModelProperty(value = " 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
@Schema(description = " 行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
private Integer industryType;
|
||||
|
||||
@ApiModelProperty(value="任务报告下载链接")
|
||||
@Schema(description = "任务报告下载链接")
|
||||
private String imageZipUrl;
|
||||
|
||||
@ApiModelProperty(value = "是否开启断点续飞 默认不续飞:0 ,续飞:1")
|
||||
@Schema(description = "是否开启断点续飞 默认不续飞:0 ,续飞:1")
|
||||
private Integer resumeFlightEnabled;
|
||||
|
||||
@ApiModelProperty(value = "是否存在子任务 默认不存在:0 ,存在:1")
|
||||
@Schema(description = "是否存在子任务 默认不存在:0 ,存在:1")
|
||||
private Integer hasSubMission;
|
||||
|
||||
@ApiModelProperty(value = "当前任务航线完成状态 0:航线已经飞完 1:航线未飞完")
|
||||
@Schema(description = "当前任务航线完成状态 0:航线已经飞完 1:航线未飞完")
|
||||
private Integer overallStatus;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value="任务状态全部")
|
||||
@Schema(description = "任务状态全部")
|
||||
private String statusAll;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value="任务缺陷总数")
|
||||
@Schema(description = "任务缺陷总数")
|
||||
private Long defectsNum;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value="机库设备类型")
|
||||
@Schema(description = "机库设备类型")
|
||||
private String dockType;
|
||||
|
||||
@ApiModelProperty(value = "标会id")
|
||||
|
||||
@Schema(description = "标会id")
|
||||
private Long drawId;
|
||||
|
||||
|
||||
|
||||
+13
-14
@@ -3,8 +3,7 @@ package com.zlt.tourism.model.iking;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -27,7 +26,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("机构实体类")
|
||||
@Schema(description = "机构实体类")
|
||||
public class IkOrganizationEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,55 +35,55 @@ public class IkOrganizationEntity implements Serializable {
|
||||
* 自增id
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "自增id")
|
||||
@Schema(description = "自增id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 上级机构
|
||||
*/
|
||||
@ApiModelProperty(value = "上级机构")
|
||||
@Schema(description = "上级机构")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 机构名称
|
||||
*/
|
||||
@ApiModelProperty(value = "机构名称")
|
||||
@Schema(description = "机构名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 机构等级
|
||||
*/
|
||||
@ApiModelProperty(value = "机构等级")
|
||||
@Schema(description = "机构等级")
|
||||
private Integer level;
|
||||
|
||||
/**
|
||||
* 机构状态
|
||||
*/
|
||||
@ApiModelProperty(value = "机构状态,0:正常,1:禁用")
|
||||
@Schema(description = "机构状态,0:正常,1:禁用")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 机构唯一编码
|
||||
*/
|
||||
@ApiModelProperty(value = "机构唯一编码")
|
||||
@Schema(description = "机构唯一编码")
|
||||
private String uniqueId;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty(value = "经度")
|
||||
@Schema(description = "经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "纬度")
|
||||
@Schema(description = "纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 海拔
|
||||
*/
|
||||
@ApiModelProperty(value = "海拔")
|
||||
@Schema(description = "海拔")
|
||||
private BigDecimal altitude;
|
||||
|
||||
private Long commonId;
|
||||
@@ -92,14 +91,14 @@ public class IkOrganizationEntity implements Serializable {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
|
||||
+27
-28
@@ -3,8 +3,7 @@ package com.zlt.tourism.model.iking;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -27,7 +26,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("航线实体类")
|
||||
@Schema(description = "航线实体类")
|
||||
public class IkRouteEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,152 +35,152 @@ public class IkRouteEntity implements Serializable {
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "主键")
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 航线名称
|
||||
*/
|
||||
@ApiModelProperty(value = "航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
private String routeName;
|
||||
|
||||
/**
|
||||
* 航线描述
|
||||
*/
|
||||
@ApiModelProperty(value = "航线描述")
|
||||
@Schema(description = "航线描述")
|
||||
private String routeDesc;
|
||||
|
||||
/**
|
||||
* 航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检
|
||||
*/
|
||||
@ApiModelProperty(value = "航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检")
|
||||
@Schema(description = "航线类型 2:起飞航线 3:返航航线 4:通道巡检 5:精细巡检")
|
||||
private Integer routeType;
|
||||
|
||||
/**
|
||||
* 航线所属机构id
|
||||
*/
|
||||
@ApiModelProperty(value = "航线所属机构id")
|
||||
@Schema(description = "航线所属机构id")
|
||||
private Long organizationId;
|
||||
|
||||
/**
|
||||
* 设备sn
|
||||
*/
|
||||
@ApiModelProperty(value = "设备sn")
|
||||
@Schema(description = "设备sn")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 航线所属用户
|
||||
*/
|
||||
@ApiModelProperty(value = "航线所属用户")
|
||||
@Schema(description = "航线所属用户")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除 0 正常 1 删除")
|
||||
@Schema(description = "是否删除 0 正常 1 删除")
|
||||
private Integer deleted;
|
||||
|
||||
/**
|
||||
* 航线距离 km
|
||||
*/
|
||||
@ApiModelProperty(value = "航线距离 km")
|
||||
@Schema(description = "航线距离 km")
|
||||
private Double routeDistance;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
/**
|
||||
* 样板间内外网航线数据同步不使用表ID关联使用uniqueId
|
||||
*/
|
||||
@ApiModelProperty(value = "样板间内外网航线数据同步不使用表ID关联使用uniqueId")
|
||||
@Schema(description = "样板间内外网航线数据同步不使用表ID关联使用uniqueId")
|
||||
private String uniqueId;
|
||||
|
||||
/**
|
||||
* 航线执行次数
|
||||
*/
|
||||
@ApiModelProperty(value = "航线执行次数")
|
||||
@Schema(description = "航线执行次数")
|
||||
private Integer routeRunNum;
|
||||
|
||||
/**
|
||||
* 航线长度
|
||||
*/
|
||||
@ApiModelProperty(value = "航线长度,单位米")
|
||||
@Schema(description = "航线长度,单位米")
|
||||
private Double routeLength;
|
||||
|
||||
/**
|
||||
* 预计飞行时长
|
||||
*/
|
||||
@ApiModelProperty(value = "预计飞行时长,单位秒")
|
||||
@Schema(description = "预计飞行时长,单位秒")
|
||||
private Double preFlyTime;
|
||||
|
||||
/**
|
||||
* 3D Scan 区域Id
|
||||
*/
|
||||
@ApiModelProperty(value = "3D Scan 区域Id")
|
||||
@Schema(description = "3D Scan 区域Id")
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 保存航线时把前端传的参数全部保存在此字段(方天用)
|
||||
*/
|
||||
@ApiModelProperty(value = "保存航线时把前端传的参数全部保存在此字段(方天用)")
|
||||
@Schema(description = "保存航线时把前端传的参数全部保存在此字段(方天用)")
|
||||
private String routeJson;
|
||||
|
||||
/**
|
||||
* 是否不显示 (默认是0),0:显示、1:不显示
|
||||
*/
|
||||
@ApiModelProperty(value = "是否不显示 (默认是0),0:显示、1:不显示")
|
||||
@Schema(description = "是否不显示 (默认是0),0:显示、1:不显示")
|
||||
private Integer isNotShow;
|
||||
|
||||
/**
|
||||
* 父航线id
|
||||
*/
|
||||
@ApiModelProperty(value = "父航线id")
|
||||
@Schema(description = "父航线id")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 设备类型
|
||||
*/
|
||||
@ApiModelProperty(value = "设备类型")
|
||||
@Schema(description = "设备类型")
|
||||
private Integer deviceType;
|
||||
|
||||
/**
|
||||
* 航线生成类型 0:自动航线生成,1:ikingPowerLine
|
||||
*/
|
||||
@ApiModelProperty(value = "航线生成类型 0:自动航线生成,1:ikingPowerLine")
|
||||
@Schema(description = "航线生成类型 0:自动航线生成,1:ikingPowerLine")
|
||||
private Integer routeGenerateType;
|
||||
|
||||
/**
|
||||
* 花瓣航迹 版本
|
||||
*/
|
||||
@ApiModelProperty(value = "花瓣航迹 版本")
|
||||
@Schema(description = "花瓣航迹 版本")
|
||||
private String petalRouteVersion;
|
||||
|
||||
/**
|
||||
* 航线面积
|
||||
*/
|
||||
@ApiModelProperty(value = "航线面积")
|
||||
@Schema(description = "航线面积")
|
||||
private BigDecimal routeArea;
|
||||
|
||||
/**
|
||||
* 所属行业类型
|
||||
*/
|
||||
@ApiModelProperty(value = "所属行业类型")
|
||||
@Schema(description = "所属行业类型")
|
||||
private Integer industryId;
|
||||
|
||||
/**
|
||||
* 所属部门
|
||||
*/
|
||||
@ApiModelProperty(value = "所属部门")
|
||||
@Schema(description = "所属部门")
|
||||
private Long deptId;
|
||||
}
|
||||
|
||||
+14
-14
@@ -6,11 +6,11 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.zlt.tourism.dto.user.SysUserEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
@@ -43,10 +43,10 @@ public class IkSysUserEntity implements Serializable {
|
||||
private String username;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
@Schema(description = "用户头像")
|
||||
private String avatarUrl;
|
||||
|
||||
@ApiModelProperty(value = "类型为内部子用户的父id")
|
||||
@Schema(description = "类型为内部子用户的父id")
|
||||
private Long parentId;
|
||||
|
||||
@TableField(exist=false)
|
||||
@@ -59,7 +59,7 @@ public class IkSysUserEntity implements Serializable {
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "员工姓名")
|
||||
@Schema(description = "员工姓名")
|
||||
private String realName;
|
||||
/**
|
||||
* 盐
|
||||
@@ -120,26 +120,26 @@ public class IkSysUserEntity implements Serializable {
|
||||
// @NotNull(message="部门不能为空", groups = {AddGroup.class, UpdateGroup.class})
|
||||
private Long deptId;
|
||||
|
||||
@ApiModelProperty(value = "用户类型 :1 内部账户 2:外部账户 3:临时账户(有过期时间) 11:内部子账户")
|
||||
@Schema(description = "用户类型 :1 内部账户 2:外部账户 3:临时账户(有过期时间) 11:内部子账户")
|
||||
private Integer userType;
|
||||
|
||||
@ApiModelProperty("创建人")
|
||||
@Schema(description = "创建人")
|
||||
private Long createUserId;
|
||||
|
||||
|
||||
@ApiModelProperty("账户来源 ldap mgnt")
|
||||
@Schema(description = "账户来源 ldap mgnt")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
/**
|
||||
@@ -148,19 +148,19 @@ public class IkSysUserEntity implements Serializable {
|
||||
@TableField(exist=false)
|
||||
private String deptName;
|
||||
|
||||
@ApiModelProperty(value = "组织id")
|
||||
@Schema(description = "组织id")
|
||||
private Long commonId;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "钉钉用户userId")
|
||||
@Schema(description = "钉钉用户userId")
|
||||
private String dingUserId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Object> deviceList;
|
||||
|
||||
@ApiModelProperty(value = "临时用户过期时间")
|
||||
@Schema(description = "临时用户过期时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date temporaryTime;
|
||||
|
||||
|
||||
+14
-15
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -25,7 +24,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("任务图片实体类")
|
||||
@Schema(description = "任务图片实体类")
|
||||
public class MissionImageEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -38,13 +37,13 @@ public class MissionImageEntity implements Serializable {
|
||||
/**
|
||||
* 任务id
|
||||
*/
|
||||
@ApiModelProperty(value = "任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
/**
|
||||
* 任务名
|
||||
*/
|
||||
@ApiModelProperty(value = "任务名")
|
||||
@Schema(description = "任务名")
|
||||
private String missionName;
|
||||
|
||||
/**
|
||||
@@ -55,56 +54,56 @@ public class MissionImageEntity implements Serializable {
|
||||
/**
|
||||
* 图片路径
|
||||
*/
|
||||
@ApiModelProperty(value = "图片路径")
|
||||
@Schema(description = "图片路径")
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 拍照时飞机的经度
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时飞机的经度")
|
||||
@Schema(description = "拍照时飞机的经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 拍照时飞机的纬度
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时飞机的纬度")
|
||||
@Schema(description = "拍照时飞机的纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 拍照时飞机的相对起飞点高度
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时飞机的相对起飞点高度")
|
||||
@Schema(description = "拍照时飞机的相对起飞点高度")
|
||||
private BigDecimal altitude;
|
||||
|
||||
/**
|
||||
* 机场id
|
||||
*/
|
||||
@ApiModelProperty(value = "机场id")
|
||||
@Schema(description = "机场id")
|
||||
private Long deviceId;
|
||||
|
||||
/**
|
||||
* 图片类型 0:jpg,1:gif,2:jpeg,3:tif
|
||||
*/
|
||||
@ApiModelProperty(value = "图片类型 0:jpg,1:gif,2:jpeg,3:tif")
|
||||
@Schema(description = "图片类型 0:jpg,1:gif,2:jpeg,3:tif")
|
||||
private Integer imageType;
|
||||
|
||||
/**
|
||||
* 拍照时间
|
||||
*/
|
||||
@ApiModelProperty(value = "拍照时间")
|
||||
@Schema(description = "拍照时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date takePhotoTime;
|
||||
|
||||
/**
|
||||
* 图片尺寸宽度
|
||||
*/
|
||||
@ApiModelProperty(value = "图片尺寸宽度")
|
||||
@Schema(description = "图片尺寸宽度")
|
||||
private Integer imageWidth;
|
||||
|
||||
/**
|
||||
* 图片尺寸高度
|
||||
*/
|
||||
@ApiModelProperty(value = "图片尺寸高度")
|
||||
@Schema(description = "图片尺寸高度")
|
||||
private Integer imageHeight;
|
||||
|
||||
/**
|
||||
@@ -122,6 +121,6 @@ public class MissionImageEntity implements Serializable {
|
||||
/**
|
||||
* 缩略图URL
|
||||
*/
|
||||
@ApiModelProperty(value = "机场id")
|
||||
@Schema(description = "机场id")
|
||||
private String thumbnailUrl;
|
||||
}
|
||||
|
||||
+6
-7
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@@ -19,7 +18,7 @@ import java.util.Date;
|
||||
* @email lishilin4510@163.com
|
||||
* @date 2020-08-31 18:11:44
|
||||
*/
|
||||
@ApiModel(value ="")
|
||||
@Schema(description = "")
|
||||
@Data
|
||||
@ToString
|
||||
@TableName("ik_mission_image_user")
|
||||
@@ -30,16 +29,16 @@ public class MissionImageUserEntity implements Serializable {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
@ApiModelProperty(value = "任务图片id")
|
||||
@Schema(description = "任务图片id")
|
||||
private Long imageId;
|
||||
|
||||
@ApiModelProperty(value = "拍照用户id")
|
||||
@Schema(description = "拍照用户id")
|
||||
private String userId;
|
||||
|
||||
@ApiModelProperty(value = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
@Schema(description = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
private Integer industryType;
|
||||
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+6
-7
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@@ -17,7 +16,7 @@ import java.util.Date;
|
||||
* @CreateTime: 2024-11-15 10:44
|
||||
* @Description: 录制视频与用户关系
|
||||
*/
|
||||
@ApiModel(value ="")
|
||||
@Schema(description = "")
|
||||
@Data
|
||||
@ToString
|
||||
@TableName("ik_mission_record_video_user")
|
||||
@@ -28,16 +27,16 @@ public class MissionRecordVideoUserEntity implements Serializable {
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
|
||||
@ApiModelProperty(value = "任务视频id")
|
||||
@Schema(description = "任务视频id")
|
||||
private Long videoId;
|
||||
|
||||
@ApiModelProperty(value = "录制视频用户id")
|
||||
@Schema(description = "录制视频用户id")
|
||||
private String userId;
|
||||
|
||||
@ApiModelProperty(value = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
@Schema(description = "行业类别 0 通用版本 1 电力 2 水利 3 油气行业 4 智慧城市 5 应急救援 7 圣MAX 8 林业巡护 9 工业园区 10 文旅 11 电建 ")
|
||||
private Integer industryType;
|
||||
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+8
-9
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/双轴视频上轴标记实体类")
|
||||
@Schema(description = "文旅/双轴视频上轴标记实体类")
|
||||
public class BiaxVideoDownTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,42 +35,42 @@ public class BiaxVideoDownTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标记位置
|
||||
*/
|
||||
@ApiModelProperty("标记位置")
|
||||
@Schema(description = "标记位置")
|
||||
@TableField("tag_position")
|
||||
private String tagPosition;
|
||||
|
||||
/**
|
||||
* 标记名称
|
||||
*/
|
||||
@ApiModelProperty("标记名称")
|
||||
@Schema(description = "标记名称")
|
||||
@TableField("tag_name")
|
||||
private String tagName;
|
||||
|
||||
/**
|
||||
* 双轴视频ID
|
||||
*/
|
||||
@ApiModelProperty("双轴视频ID")
|
||||
@Schema(description = "双轴视频ID")
|
||||
@TableField("biax_video_id")
|
||||
private Long biaxVideoId;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+19
-20
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -30,7 +29,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/双轴视频实体类")
|
||||
@Schema(description = "文旅/双轴视频实体类")
|
||||
public class BiaxVideoEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -38,98 +37,98 @@ public class BiaxVideoEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 设备SN
|
||||
*/
|
||||
@ApiModelProperty("设备SN")
|
||||
@Schema(description = "设备SN")
|
||||
@TableField("device_sn")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 航线ID
|
||||
*/
|
||||
@ApiModelProperty("航线ID")
|
||||
@Schema(description = "航线ID")
|
||||
@TableField("route_id")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 双轴视频名称
|
||||
*/
|
||||
@ApiModelProperty("双轴视频名称")
|
||||
@Schema(description = "双轴视频名称")
|
||||
@TableField("biax_video_name")
|
||||
private String biaxVideoName;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty("备注")
|
||||
@Schema(description = "备注")
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 视频文件
|
||||
*/
|
||||
@ApiModelProperty("视频文件")
|
||||
@Schema(description = "视频文件")
|
||||
@TableField("video_file")
|
||||
private String videoFile;
|
||||
|
||||
/**
|
||||
* 视频时长
|
||||
*/
|
||||
@ApiModelProperty("视频时长")
|
||||
@Schema(description = "视频时长")
|
||||
@TableField("video_mins")
|
||||
private String videoMins;
|
||||
|
||||
/**
|
||||
* 上轴标记点位置
|
||||
*/
|
||||
@ApiModelProperty("上轴标记点位置")
|
||||
@Schema(description = "上轴标记点位置")
|
||||
@TableField("up_tag_position")
|
||||
private String upTagPosition;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty("经度")
|
||||
@Schema(description = "经度")
|
||||
@TableField("longitude")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty("纬度")
|
||||
@Schema(description = "纬度")
|
||||
@TableField("latitude")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -139,14 +138,14 @@ public class BiaxVideoEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -156,7 +155,7 @@ public class BiaxVideoEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+6
-7
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/双轴视频特色景观标签实体类")
|
||||
@Schema(description = "文旅/双轴视频特色景观标签实体类")
|
||||
public class BiaxVideoFeatureTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,28 +35,28 @@ public class BiaxVideoFeatureTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标签编码
|
||||
*/
|
||||
@ApiModelProperty("标签编码")
|
||||
@Schema(description = "标签编码")
|
||||
@TableField("tag_code")
|
||||
private String tagCode;
|
||||
|
||||
/**
|
||||
* 双轴视频ID
|
||||
*/
|
||||
@ApiModelProperty("双轴视频ID")
|
||||
@Schema(description = "双轴视频ID")
|
||||
@TableField("biax_video_id")
|
||||
private Long biaxVideoId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+7
-8
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/双轴视频上轴标记实体类")
|
||||
@Schema(description = "文旅/双轴视频上轴标记实体类")
|
||||
public class BiaxVideoUpTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,35 +35,35 @@ public class BiaxVideoUpTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标记名称
|
||||
*/
|
||||
@ApiModelProperty("标记名称")
|
||||
@Schema(description = "标记名称")
|
||||
@TableField("tag_name")
|
||||
private String tagName;
|
||||
|
||||
/**
|
||||
* 双轴视频ID
|
||||
*/
|
||||
@ApiModelProperty("双轴视频ID")
|
||||
@Schema(description = "双轴视频ID")
|
||||
@TableField("biax_video_id")
|
||||
private Long biaxVideoId;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+7
-8
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/景点精选图片实体类")
|
||||
@Schema(description = "文旅/景点精选图片实体类")
|
||||
public class FeaturedPhotoEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,35 +35,35 @@ public class FeaturedPhotoEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 照片文件
|
||||
*/
|
||||
@ApiModelProperty("照片文件")
|
||||
@Schema(description = "照片文件")
|
||||
@TableField("photo_file")
|
||||
private String photoFile;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+9
-10
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/景点精选航线实体类")
|
||||
@Schema(description = "文旅/景点精选航线实体类")
|
||||
public class FeaturedRouteEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,49 +35,49 @@ public class FeaturedRouteEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 航线ID
|
||||
*/
|
||||
@ApiModelProperty("航线ID")
|
||||
@Schema(description = "航线ID")
|
||||
@TableField("route_id")
|
||||
private Long routeId;
|
||||
|
||||
/**
|
||||
* 航线名称
|
||||
*/
|
||||
@ApiModelProperty("航线名称")
|
||||
@Schema(description = "航线名称")
|
||||
@TableField("route_name")
|
||||
private String routeName;
|
||||
|
||||
/**
|
||||
* 航线视频文件
|
||||
*/
|
||||
@ApiModelProperty("航线视频文件")
|
||||
@Schema(description = "航线视频文件")
|
||||
@TableField("route_file")
|
||||
private String routeFile;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+9
-10
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -29,7 +28,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/我的收藏实体类")
|
||||
@Schema(description = "文旅/我的收藏实体类")
|
||||
public class MyFavoriteEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -37,35 +36,35 @@ public class MyFavoriteEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty("用户ID")
|
||||
@Schema(description = "用户ID")
|
||||
@TableField("user_id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty("备注")
|
||||
@Schema(description = "备注")
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -75,7 +74,7 @@ public class MyFavoriteEntity implements Serializable {
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -85,7 +84,7 @@ public class MyFavoriteEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+14
-15
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -30,7 +29,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/全景照片实体类")
|
||||
@Schema(description = "文旅/全景照片实体类")
|
||||
public class PanoramaPhotoEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -38,63 +37,63 @@ public class PanoramaPhotoEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 照片名称
|
||||
*/
|
||||
@ApiModelProperty("照片名称")
|
||||
@Schema(description = "照片名称")
|
||||
@TableField("photo_name")
|
||||
private String photoName;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty("备注")
|
||||
@Schema(description = "备注")
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty("经度")
|
||||
@Schema(description = "经度")
|
||||
@TableField("longitude")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty("纬度")
|
||||
@Schema(description = "纬度")
|
||||
@TableField("latitude")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -104,14 +103,14 @@ public class PanoramaPhotoEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -121,7 +120,7 @@ public class PanoramaPhotoEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+6
-7
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/全景照片特色景观标签实体类")
|
||||
@Schema(description = "文旅/全景照片特色景观标签实体类")
|
||||
public class PanoramaPhotoFeatureTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,28 +35,28 @@ public class PanoramaPhotoFeatureTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标签编码
|
||||
*/
|
||||
@ApiModelProperty("标签编码")
|
||||
@Schema(description = "标签编码")
|
||||
@TableField("tag_code")
|
||||
private String tagCode;
|
||||
|
||||
/**
|
||||
* 全景照片ID
|
||||
*/
|
||||
@ApiModelProperty("全景照片ID")
|
||||
@Schema(description = "全景照片ID")
|
||||
@TableField("panorama_photo_id")
|
||||
private Long panoramaPhotoId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+8
-9
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/全景照片标记实体类")
|
||||
@Schema(description = "文旅/全景照片标记实体类")
|
||||
public class PanoramaPhotoTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,42 +35,42 @@ public class PanoramaPhotoTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标记名称
|
||||
*/
|
||||
@ApiModelProperty("标记名称")
|
||||
@Schema(description = "标记名称")
|
||||
@TableField("tag_name")
|
||||
private String tagName;
|
||||
|
||||
/**
|
||||
* 全景照片ID
|
||||
*/
|
||||
@ApiModelProperty("全景照片ID")
|
||||
@Schema(description = "全景照片ID")
|
||||
@TableField("panorama_photo_id")
|
||||
private Long panoramaPhotoId;
|
||||
|
||||
/**
|
||||
* 照片名称
|
||||
*/
|
||||
@ApiModelProperty("照片名称")
|
||||
@Schema(description = "照片名称")
|
||||
@TableField("photo_name")
|
||||
private String photoName;
|
||||
|
||||
/**
|
||||
* 照片文件
|
||||
*/
|
||||
@ApiModelProperty("照片文件")
|
||||
@Schema(description = "照片文件")
|
||||
@TableField("photo_file")
|
||||
private String photoFile;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+10
-11
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -29,7 +28,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/热门景点实体类")
|
||||
@Schema(description = "文旅/热门景点实体类")
|
||||
public class PopularScenicSpotEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -37,21 +36,21 @@ public class PopularScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
@@ -59,14 +58,14 @@ public class PopularScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -76,14 +75,14 @@ public class PopularScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -93,7 +92,7 @@ public class PopularScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+10
-11
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -29,7 +28,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("热门标签实体类")
|
||||
@Schema(description = "热门标签实体类")
|
||||
public class PopularTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -37,21 +36,21 @@ public class PopularTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标签编码
|
||||
*/
|
||||
@ApiModelProperty("标签编码")
|
||||
@Schema(description = "标签编码")
|
||||
@TableField("tag_code")
|
||||
private String tagCode;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
@@ -59,14 +58,14 @@ public class PopularTagEntity implements Serializable {
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -76,14 +75,14 @@ public class PopularTagEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -93,7 +92,7 @@ public class PopularTagEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+8
-9
@@ -4,8 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@@ -14,12 +13,12 @@ import java.util.Date;
|
||||
|
||||
/**
|
||||
* 资源角色与行业类型对应关系
|
||||
*
|
||||
*
|
||||
* @author xulinfei
|
||||
* @email xulinfei@ikingtec.com
|
||||
* @date 2021-04-20 09:30:26
|
||||
*/
|
||||
@ApiModel(value ="资源角色与行业类型对应关系")
|
||||
@Schema(description = "资源角色与行业类型对应关系")
|
||||
@Data
|
||||
@ToString
|
||||
@TableName("ik_resource_roles_industry")
|
||||
@@ -30,29 +29,29 @@ public class ResourceRolesIndustryEntity implements Serializable {
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "主键")
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 资源角色Id
|
||||
*/
|
||||
@ApiModelProperty(value = "资源角色Id")
|
||||
@Schema(description = "资源角色Id")
|
||||
private Long resourceRolesId;
|
||||
/**
|
||||
* 行业Id,行业类型移到字典表中,此字段其实是ik_sys_dict表的id
|
||||
*/
|
||||
@ApiModelProperty(value = "行业Id,行业类型移到字典表中,此字段其实是ik_sys_dict表的id")
|
||||
@Schema(description = "行业Id,行业类型移到字典表中,此字段其实是ik_sys_dict表的id")
|
||||
private Long industryId;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
private Date updatedAt;
|
||||
|
||||
@TableField(exist = false)
|
||||
|
||||
+6
-7
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/景点与设备关系实体类")
|
||||
@Schema(description = "文旅/景点与设备关系实体类")
|
||||
public class ScenicSpotDeviceEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,28 +35,28 @@ public class ScenicSpotDeviceEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 设备SN
|
||||
*/
|
||||
@ApiModelProperty("设备SN")
|
||||
@Schema(description = "设备SN")
|
||||
@TableField("device_sn")
|
||||
private String deviceSn;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+27
-28
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -30,7 +29,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/景点实体类")
|
||||
@Schema(description = "文旅/景点实体类")
|
||||
public class ScenicSpotEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -38,154 +37,154 @@ public class ScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@ApiModelProperty("名称")
|
||||
@Schema(description = "名称")
|
||||
@TableField("scenic_spot_name")
|
||||
private String scenicSpotName;
|
||||
|
||||
/**
|
||||
* 等级
|
||||
*/
|
||||
@ApiModelProperty("等级")
|
||||
@Schema(description = "等级")
|
||||
@TableField("scenic_spot_grade")
|
||||
private String scenicSpotGrade;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
@ApiModelProperty("简介")
|
||||
@Schema(description = "简介")
|
||||
@TableField("scenic_spot_about")
|
||||
private String scenicSpotAbout;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@ApiModelProperty("地址")
|
||||
@Schema(description = "地址")
|
||||
@TableField("scenic_spot_address")
|
||||
private String scenicSpotAddress;
|
||||
|
||||
/**
|
||||
* 机构名称
|
||||
*/
|
||||
@ApiModelProperty("机构名称")
|
||||
@Schema(description = "机构名称")
|
||||
@TableField("org_name")
|
||||
private String orgName;
|
||||
|
||||
/**
|
||||
* 机构编码
|
||||
*/
|
||||
@ApiModelProperty("机构编码")
|
||||
@Schema(description = "机构编码")
|
||||
@TableField("org_code")
|
||||
private String orgCode;
|
||||
|
||||
/**
|
||||
* 地址-省
|
||||
*/
|
||||
@ApiModelProperty("地址-省")
|
||||
@Schema(description = "地址-省")
|
||||
@TableField("province")
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 地址-省编码
|
||||
*/
|
||||
@ApiModelProperty("地址-省编码")
|
||||
@Schema(description = "地址-省编码")
|
||||
@TableField("province_code")
|
||||
private String provinceCode;
|
||||
|
||||
/**
|
||||
* 地址-市
|
||||
*/
|
||||
@ApiModelProperty("地址-市")
|
||||
@Schema(description = "地址-市")
|
||||
@TableField("city")
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 地址-市编码
|
||||
*/
|
||||
@ApiModelProperty("地址-市编码")
|
||||
@Schema(description = "地址-市编码")
|
||||
@TableField("city_code")
|
||||
private String cityCode;
|
||||
|
||||
/**
|
||||
* 地址-景区
|
||||
*/
|
||||
@ApiModelProperty("地址-景区")
|
||||
@Schema(description = "地址-景区")
|
||||
@TableField("scenic_area")
|
||||
private String scenicArea;
|
||||
|
||||
/**
|
||||
* 地址-景区编码
|
||||
*/
|
||||
@ApiModelProperty("地址-景区编码")
|
||||
@Schema(description = "地址-景区编码")
|
||||
@TableField("scenic_area_code")
|
||||
private String scenicAreaCode;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@ApiModelProperty("经度")
|
||||
@Schema(description = "经度")
|
||||
@TableField("longitude")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@ApiModelProperty("纬度")
|
||||
@Schema(description = "纬度")
|
||||
@TableField("latitude")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 高度
|
||||
*/
|
||||
@ApiModelProperty("高度")
|
||||
@Schema(description = "高度")
|
||||
@TableField("altitude")
|
||||
private BigDecimal altitude;
|
||||
|
||||
/**
|
||||
* 热度
|
||||
*/
|
||||
@ApiModelProperty("热度")
|
||||
@Schema(description = "热度")
|
||||
@TableField("hot_score")
|
||||
private BigDecimal hotScore;
|
||||
|
||||
/**
|
||||
* 语音介绍URL
|
||||
*/
|
||||
@ApiModelProperty("语音介绍URL")
|
||||
@Schema(description = "语音介绍URL")
|
||||
@TableField("introduce_audio_file")
|
||||
private String introduceAudioFile;
|
||||
|
||||
/**
|
||||
* 虚拟浏览入口视频URL
|
||||
*/
|
||||
@ApiModelProperty("虚拟浏览入口视频URL")
|
||||
@Schema(description = "虚拟浏览入口视频URL")
|
||||
@TableField("virtual_fly_photo_file")
|
||||
private String virtualFlyPhotoFile;
|
||||
|
||||
/**
|
||||
* 卡片图URL
|
||||
*/
|
||||
@ApiModelProperty("卡片图URL")
|
||||
@Schema(description = "卡片图URL")
|
||||
@TableField("photo_file")
|
||||
private String photoFile;
|
||||
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -195,14 +194,14 @@ public class ScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -212,7 +211,7 @@ public class ScenicSpotEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+6
-7
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -28,7 +27,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/景点标签实体类")
|
||||
@Schema(description = "文旅/景点标签实体类")
|
||||
public class ScenicSpotTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -36,28 +35,28 @@ public class ScenicSpotTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标签编码
|
||||
*/
|
||||
@ApiModelProperty("标签编码")
|
||||
@Schema(description = "标签编码")
|
||||
@TableField("tag_code")
|
||||
private String tagCode;
|
||||
|
||||
/**
|
||||
* 景点ID
|
||||
*/
|
||||
@ApiModelProperty("景点ID")
|
||||
@Schema(description = "景点ID")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+10
-11
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@@ -14,12 +13,12 @@ import java.util.Date;
|
||||
|
||||
/**
|
||||
* 地面站控制权限表
|
||||
*
|
||||
*
|
||||
* @author xulinfei
|
||||
* @email xulinfei@ikingtec.com
|
||||
* @date 2020-12-28 18:39:00
|
||||
*/
|
||||
@ApiModel(value ="地面站控制权限表")
|
||||
@Schema(description = "地面站控制权限表")
|
||||
@Data
|
||||
@ToString
|
||||
@TableName("ik_station_control")
|
||||
@@ -30,40 +29,40 @@ public class StationControlEntity implements Serializable {
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "主键")
|
||||
@Schema(description = "主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 控制名称
|
||||
*/
|
||||
@ApiModelProperty(value = "控制名称")
|
||||
@Schema(description = "控制名称")
|
||||
private String name;
|
||||
/**
|
||||
* 控制类型,1:任务,2:设备,3:视频,4:起飞,5:悬停,6:返航,7:报警,8:数据展示,9:地形展示,10:mqtt控制,11:ws权限
|
||||
*/
|
||||
@ApiModelProperty(value = "控制类型,1:任务,2:设备,3:视频,4:起飞,5:悬停,6:返航,7:报警,8:数据展示,9:地形展示,10:mqtt控制,11:ws权限")
|
||||
@Schema(description = "控制类型,1:任务,2:设备,3:视频,4:起飞,5:悬停,6:返航,7:报警,8:数据展示,9:地形展示,10:mqtt控制,11:ws权限")
|
||||
private Integer controlType;
|
||||
|
||||
/**
|
||||
* 控制说明
|
||||
*/
|
||||
@ApiModelProperty(value = "控制说明")
|
||||
@Schema(description = "控制说明")
|
||||
private String code;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ApiModelProperty(value = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
private Date updatedAt;
|
||||
|
||||
@TableField(exist = false)
|
||||
|
||||
+15
-16
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -24,7 +23,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/订单实体类")
|
||||
@Schema(description = "文旅/订单实体类")
|
||||
public class TourismOrderEnity implements Serializable {
|
||||
|
||||
|
||||
@@ -33,43 +32,43 @@ public class TourismOrderEnity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
@Schema(description = "用户ID")
|
||||
@TableField("user_id")
|
||||
private String userId;
|
||||
|
||||
@ApiModelProperty("航线code")
|
||||
@Schema(description = "航线code")
|
||||
@TableField("route_code")
|
||||
private String routeCode;
|
||||
|
||||
@ApiModelProperty("起飞机库")
|
||||
@Schema(description = "起飞机库")
|
||||
@TableField("take_off_dock_sn")
|
||||
private String takeOffDockSn;
|
||||
|
||||
@ApiModelProperty("降落机库")
|
||||
@Schema(description = "降落机库")
|
||||
@TableField("land_dock_sn")
|
||||
private String landDockSn;
|
||||
|
||||
@ApiModelProperty("起飞飞机")
|
||||
@Schema(description = "起飞飞机")
|
||||
@TableField("take_off_drone_sn")
|
||||
private String takeOffDroneSn;
|
||||
|
||||
@ApiModelProperty("订单状态:1:排队中 2:待支付 3:已支付 4:任务中 5:任务完成 6:取消排队")
|
||||
@Schema(description = "订单状态:1:排队中 2:待支付 3:已支付 4:任务中 5:任务完成 6:取消排队")
|
||||
@TableField("order_status")
|
||||
private Integer OrderStatus;
|
||||
|
||||
@ApiModelProperty("订单类型:暂定")
|
||||
@Schema(description = "订单类型:暂定")
|
||||
@TableField("order_type")
|
||||
private Integer OrderType;
|
||||
|
||||
@ApiModelProperty("任务id")
|
||||
@Schema(description = "任务id")
|
||||
@TableField("mission_id")
|
||||
private Long missionId;
|
||||
|
||||
@ApiModelProperty("套餐id")
|
||||
@Schema(description = "套餐id")
|
||||
@TableField("combo_id")
|
||||
private Long comboId;
|
||||
|
||||
@@ -79,15 +78,15 @@ public class TourismOrderEnity implements Serializable {
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
@ApiModelProperty("订单金额")
|
||||
@Schema(description = "订单金额")
|
||||
@TableField("order_num")
|
||||
private String orderNum;
|
||||
|
||||
@ApiModelProperty(value = "景点Id")
|
||||
@Schema(description = "景点Id")
|
||||
@TableField("scenic_spot_id")
|
||||
private Long scenicSpotId;
|
||||
|
||||
@ApiModelProperty(value = "打卡点Id")
|
||||
@Schema(description = "打卡点Id")
|
||||
@TableField("check_in_point")
|
||||
private Long checkInPoint;
|
||||
}
|
||||
|
||||
+5
-6
@@ -4,8 +4,7 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -24,7 +23,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/订单状态实体类")
|
||||
@Schema(description = "文旅/订单状态实体类")
|
||||
public class TourismOrderStatusEnity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -32,16 +31,16 @@ public class TourismOrderStatusEnity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("订单ID")
|
||||
@Schema(description = "订单ID")
|
||||
@TableField("order_id")
|
||||
private Long orderId;
|
||||
|
||||
|
||||
@ApiModelProperty("订单状态:1:排队中 2:待支付 3:已支付 4:任务中 5:任务完成 6:取消排队")
|
||||
@Schema(description = "订单状态:1:排队中 2:待支付 3:已支付 4:任务中 5:任务完成 6:取消排队")
|
||||
@TableField("order_status")
|
||||
private Integer OrderStatus;
|
||||
|
||||
|
||||
+13
-14
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -29,7 +28,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/主播实体类")
|
||||
@Schema(description = "文旅/主播实体类")
|
||||
public class TourismStreamerEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -37,21 +36,21 @@ public class TourismStreamerEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty("用户ID")
|
||||
@Schema(description = "用户ID")
|
||||
@TableField("user_id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@ApiModelProperty("用户名")
|
||||
@Schema(description = "用户名")
|
||||
@TableField("user_name")
|
||||
private String userName;
|
||||
|
||||
@@ -59,14 +58,14 @@ public class TourismStreamerEntity implements Serializable {
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
@ApiModelProperty("真实姓名")
|
||||
@Schema(description = "真实姓名")
|
||||
@TableField("real_name")
|
||||
private String realName;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@ApiModelProperty("手机号")
|
||||
@Schema(description = "手机号")
|
||||
@TableField("mobile")
|
||||
private String mobile;
|
||||
|
||||
@@ -74,21 +73,21 @@ public class TourismStreamerEntity implements Serializable {
|
||||
/**
|
||||
* 主播类型(1:主播,2:副播)
|
||||
*/
|
||||
@ApiModelProperty("主播类型(1:主播,2:副播)")
|
||||
@Schema(description = "主播类型(1:主播,2:副播)")
|
||||
@TableField("streamer_type")
|
||||
private Integer streamerType;
|
||||
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -98,14 +97,14 @@ public class TourismStreamerEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员ID
|
||||
*/
|
||||
@ApiModelProperty("更新人员ID")
|
||||
@Schema(description = "更新人员ID")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -115,7 +114,7 @@ public class TourismStreamerEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+11
-12
@@ -5,8 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -29,7 +28,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅/标签实体类")
|
||||
@Schema(description = "文旅/标签实体类")
|
||||
public class TourismTagEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -37,28 +36,28 @@ public class TourismTagEntity implements Serializable {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ApiModelProperty("主键ID")
|
||||
@Schema(description = "主键ID")
|
||||
@TableField("id")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 标签编码
|
||||
*/
|
||||
@ApiModelProperty("标签编码")
|
||||
@Schema(description = "标签编码")
|
||||
@TableField("tag_code")
|
||||
private String tagCode;
|
||||
|
||||
/**
|
||||
* 标签名称
|
||||
*/
|
||||
@ApiModelProperty("标签名称")
|
||||
@Schema(description = "标签名称")
|
||||
@TableField("tag_name")
|
||||
private String tagName;
|
||||
|
||||
/**
|
||||
* 排序号
|
||||
*/
|
||||
@ApiModelProperty("排序号")
|
||||
@Schema(description = "排序号")
|
||||
@TableField("order_number")
|
||||
private Integer orderNumber;
|
||||
|
||||
@@ -66,14 +65,14 @@ public class TourismTagEntity implements Serializable {
|
||||
/**
|
||||
* 创建人员ID
|
||||
*/
|
||||
@ApiModelProperty("创建人员ID")
|
||||
@Schema(description = "创建人员ID")
|
||||
@TableField("create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty("创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -83,14 +82,14 @@ public class TourismTagEntity implements Serializable {
|
||||
/**
|
||||
* 更新人员编码
|
||||
*/
|
||||
@ApiModelProperty("更新人员编码")
|
||||
@Schema(description = "更新人员编码")
|
||||
@TableField("update_user_id")
|
||||
private Long updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty("更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@@ -100,7 +99,7 @@ public class TourismTagEntity implements Serializable {
|
||||
/**
|
||||
* 删除标识(1:已删除,0:未删除)
|
||||
*/
|
||||
@ApiModelProperty("删除标识(1:已删除,0:未删除)")
|
||||
@Schema(description = "删除标识(1:已删除,0:未删除)")
|
||||
@TableLogic(value = "0", delval = "1")
|
||||
@TableField("deleted")
|
||||
private Integer deleted;
|
||||
|
||||
+14
-15
@@ -4,14 +4,13 @@ import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -25,7 +24,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("文旅用户实体类")
|
||||
@Schema(description = "文旅用户实体类")
|
||||
public class TourismUserEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -39,7 +38,7 @@ public class TourismUserEntity implements Serializable {
|
||||
private String username;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "用户头像")
|
||||
@Schema(description = "用户头像")
|
||||
private String avatarUrl;
|
||||
|
||||
|
||||
@@ -47,7 +46,7 @@ public class TourismUserEntity implements Serializable {
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "员工姓名")
|
||||
@Schema(description = "员工姓名")
|
||||
private String realName;
|
||||
/**
|
||||
* 盐
|
||||
@@ -77,41 +76,41 @@ public class TourismUserEntity implements Serializable {
|
||||
private Long organizationId;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "用户类型 :1 app用户 2 微信小程序用户")
|
||||
@Schema(description = "用户类型 :1 app用户 2 微信小程序用户")
|
||||
private Integer userType;
|
||||
|
||||
@ApiModelProperty("创建人")
|
||||
@Schema(description = "创建人")
|
||||
private Long createUserId;
|
||||
|
||||
|
||||
@ApiModelProperty("账户来源 APP weixin")
|
||||
@Schema(description = "账户来源 APP weixin")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updatedAt;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "客户id")
|
||||
@Schema(description = "客户id")
|
||||
private Long commonId;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remake;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "openId")
|
||||
@Schema(description = "openId")
|
||||
private String openId;
|
||||
|
||||
@ApiModelProperty(value = "租户id")
|
||||
@Schema(description = "租户id")
|
||||
private String tenantId;
|
||||
|
||||
|
||||
|
||||
+5
-5
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import com.zlt.tourism.dto.other.ParentQuery;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -12,17 +12,17 @@ public class AudioFileRequestQuery extends ParentQuery {
|
||||
|
||||
|
||||
|
||||
@ApiModelProperty(value = "音频id", required = false)
|
||||
@Schema(description = "音频id", required = false)
|
||||
private String id;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "音频飞机设备sn ")
|
||||
@Schema(description = "音频飞机设备sn ")
|
||||
private String deviceSn;
|
||||
|
||||
@ApiModelProperty(value = "音频类型 01 实时喊话 02 音频列表 ",required = false)
|
||||
@Schema(description = "音频类型 01 实时喊话 02 音频列表 ",required = false)
|
||||
private String audioType;
|
||||
|
||||
@ApiModelProperty(value = "音频名称 ",required = false)
|
||||
@Schema(description = "音频名称 ",required = false)
|
||||
private String name;
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import com.zlt.tourism.core.BasePage;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -12,6 +12,6 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MissionImagesPageQuery extends BasePage {
|
||||
|
||||
@ApiModelProperty("任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long missionId;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import com.zlt.tourism.core.BasePage;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -12,6 +12,6 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MissionPageQuery extends BasePage {
|
||||
|
||||
@ApiModelProperty("用户id")
|
||||
@Schema(description = "用户id")
|
||||
private Long userId;
|
||||
}
|
||||
|
||||
+8
-8
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import com.zlt.tourism.core.BasePage;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -12,24 +12,24 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MissionServicePageQuery extends BasePage {
|
||||
|
||||
@ApiModelProperty("任务id")
|
||||
@Schema(description = "任务id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("任务名称")
|
||||
@Schema(description = "任务名称")
|
||||
private String missionName;
|
||||
|
||||
@ApiModelProperty("任务状态")
|
||||
@Schema(description = "任务状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty("起飞机库")
|
||||
@Schema(description = "起飞机库")
|
||||
private String takeOffDockSn;
|
||||
|
||||
@ApiModelProperty("开始时间")
|
||||
@Schema(description = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
@ApiModelProperty("结束时间")
|
||||
@Schema(description = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
@ApiModelProperty("设备铭牌")
|
||||
@Schema(description = "设备铭牌")
|
||||
private String takeOffDockDeviceSn;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import com.zlt.tourism.core.BasePage;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
@@ -18,7 +18,7 @@ public class TourismOrderImagesQuery extends BasePage implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@ApiModelProperty("订单id")
|
||||
@Schema(description = "订单id")
|
||||
@NotNull(message = "订单id不能为空!")
|
||||
private Long orderId;
|
||||
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -18,11 +18,11 @@ public class TourismOrderWebSocketQuery implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@ApiModelProperty("飞机sn")
|
||||
@Schema(description = "飞机sn")
|
||||
@NotBlank(message = "飞机sn不能为空")
|
||||
private String deviceSn;
|
||||
|
||||
@ApiModelProperty("取消或者订阅 1 取消 2 订阅")
|
||||
@Schema(description = "取消或者订阅 1 取消 2 订阅")
|
||||
@NotNull(message = "机库sn不能为空")
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
+5
-6
@@ -1,8 +1,7 @@
|
||||
package com.zlt.tourism.query;
|
||||
|
||||
import com.zlt.tourism.core.BasePage;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -13,27 +12,27 @@ import lombok.Data;
|
||||
* @description 主播分页查询类
|
||||
* @create 2024/7/17 13:59
|
||||
**/
|
||||
@ApiModel("用户查询")
|
||||
@Schema(description = "用户查询")
|
||||
@Data
|
||||
public class TourismUserPageQuery extends BasePage {
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@ApiModelProperty("用户名")
|
||||
@Schema(description = "用户名")
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
@ApiModelProperty("真实姓名")
|
||||
@Schema(description = "真实姓名")
|
||||
private String realName;
|
||||
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@ApiModelProperty("手机号")
|
||||
@Schema(description = "手机号")
|
||||
private String mobile;
|
||||
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package com.zlt.tourism.req;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author ccg
|
||||
*/
|
||||
@Data
|
||||
public class NotifyMessageReq {
|
||||
/**
|
||||
* 设备sn
|
||||
*/
|
||||
private String sn;
|
||||
/**
|
||||
* 消息类别 1 AI端侧 3 AI大模型 2 高温告警 4短信直发(无重复校验)
|
||||
*/
|
||||
private Integer msgType;
|
||||
/**
|
||||
* 渠道类别 1 短信 2 钉钉 3 电话 0虎视前端 不填写,没有指定类型,模板配置了都发
|
||||
*/
|
||||
private Integer chanel;
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package com.zlt.tourism.req.aliYun;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author duzhichao
|
||||
* @description: TODO
|
||||
* @date 2022/11/4 17:50
|
||||
*/
|
||||
@Data
|
||||
public class SendMessageReq {
|
||||
private String phoneNum;
|
||||
|
||||
private Map<String, Object> map;
|
||||
|
||||
private String content;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
package com.zlt.tourism.req.bridge;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class BridgeTakeOffCmdParam {
|
||||
private String version;
|
||||
private String dstId;
|
||||
private String routeCode;
|
||||
private String missionId;
|
||||
private String dockId;
|
||||
private String srcId;
|
||||
private Long clientId;
|
||||
private Integer podType;
|
||||
private Integer routeMode;
|
||||
private Double dockLongitude;
|
||||
private Double dockLatitude;
|
||||
private Double dockAltitude;
|
||||
private Double dockDirection;
|
||||
private Integer height;
|
||||
private BridgeTakeOffCmdV10 data;
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package com.zlt.tourism.req.bridge;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class BridgeTakeOffCmdV10 {
|
||||
private Integer height;
|
||||
private Integer rtlMode;
|
||||
private Double landLongitude;
|
||||
private Double landLatitude;
|
||||
private Double landAltitude;
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package com.zlt.tourism.req.dingTalk;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author duzhichao
|
||||
* @description: TODO
|
||||
* @date 2022/10/27 10:16
|
||||
*/
|
||||
@Data
|
||||
public class GetDingTalkUserReq implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "是否立即同步钉钉数据 1:不立即(默认) 2:立即")
|
||||
private Integer type;
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.zlt.tourism.req.dingTalk;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author duzhichao
|
||||
* @description: TODO
|
||||
* @date 2022/11/4 14:36
|
||||
*/
|
||||
@Data
|
||||
public class GetSysUserReq {
|
||||
|
||||
@Schema(description = "用户userId,对应钉钉userId")
|
||||
private String userId;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user