Commit a86aafac by zhanghj

V1.6.0--修复创建售后单没有期望安装时间bug

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25991 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent a7cc2911
...@@ -7,8 +7,7 @@ import javax.validation.constraints.NotBlank; ...@@ -7,8 +7,7 @@ import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import javax.validation.groups.Default; import javax.validation.groups.Default;
import org.springframework.format.annotation.DateTimeFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.glsx.ordercenter.pojo.SysOrderDevice; import com.glsx.ordercenter.pojo.SysOrderDevice;
/** /**
...@@ -34,8 +33,9 @@ public class CreateAfterSaleRepairReq { ...@@ -34,8 +33,9 @@ public class CreateAfterSaleRepairReq {
private String repairReason; private String repairReason;
@NotNull(message="{param.not.null}", groups={Default.class}) @NotNull(message="{param.not.null}", groups={Default.class})
@DateTimeFormat(pattern = "yyyy-MM-dd") //@DateTimeFormat(pattern = "yyyy-MM-dd")
private String expectInstallTime; @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
private Date expectInstallTime;
@NotBlank(message="{param.not.null}", groups={Default.class}) @NotBlank(message="{param.not.null}", groups={Default.class})
private String vinNo; private String vinNo;
...@@ -109,11 +109,11 @@ public class CreateAfterSaleRepairReq { ...@@ -109,11 +109,11 @@ public class CreateAfterSaleRepairReq {
this.repairReason = repairReason; this.repairReason = repairReason;
} }
public String getExpectInstallTime() { public Date getExpectInstallTime() {
return expectInstallTime; return expectInstallTime;
} }
public void setExpectInstallTime(String expectInstallTime) { public void setExpectInstallTime(Date expectInstallTime) {
this.expectInstallTime = expectInstallTime; this.expectInstallTime = expectInstallTime;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!