日期格式处理

master
shijie 4 years ago
parent fc1c1be218
commit d309b73c16
  1. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/AlInsuranceListRes.java

@ -4,6 +4,7 @@ import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.ToString; import lombok.ToString;
@ -72,6 +73,7 @@ public class AlInsuranceListRes extends BaseRowModel implements Serializable {
/** /**
* 申请日期 * 申请日期
*/ */
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiModelProperty(value = "申请日期") @ApiModelProperty(value = "申请日期")
private Date applyTime; private Date applyTime;

Loading…
Cancel
Save