| | |
| | | package org.springblade.modules.article.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.modules.article.entity.ArticleCommentEntity; |
| | | import org.springblade.modules.article.vo.ArticleCommentVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * @param noticeComment |
| | | * @return |
| | | */ |
| | | List<ArticleCommentVO> selectArticleCommentPage(IPage page, ArticleCommentVO noticeComment); |
| | | List<ArticleCommentVO> selectArticleCommentPage(IPage page, @Param("noticeComment") ArticleCommentVO noticeComment); |
| | | |
| | | |
| | | } |
| | |
| | | <if test="noticeComment.name != null ">and bu.name like concat('%',#{noticeComment.name},'%')</if> |
| | | <if test="noticeComment.title != null ">and ja.title like concat('%',#{noticeComment.title},'%')</if> |
| | | |
| | | <if test="noticeComment.cityCode != null and noticeComment.cityCode != ''"> |
| | | <if test="noticeComment.cityCodeList != null and noticeComment.cityCodeList.size() > 0"> |
| | | and ( ja.article_range like |
| | | <foreach collection="noticeComment.cityCode" separator=" or ja.article_range like" item="id">'%${id}%' |
| | | <foreach collection="noticeComment.cityCodeList" separator=" or ja.article_range like" item="id"> |
| | | '%${id}%' |
| | | </foreach> |
| | | ) |
| | | </if> |