Model增加注解@JSONField
import com.alibaba.fastjson.annotation.JSONField;
...
@Column(name="CREATE_TIME")
@JSONField(format = "yyyy-MM-dd")
public Date getCreateTime() {
return createTime;
}
...
Model增加注解@JSONField
import com.alibaba.fastjson.annotation.JSONField;
...
@Column(name="CREATE_TIME")
@JSONField(format = "yyyy-MM-dd")
public Date getCreateTime() {
return createTime;
}
...