Commit ad8d589e9e3aede4af2a18e62df91741175a38bb

Authored by 徐近程
2 parents a0f4c900 53bc12bd

Merge branch 'dev'

src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
... ... @@ -122,7 +122,7 @@ public class ContentServiceImpl {
122 122 criteria.andLike("title", "%" + title + "%");
123 123 }
124 124 if (CommonUtils.isNotEmpty(source)) {
125   - criteria.andEqualTo("source","%" + source + "%");
  125 + criteria.andLike("source","%" + source + "%");
126 126 }
127 127 if (CommonUtils.isNotEmpty(author)) {
128 128 criteria.andEqualTo("author",author);
... ...