Commit 9998e1cb by 姚冰

[chg] 字段修正,结果序列化修改,数量计算修正

1 parent f79c2950
...@@ -16,9 +16,8 @@ public class PersonInfo { ...@@ -16,9 +16,8 @@ public class PersonInfo {
private Integer age; private Integer age;
private String gender; private String gender;
private Integer bodyType; private Integer bodyType;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date countTime; private Date counttime;
private String fid; private String fid;
private String channelSerialNum; private String channelSerialNum;
private Long gateId; private Long gateId;
...@@ -32,7 +31,7 @@ public class PersonInfo { ...@@ -32,7 +31,7 @@ public class PersonInfo {
this.age = age; this.age = age;
this.gender = gender; this.gender = gender;
this.bodyType = bodyType; this.bodyType = bodyType;
this.countTime = countTime; this.counttime = countTime;
this.fid = fid; this.fid = fid;
this.channelSerialNum = channelSerialNum; this.channelSerialNum = channelSerialNum;
this.gateId = gateId; this.gateId = gateId;
......
package com.viontech.match.entity; package com.viontech.match.entity;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
...@@ -16,7 +17,8 @@ public class SearchResultHit { ...@@ -16,7 +17,8 @@ public class SearchResultHit {
private Integer age; private Integer age;
private String gender; private String gender;
private Integer bodyType; private Integer bodyType;
private Date countTime; // @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
private String counttime;
private String fid; private String fid;
private String channelSerialNum; private String channelSerialNum;
private Long gateId; private Long gateId;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!