Commit f9a14550 authored by 蔡镇泽's avatar 蔡镇泽

设置时区解决返回日期少一天的问题

parent 5e4bdc6a
...@@ -22,7 +22,7 @@ public class TaskDistributionVO { ...@@ -22,7 +22,7 @@ public class TaskDistributionVO {
//失能人员姓名 //失能人员姓名
private String realName; private String realName;
//申请日期 //申请日期
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date fcd; private Date fcd;
//失能人员身份证号码 //失能人员身份证号码
private String certiCode; private String certiCode;
...@@ -31,7 +31,7 @@ public class TaskDistributionVO { ...@@ -31,7 +31,7 @@ public class TaskDistributionVO {
//备注 //备注
private String remark; private String remark;
//年龄 //年龄
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date birthday;//出生年月 private Date birthday;//出生年月
//诊断疾病 //诊断疾病
private String diseTypeF;//大类 private String diseTypeF;//大类
...@@ -72,13 +72,13 @@ public class TaskDistributionVO { ...@@ -72,13 +72,13 @@ public class TaskDistributionVO {
//评定人员所属机构名称 //评定人员所属机构名称
private String empOrganName; private String empOrganName;
//任务分配时间 //任务分配时间
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date assignTime; private Date assignTime;
//任务接受时间 //任务接受时间
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date acceptTime; private Date acceptTime;
//任务完成时间 //任务完成时间
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date finishTime; private Date finishTime;
//任务状态 //任务状态
private Integer taskStatus; private Integer taskStatus;
......
...@@ -13,7 +13,7 @@ public class TaskGroupVO { ...@@ -13,7 +13,7 @@ public class TaskGroupVO {
//任务推送id //任务推送id
private Integer taskPushId; private Integer taskPushId;
//任务分配日期 //任务分配日期
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date assignTime; private Date assignTime;
//机构代码 //机构代码
private Integer aprOrganId; private Integer aprOrganId;
......
...@@ -31,10 +31,10 @@ public class TaskReportVO { ...@@ -31,10 +31,10 @@ public class TaskReportVO {
//备注 //备注
private String remark; private String remark;
//评估时间 //评估时间
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date evaluateTime; private Date evaluateTime;
//出生年月 //出生年月
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date birthday; private Date birthday;
//诊断疾病 //诊断疾病
private String diseTypeF; private String diseTypeF;
...@@ -64,6 +64,6 @@ public class TaskReportVO { ...@@ -64,6 +64,6 @@ public class TaskReportVO {
//评定结果 //评定结果
private String riskLevel; private String riskLevel;
//录入时间 //录入时间
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date effTime; private Date effTime;
} }
...@@ -32,7 +32,7 @@ public class DisableVO implements Serializable { ...@@ -32,7 +32,7 @@ public class DisableVO implements Serializable {
//联系人姓名 //联系人姓名
private String opername; private String opername;
//年龄 //年龄
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date birthday; private Date birthday;
//性别 //性别
private String gender; private String gender;
......
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