Ver código fonte

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing 1 ano atrás
pai
commit
887b87e647
4 arquivos alterados com 13 adições e 3 exclusões
  1. +4
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/domain/ThInspection.java
  2. +4
    -3
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/InspectionRequest.java
  3. +4
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/vo/index/DroneDataVo.java
  4. +1
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java

+ 4
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/domain/ThInspection.java Ver arquivo

@@ -92,4 +92,8 @@ public class ThInspection extends BaseEntity implements Serializable {
*/
private String ysingal;

/**
* 飞行模式
*/
private String mode;
}

+ 4
- 3
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/InspectionRequest.java Ver arquivo

@@ -1,12 +1,10 @@
package com.tuoheng.admin.entity.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* @User qiujinyang
* @Description
@@ -53,4 +51,7 @@ public class InspectionRequest implements Serializable {

@ApiModelProperty(value = "遥测信号")
private String ysingal;

@ApiModelProperty(value = "飞行模式")
private String mode;
}

+ 4
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/vo/index/DroneDataVo.java Ver arquivo

@@ -55,4 +55,8 @@ public class DroneDataVo {
*/
private String ysingal;

/**
* 飞行模式
*/
private String mode;
}

+ 1
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java Ver arquivo

@@ -115,6 +115,7 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper,
ThMission mission = thMissions.get(0);
inspection.setSpeed(inspectionRequest.getHspeed());
inspection.setYsingal(inspectionRequest.getYsingal());
inspection.setMode(inspectionRequest.getMode());
inspection.setMissionId(mission.getId());
inspection.setTenantId(mission.getTenantId());
inspectionMapper.insert(inspection);

Carregando…
Cancelar
Salvar