维修app创建工单时的bug修复

This commit is contained in:
许允枞 2024-10-21 18:12:49 +08:00
parent 1624cc2e5f
commit 5be75a5c81
3 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
@ -61,11 +62,13 @@ public class CarMain extends TenantBaseDO {
* 年检日期
*/
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
private LocalDateTime inspectionDate;
/**
* 保险日期
*/
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
private LocalDateTime insuranceDate;
/**
* 二级维护时间
@ -112,6 +115,7 @@ public class CarMain extends TenantBaseDO {
* 车辆注册日期
*/
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
private LocalDateTime carRegisterDate;
/**
* 行驶证图片

View File

@ -5,6 +5,7 @@ import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import java.util.Date;
@ -54,6 +55,7 @@ public class CustomerMain extends TenantBaseDO {
/**
* 生日
*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
private Date birthday;
/**
* 住址

View File

@ -64,6 +64,7 @@ public class DlRepairBooking extends TenantBaseDO {
/**
* 预约时间
*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime bookingTime;
/**