Commit adf431c2 authored by liqin's avatar liqin 💬

bug fixed

parent 140eea51
......@@ -54,6 +54,9 @@ public abstract class BasePageOrderParam extends BasePageParam {
@ApiModelProperty("展板版权方ID")
private String boardCopyrightOwnerId;
@ApiModelProperty("展板分类ID")
private String exhibitionBoardCatId;
@ApiModelProperty(value = "禁用/启用")
private Boolean isPublished;
......
......@@ -257,6 +257,10 @@ public class ExhibitionBoardController extends BaseController {
if (StringUtils.isNotBlank(genericPageParam.getBoardCopyrightOwnerId())) {
queryWrapper.eq(ExhibitionBoard::getBoardCopyrightOwnerId, genericPageParam.getBoardCopyrightOwnerId());
}
// 对版权方模糊查询
if (StringUtils.isNotBlank(genericPageParam.getExhibitionBoardCatId())) {
queryWrapper.eq(ExhibitionBoard::getExhibitionBoardCatId, genericPageParam.getExhibitionBoardCatId());
}
// 根据创建时间区间检索
if (genericPageParam.getStartDate() != null && genericPageParam.getEndDate() != null) {
queryWrapper.ge(ExhibitionBoard::getCreateTime, genericPageParam.getStartDate().atTime(0, 0, 0))
......
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 to comment