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

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

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