运营区边缘计算:基础支持-redis缓存设备所属运营商
This commit is contained in:
parent
ceeca4d6f7
commit
c052666eb1
@ -112,4 +112,8 @@ public class ResGPSDto {
|
||||
*/
|
||||
private LocalDateTime latestTime;
|
||||
|
||||
/**
|
||||
* 所属运营商
|
||||
*/
|
||||
private Long operatorId;
|
||||
}
|
||||
|
||||
@ -166,6 +166,15 @@ public interface OperationsFeignClient {
|
||||
@GetMapping("/ebikeEcuInfo/playAudio")
|
||||
JsonResult<?> playAudio(@RequestParam("ecuSn") String ecuSn,@RequestParam("idx")Integer idx);
|
||||
|
||||
/**
|
||||
* 根据中控编号获取详情
|
||||
*
|
||||
* @param ecuSn ecuSn
|
||||
* @return 详情
|
||||
*/
|
||||
@GetMapping("/ebikeEcuInfo/getEcuInfoByEcuSn")
|
||||
JsonResult<FeignEbikeEcuInfo> getEcuInfoByEcuSn(@RequestParam("ecuSn") String ecuSn);
|
||||
|
||||
/**
|
||||
* 根据SN编号播放音频
|
||||
*
|
||||
|
||||
@ -0,0 +1,87 @@
|
||||
package com.ebike.feign.model.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 中控基本信息 实体类。
|
||||
*
|
||||
* @author attiya
|
||||
* @since 2025-09-15
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class FeignEbikeEcuInfo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 中控ID
|
||||
*/
|
||||
private Long ecuId;
|
||||
|
||||
/**
|
||||
* 运营商ID
|
||||
*/
|
||||
private Long operatorId;
|
||||
|
||||
/**
|
||||
* 中控编号
|
||||
*/
|
||||
private String ecuCode;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updatedAt;
|
||||
|
||||
/**
|
||||
* 删除状态
|
||||
*/
|
||||
private Boolean isDeleted;
|
||||
|
||||
/**
|
||||
* 是否绑定电池(中控电池一体)
|
||||
*/
|
||||
private Boolean bindBattery;
|
||||
|
||||
/**
|
||||
* 中控SN码
|
||||
*/
|
||||
private String ecuSn;
|
||||
|
||||
/**
|
||||
* 中控品牌
|
||||
*/
|
||||
private Integer ecuBrand;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Long createdBy;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
private Long updateBy;
|
||||
|
||||
/**
|
||||
* 是否被领取(主要针对绑定电池的中控可能被领取进行换电
|
||||
*/
|
||||
private Boolean isClaim;
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user