Bladeren bron

数据格式

刘俊驰 10 maanden geleden
bovenliggende
commit
7675c5e7bf

+ 4 - 4
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/TempDirectorTrainingCamp.java

@@ -26,15 +26,15 @@ public class TempDirectorTrainingCamp implements Serializable {
 
     @TableField("apply_start_date_")
     @ApiModelProperty(value = "报名开始日期")
-    private String applyStartDate;
+    private Date applyStartDate;
 
     @TableField("apply_end_date_")
     @ApiModelProperty(value = "报名结束日期")
-    private String applyEndDate;
+    private Date applyEndDate;
 
     @TableField("bird_price_end_date_")
     @ApiModelProperty(value = "早鸟价截止日期")
-    private String birdPriceEndDate;
+    private Date birdPriceEndDate;
 
     @TableField("bird_price_")
     @ApiModelProperty(value = "早鸟价")
@@ -49,7 +49,7 @@ public class TempDirectorTrainingCamp implements Serializable {
     private BigDecimal originalPrice;
 
     @TableField("status_")
-    @ApiModelProperty(value = "未开始 NOT_START,报名中 APPLY,已结束 END")
+    @ApiModelProperty(value = "未开始 NOT_START,报名中 APPLY,已结束 END ,不用,直接使用时间判断")
     private String status;
 
     @TableField("update_by_")

+ 4 - 3
mec-biz/src/main/java/com/ym/mec/biz/dal/wrapper/TempDirectorTrainingCampWrapper.java

@@ -7,6 +7,7 @@ import lombok.Data;
 
 import javax.validation.constraints.NotNull;
 import java.math.BigDecimal;
+import java.util.Date;
 
 @ApiModel(value = "TempDirectorTrainingCampWrapper对象")
 public class TempDirectorTrainingCampWrapper {
@@ -22,14 +23,14 @@ public class TempDirectorTrainingCampWrapper {
 
         @ApiModelProperty(value = "报名开始时间")
         @NotNull(message = "报名开始时间不能为空")
-        private String applyStartDate;
+        private Date applyStartDate;
 
         @ApiModelProperty(value = "报名截止时间")
         @NotNull(message = "报名截止时间不能为空")
-        private String applyEndDate;
+        private Date applyEndDate;
 
         @ApiModelProperty(value = "早鸟价截止日期")
-        private String birdPriceEndDate;
+        private Date birdPriceEndDate;
 
         @ApiModelProperty(value = "早鸟价")
         private BigDecimal birdPrice;