Commit d864e32b54faa2d3f5e575cd5822fe580fd7ed48
1 parent
c25ccc54
update
Showing
2 changed files
with
2 additions
and
10 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/CommentsServiceImpl.java
| ... | ... | @@ -174,15 +174,6 @@ public class CommentsServiceImpl { |
| 174 | 174 | } |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | - //if (CommonUtils.isNotEmpty(String.valueOf(commentsDTO.getState()))) { | |
| 178 | - // Example.Criteria criteria1 = example.createCriteria(); | |
| 179 | - // String[] stas = String.valueOf(commentsDTO.getState()).split(","); | |
| 180 | - // for (String s : stas) { | |
| 181 | - // criteria1.orEqualTo("state", Integer.parseInt(s)); | |
| 182 | - // } | |
| 183 | - // example.and(criteria1); | |
| 184 | - //} | |
| 185 | - | |
| 186 | 177 | if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() != 3) { |
| 187 | 178 | criteria.andEqualTo("state", commentsDTO.getState()); |
| 188 | 179 | } else if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() == 3) { | ... | ... |
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| ... | ... | @@ -365,9 +365,10 @@ public class ContentServiceImpl { |
| 365 | 365 | shenheType = 1; |
| 366 | 366 | } else { |
| 367 | 367 | if ("content".equals(ContentTag)) { |
| 368 | - //机审 | |
| 368 | + //免审 | |
| 369 | 369 | shenheType = 1; |
| 370 | 370 | } else if (ContentTag.startsWith("cms_") || ContentTag.startsWith("edu_")) { |
| 371 | + //机审 | |
| 371 | 372 | shenheType = 2; |
| 372 | 373 | } else { |
| 373 | 374 | //人工审 | ... | ... |