Commit 9852940a authored by zhengjiawei's avatar zhengjiawei

bug

parent 04146637
package com.yeejoin.amos.fas.dao.entity; package com.yeejoin.amos.fas.dao.entity;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.*; import javax.persistence.*;
import java.util.Date; import java.util.Date;
...@@ -127,12 +129,14 @@ public class Equipment extends BasicEntity { ...@@ -127,12 +129,14 @@ public class Equipment extends BasicEntity {
* 预案开始时间 * 预案开始时间
*/ */
@Column(name="start_time") @Column(name="start_time")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime; private Date startTime;
/** /**
* 预案结束时间 * 预案结束时间
*/ */
@Column(name="end_time") @Column(name="end_time")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime; private Date endTime;
/** /**
......
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