diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoPageReqVO.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoPageReqVO.java index 8c8a98f..7ba154f 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoPageReqVO.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoPageReqVO.java @@ -19,6 +19,9 @@ public class EquipInfoPageReqVO extends PageParam { @Schema(description = "机床设备编号") private String equipNo; + @Schema(description = "机床设备名称") + private String equipName; + @Schema(description = "机床状态") private Integer status; diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/equip/EquipInfoMapper.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/equip/EquipInfoMapper.java index 3681afa..10588be 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/equip/EquipInfoMapper.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/dal/mysql/equip/EquipInfoMapper.java @@ -27,6 +27,7 @@ public interface EquipInfoMapper extends BaseMapperX { return selectPage(reqVO, new LambdaQueryWrapperX() .eqIfPresent(EquipInfoDO::getModelId, reqVO.getModelId()) .eqIfPresent(EquipInfoDO::getCustomerId, reqVO.getCustomerId()) + .likeIfPresent(EquipInfoDO::getEquipName, reqVO.getEquipName()) .likeIfPresent(EquipInfoDO::getEquipNo, reqVO.getEquipNo()) .eqIfPresent(EquipInfoDO::getStatus, reqVO.getStatus()) .groupBy(EquipInfoDO::getCustomerId, EquipInfoDO::getModelId)