Compare commits
No commits in common. "37a8817c446c6be74e5a947cec2bc8558a7c340d" and "f8d45b00df8bd5bc5f6c982236b993894288bb4d" have entirely different histories.
37a8817c44
...
f8d45b00df
@ -50,7 +50,7 @@ public class JbglSaveReqVO {
|
|||||||
|
|
||||||
@AssertTrue(message = "开始时间,需要在结束时间之后")
|
@AssertTrue(message = "开始时间,需要在结束时间之后")
|
||||||
public boolean isEndTimeValid() {
|
public boolean isEndTimeValid() {
|
||||||
return !getEndDate().isBefore(getStartDate());
|
return !getStartDate().isBefore(getEndDate());
|
||||||
}
|
}
|
||||||
@Schema(description = "加班开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "加班开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@NotNull(message = "加班开始时间不能为空")
|
@NotNull(message = "加班开始时间不能为空")
|
||||||
|
Loading…
Reference in New Issue
Block a user