|
|
@@ -20,7 +20,7 @@ public interface GoldenQuotesMapper {
|
|
|
@Select({"<script>" +
|
|
|
"select * from golden_quotes WHERE delete_flag = 1" +
|
|
|
"<if test=\"keyword != null and keyword != ''\">" +
|
|
|
- " and content like concat('%',#{keyword},'%')" +
|
|
|
+ " and (content like concat('%',#{keyword},'%') or remark like concat('%',#{keyword},'%'))" +
|
|
|
"</if>" +
|
|
|
"<if test=\"authorField != null and authorField != ''\">" +
|
|
|
" and author = #{authorField}" +
|