Commit 53bc12bd1c834f4365812e3cd9a6cfecadbdabae
1 parent
d686127c
update
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| @@ -122,7 +122,7 @@ public class ContentServiceImpl { | @@ -122,7 +122,7 @@ public class ContentServiceImpl { | ||
| 122 | criteria.andLike("title", "%" + title + "%"); | 122 | criteria.andLike("title", "%" + title + "%"); |
| 123 | } | 123 | } |
| 124 | if (CommonUtils.isNotEmpty(source)) { | 124 | if (CommonUtils.isNotEmpty(source)) { |
| 125 | - criteria.andEqualTo("source","%" + source + "%"); | 125 | + criteria.andLike("source","%" + source + "%"); |
| 126 | } | 126 | } |
| 127 | if (CommonUtils.isNotEmpty(author)) { | 127 | if (CommonUtils.isNotEmpty(author)) { |
| 128 | criteria.andEqualTo("author",author); | 128 | criteria.andEqualTo("author",author); |