yujian
2019-06-11 69a828c1658429614b6a5a8657ee9eac13c0a777
fanli/src/main/java/com/yeshi/fanli/dao/dynamic/DynamicInfoDao.java
@@ -124,12 +124,6 @@
   public void removeByDate(Date createTime) {
      Query query = new Query();
        query.addCriteria(Criteria.where("createTime").lt(createTime));
        query.addCriteria(
               new Criteria().andOperator(
                   Criteria.where("createTime").lt(createTime),
                   Criteria.where("classId").ne(4L)
                   )
            );
      mongoTemplate.remove(query);
   }