| | |
| | | "AND u.phone LIKE concat( #{pageComActDiscussCommentDTO.account}, '%' )\n" + |
| | | " </if> " + |
| | | "LEFT JOIN com_act_discuss_comment_user cu ON c.id = cu.disscuss_comment_id \n" + |
| | | " <where>" + |
| | | " where c.discuss_id=#{pageComActDiscussCommentDTO.id}" + |
| | | "<if test='pageComActDiscussCommentDTO.comment != null and pageComActDiscussCommentDTO.comment.trim() != ""'>" + |
| | | "c.`comment` LIKE concat( '%', #{pageComActDiscussCommentDTO.comment" + |
| | | " and c.`comment` LIKE concat( '%', #{pageComActDiscussCommentDTO.comment" + |
| | | "}, '%' ) \n" + |
| | | " </if> " + |
| | | " </where>" + |
| | | "GROUP BY\n" + |
| | | "c.id\n" + |
| | | ")t order by t.is_topping desc , t.create_at desc"+ |