请假管理前端判断天数
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run

This commit is contained in:
XaoLi717 2024-12-18 20:35:11 +08:00
parent b767739501
commit 280d448a0f
5 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,9 @@ public class QjglPageReqVO extends PageParam {
@Schema(description = "请假天数")
private BigDecimal day;
@Schema(description = "剩余天数")
private BigDecimal remainingDays;
@Schema(description = "文件路径")
private String filePath;

View File

@ -41,6 +41,10 @@ public class QjglRespVO {
@ExcelProperty("请假天数")
private BigDecimal day;
@Schema(description = "剩余天数", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("剩余天数")
private BigDecimal remainingDays;
@Schema(description = "文件路径")
@ExcelProperty("文件路径")
private String filePath;

View File

@ -45,6 +45,9 @@ public class QjglSaveReqVO {
@NotNull(message = "请假天数不能为空")
private BigDecimal day;
@Schema(description = "剩余天数", requiredMode = Schema.RequiredMode.REQUIRED)
private BigDecimal remainingDays;
@Schema(description = "文件路径")
private String filePath;

View File

@ -53,6 +53,10 @@ public class QjglDO extends BaseDO {
* 请假天数
*/
private BigDecimal day;
/**
* 请假天数
*/
private BigDecimal remainingDays;
/**
* 文件路径
*/

View File

@ -23,6 +23,7 @@ public interface QjglMapper extends BaseMapperX<QjglDO> {
.betweenIfPresent(QjglDO::getStartTime, reqVO.getStartTime())
.betweenIfPresent(QjglDO::getEndTime, reqVO.getEndTime())
.eqIfPresent(QjglDO::getDay, reqVO.getDay())
.eqIfPresent(QjglDO::getRemainingDays, reqVO.getRemainingDays())
.eqIfPresent(QjglDO::getFilePath, reqVO.getFilePath())
.likeIfPresent(QjglDO::getUserName, reqVO.getUserName())
.eqIfPresent(QjglDO::getDeptId, reqVO.getDeptId())
@ -41,6 +42,7 @@ public interface QjglMapper extends BaseMapperX<QjglDO> {
.betweenIfPresent(QjglDO::getStartTime, reqVO.getStartTime())
.betweenIfPresent(QjglDO::getEndTime, reqVO.getEndTime())
.eqIfPresent(QjglDO::getDay, reqVO.getDay())
.eqIfPresent(QjglDO::getRemainingDays, reqVO.getRemainingDays())
.eqIfPresent(QjglDO::getFilePath, reqVO.getFilePath())
.likeIfPresent(QjglDO::getUserName, reqVO.getUserName())
.eqIfPresent(QjglDO::getDeptId, reqVO.getDeptId())