Commit e128505220b7a7028dde9fe8442af370314ba156
1 parent
ea7dcd21
作业作品 家庭相册 改为免审、优化图文定时任务2
Showing
1 changed file
with
4 additions
and
3 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| ... | ... | @@ -74,11 +74,12 @@ public class ContentServiceImpl { |
| 74 | 74 | */ |
| 75 | 75 | public List<ShyContent> findShyContentWithWebPage() { |
| 76 | 76 | List checkParamList = new ArrayList(); |
| 77 | - //checkParamList.add("content"); | |
| 78 | - checkParamList.add("moment"); | |
| 77 | + checkParamList.add("content"); | |
| 78 | + //checkParamList.add("moment"); | |
| 79 | 79 | Example example = new Example(ShyContent.class); |
| 80 | 80 | Example.Criteria criteria = example.createCriteria(); |
| 81 | - criteria.andNotIn("content_tag", checkParamList); | |
| 81 | + //criteria.andNotIn("content_tag", checkParamList); | |
| 82 | + criteria.andEqualTo("content_tag", checkParamList); | |
| 82 | 83 | criteria.andEqualTo("shenhe_type", CommonConst.AUDIT_TYPE_MACHANE); |
| 83 | 84 | criteria.andEqualTo("receive_status", CommonConst.RECEIVE_BEFORE); |
| 84 | 85 | List<ShyContent> ShyContent = shyContentMapper.selectByExampleAndRowBounds(example, new RowBounds(0, 100)); | ... | ... |