Commit 3a0a1c0e by Jony.L

fix计算资源首页管理查询

parent bc9dbb0c
...@@ -16,6 +16,9 @@ public class ComputilityInformationPageReqVO extends PageParam { ...@@ -16,6 +16,9 @@ public class ComputilityInformationPageReqVO extends PageParam {
@Schema(description = "标题") @Schema(description = "标题")
private String title; private String title;
@Schema(description = "内容")
private String information;
@Schema(description = "计算资源应用类别") @Schema(description = "计算资源应用类别")
private Integer category; private Integer category;
......
...@@ -21,6 +21,7 @@ public interface ComputilityInformationMapper extends BaseMapperX<ComputilityInf ...@@ -21,6 +21,7 @@ public interface ComputilityInformationMapper extends BaseMapperX<ComputilityInf
default PageResult<ComputilityInformationDO> selectPage(ComputilityInformationPageReqVO reqVO) { default PageResult<ComputilityInformationDO> selectPage(ComputilityInformationPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ComputilityInformationDO>() return selectPage(reqVO, new LambdaQueryWrapperX<ComputilityInformationDO>()
.likeIfPresent(ComputilityInformationDO::getInformation,reqVO.getInformation())
.likeIfPresent(ComputilityInformationDO::getTitle, reqVO.getTitle()) .likeIfPresent(ComputilityInformationDO::getTitle, reqVO.getTitle())
.eqIfPresent(ComputilityInformationDO::getCategory, reqVO.getCategory()) .eqIfPresent(ComputilityInformationDO::getCategory, reqVO.getCategory())
.eqIfPresent(ComputilityInformationDO::getShowStatus, reqVO.getShowStatus()) .eqIfPresent(ComputilityInformationDO::getShowStatus, reqVO.getShowStatus())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment