Commit f4ba477f by huangjinxin

fix:订单表默认值处理

1 parent 0cdc8d47
......@@ -63,10 +63,10 @@ public class OrderInfoEntity {
private String skill;
@Column(name = "take_time", nullable = false)
private int takeTime;
private int takeTime = 0;
@Column(name = "is_workshop", nullable = false)
private boolean isWorkshop;
private boolean isWorkshop = false;
@Column(name = "fault_describe", length = 100)
private String faultDescribe;
......@@ -153,10 +153,10 @@ public class OrderInfoEntity {
private LocalDateTime planEndTime;
@Column(name = "arrive_elapsed", nullable = true, columnDefinition = "int(11) default '0'")
private Integer arriveElapsed;
private Integer arriveElapsed = 0;
@Column(name = "arrive_distance", nullable = true, columnDefinition = "int(11) default '0'")
private Integer arriveDistance;
private Integer arriveDistance = 0;
@Column(name = "actual_start_time")
private LocalDateTime actualStartTime;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!