Commit ef910b4fa8f394423f12b94315111a4f2a120bc0
1 parent
737a7050
图文审核update
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| @@ -122,10 +122,10 @@ public class ContentServiceImpl { | @@ -122,10 +122,10 @@ 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); | 125 | + criteria.andEqualTo("source",source); |
| 126 | } | 126 | } |
| 127 | if (CommonUtils.isNotEmpty(author)) { | 127 | if (CommonUtils.isNotEmpty(author)) { |
| 128 | - criteria.andEqualTo(author); | 128 | + criteria.andEqualTo("author",author); |
| 129 | } | 129 | } |
| 130 | if (CommonUtils.isNotEmpty(updater)) { | 130 | if (CommonUtils.isNotEmpty(updater)) { |
| 131 | criteria.andEqualTo("updater", updater); | 131 | criteria.andEqualTo("updater", updater); |