Compare commits

..

No commits in common. "main" and "dev_student" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -3,8 +3,8 @@ spring:
import:
# - classpath:nacos.yml
# - classpath:sdk.yml
# - classpath:nacos-prod.yml
# - classpath:sdk-prod.yml
- classpath:nacos-prod.yml
- classpath:sdk-prod2.yml
- classpath:sdk-prod.yml
# - classpath:nacos-prod.yml
# - classpath:sdk-prod2.yml
- classpath:swagger.yml

View File

@ -1,7 +1,6 @@
package com.zcloud.edu.dto.training;
import com.alibaba.cola.dto.Command;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
@ -30,12 +29,10 @@ public class TrainingUserAddCmd extends Command {
@ApiModelProperty(value = "有效期开始时间", name = "startTime", required = true)
@NotNull(message = "有效期开始时间不能为空")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime startTime;
@ApiModelProperty(value = "有效期结束时间", name = "endTime", required = true)
@NotNull(message = "有效期结束时间不能为空")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime endTime;
@ApiModelProperty(value = "考试状态:1.待考试2:考试通过,3:考试不通过", name = "examineStatus", required = true)