| | |
| | | jac.check_remark, |
| | | jac.create_time, |
| | | jac.is_deleted, |
| | | bu.`real_name` name, |
| | | bu.`name` name, |
| | | bu.`avatar`, |
| | | bu.`phone` phone, |
| | | ja.title |
| | |
| | | <if test="noticeComment.checkUser != null ">and jac.check_user = #{noticeComment.checkUser}</if> |
| | | <if test="noticeComment.checkTime != null ">and jac.check_time = #{noticeComment.checkTime}</if> |
| | | <if test="noticeComment.checkStatus != null ">and jac.check_status = #{noticeComment.checkStatus}</if> |
| | | <if test="noticeComment.checkRemark != null and noticeComment.checkRemark != ''">and jac.check_remark = #{noticeComment.checkRemark}</if> |
| | | <if test="noticeComment.checkRemark != null and noticeComment.checkRemark != ''">and jac.check_remark = |
| | | #{noticeComment.checkRemark} |
| | | </if> |
| | | <if test="noticeComment.createTime != null ">and jac.create_time = #{noticeComment.createTime}</if> |
| | | <if test="noticeComment.isDeleted != null ">and jac.is_deleted = #{noticeComment.isDeleted}</if> |
| | | |
| | | <if test="noticeComment.phone != null ">and bu.phone like concat('%',#{noticeComment.phone},'%')</if> |
| | | <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.title != null ">and ja.title like concat('%',#{noticeComment.title},'%')</if> |
| | | |
| | | <if test="noticeComment.cityCodeList != null and noticeComment.cityCodeList.size() > 0"> |
| | | and ( ja.article_range like |
| | | <foreach collection="noticeComment.cityCodeList" separator=" or ja.article_range like" item="id"> |
| | | '%${id}%' |
| | | </foreach> |
| | | ) |
| | | </if> |
| | | and jac.user_id is not null |
| | | order by jac.create_time desc |
| | | </where> |