Commit 85e21195 authored by duanruiming's avatar duanruiming

[update] 优化海康校时返回

parent 31fae67f
...@@ -2,8 +2,6 @@ spring: ...@@ -2,8 +2,6 @@ spring:
application: application:
# dubbo启动需要程序名称 # dubbo启动需要程序名称
name: utc name: utc
jackson:
time-zone: GMT+8
main: main:
allow-circular-references: true allow-circular-references: true
cloud: cloud:
......
package net.wanji.databus.dao.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @author duanruiming
* @date 2023/08/08 18:00
*/
@Data
@ApiModel(value = "信号机返回校时实体")
public class SignalTimePO {
@ApiModelProperty(name = "路口编号", notes = "路口编号")
private String crossId;
@ApiModelProperty(name = "信号机时间", notes = "信号机时间")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm", timezone = "GMT+8")
private Date signalTime;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment