Commit e215c985 by Jony.L

fix行业应用管理搜索

parent 4605d357
......@@ -19,6 +19,9 @@ public class IndustryApplicationPageReqVO extends PageParam {
@Schema(description = "状态:0-已隐藏,1-已显示", example = "1")
private Integer showStatus;
@Schema(description = "内容")
private String information;
@Schema(description = "创建时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
......
......@@ -21,7 +21,8 @@ public interface IndustryApplicationMapper extends BaseMapperX<IndustryApplicati
default PageResult<IndustryApplicationDO> selectPage(IndustryApplicationPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<IndustryApplicationDO>()
.eqIfPresent(IndustryApplicationDO::getTitle, reqVO.getTitle())
.likeIfPresent(IndustryApplicationDO::getTitle, reqVO.getTitle())
.likeIfPresent(IndustryApplicationDO::getInformation, reqVO.getInformation())
.eqIfPresent(IndustryApplicationDO::getShowStatus, reqVO.getShowStatus())
.betweenIfPresent(IndustryApplicationDO::getCreateTime, reqVO.getCreateTime())
.eqIfPresent(IndustryApplicationDO::getHomeImage, reqVO.getHomeImage())
......
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