车辆管理
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
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:
parent
5aee125ba8
commit
7a28fb335e
@ -30,6 +30,9 @@ public class ClglPageReqVO extends PageParam {
|
|||||||
@Schema(description = "部门")
|
@Schema(description = "部门")
|
||||||
private Integer dept;
|
private Integer dept;
|
||||||
|
|
||||||
|
@Schema(description = "部门名字")
|
||||||
|
private String deptName;
|
||||||
|
|
||||||
@Schema(description = "用车类型", example = "1")
|
@Schema(description = "用车类型", example = "1")
|
||||||
private Integer carType;
|
private Integer carType;
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@ import com.alibaba.excel.annotation.*;
|
|||||||
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
||||||
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
@Schema(description = "管理后台 - 车辆管理 Response VO")
|
@Schema(description = "管理后台 - 车辆管理 Response VO")
|
||||||
@Data
|
@Data
|
||||||
@ExcelIgnoreUnannotated
|
@ExcelIgnoreUnannotated
|
||||||
@ -37,6 +39,10 @@ public class ClglRespVO {
|
|||||||
@ExcelProperty("部门")
|
@ExcelProperty("部门")
|
||||||
private Integer dept;
|
private Integer dept;
|
||||||
|
|
||||||
|
@Schema(description = "部门名字", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@NotNull(message = "部门名字不能为空")
|
||||||
|
private String deptName;
|
||||||
|
|
||||||
@Schema(description = "用车类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@Schema(description = "用车类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||||
@ExcelProperty(value = "用车类型", converter = DictConvert.class)
|
@ExcelProperty(value = "用车类型", converter = DictConvert.class)
|
||||||
@DictFormat("clgl_car_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
@DictFormat("clgl_car_type") // TODO 代码优化:建议设置到对应的 DictTypeConstants 枚举类中
|
||||||
|
@ -29,6 +29,10 @@ public class ClglSaveReqVO {
|
|||||||
@NotNull(message = "部门不能为空")
|
@NotNull(message = "部门不能为空")
|
||||||
private Integer dept;
|
private Integer dept;
|
||||||
|
|
||||||
|
@Schema(description = "部门名字", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
|
@NotNull(message = "部门名字不能为空")
|
||||||
|
private String deptName;
|
||||||
|
|
||||||
@Schema(description = "用车类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
@Schema(description = "用车类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||||
@NotNull(message = "用车类型不能为空")
|
@NotNull(message = "用车类型不能为空")
|
||||||
private Integer carType;
|
private Integer carType;
|
||||||
|
@ -63,6 +63,10 @@ public class ClglDO extends BaseDO {
|
|||||||
* 部门
|
* 部门
|
||||||
*/
|
*/
|
||||||
private Integer dept;
|
private Integer dept;
|
||||||
|
/**
|
||||||
|
* 部门名字
|
||||||
|
*/
|
||||||
|
private String deptName;
|
||||||
/**
|
/**
|
||||||
* 用车类型
|
* 用车类型
|
||||||
*
|
*
|
||||||
|
@ -23,6 +23,7 @@ public interface ClglMapper extends BaseMapperX<ClglDO> {
|
|||||||
.eqIfPresent(ClglDO::getCarUserId, reqVO.getCarUserId())
|
.eqIfPresent(ClglDO::getCarUserId, reqVO.getCarUserId())
|
||||||
.eqIfPresent(ClglDO::getCarUserName, reqVO.getCarUserName())
|
.eqIfPresent(ClglDO::getCarUserName, reqVO.getCarUserName())
|
||||||
.eqIfPresent(ClglDO::getDept, reqVO.getDept())
|
.eqIfPresent(ClglDO::getDept, reqVO.getDept())
|
||||||
|
.eqIfPresent(ClglDO::getDeptName, reqVO.getDeptName())
|
||||||
.eqIfPresent(ClglDO::getCarType, reqVO.getCarType())
|
.eqIfPresent(ClglDO::getCarType, reqVO.getCarType())
|
||||||
.eqIfPresent(ClglDO::getCarDriver, reqVO.getCarDriver())
|
.eqIfPresent(ClglDO::getCarDriver, reqVO.getCarDriver())
|
||||||
.eqIfPresent(ClglDO::getCarStart, reqVO.getCarStart())
|
.eqIfPresent(ClglDO::getCarStart, reqVO.getCarStart())
|
||||||
@ -42,6 +43,7 @@ public interface ClglMapper extends BaseMapperX<ClglDO> {
|
|||||||
.eqIfPresent(ClglDO::getCarUserId, reqVO.getCarUserId())
|
.eqIfPresent(ClglDO::getCarUserId, reqVO.getCarUserId())
|
||||||
.eqIfPresent(ClglDO::getCarUserName, reqVO.getCarUserName())
|
.eqIfPresent(ClglDO::getCarUserName, reqVO.getCarUserName())
|
||||||
.eqIfPresent(ClglDO::getDept, reqVO.getDept())
|
.eqIfPresent(ClglDO::getDept, reqVO.getDept())
|
||||||
|
.eqIfPresent(ClglDO::getDeptName, reqVO.getDeptName())
|
||||||
.eqIfPresent(ClglDO::getCarType, reqVO.getCarType())
|
.eqIfPresent(ClglDO::getCarType, reqVO.getCarType())
|
||||||
.eqIfPresent(ClglDO::getCarDriver, reqVO.getCarDriver())
|
.eqIfPresent(ClglDO::getCarDriver, reqVO.getCarDriver())
|
||||||
.eqIfPresent(ClglDO::getCarStart, reqVO.getCarStart())
|
.eqIfPresent(ClglDO::getCarStart, reqVO.getCarStart())
|
||||||
|
Loading…
Reference in New Issue
Block a user