| | |
| | | import com.ks.push.pojo.DO.BPushTask; |
| | | import com.ks.lib.common.dao.MongodbBaseDao; |
| | | import com.ks.push.pojo.Query.BPushTaskQuery; |
| | | import org.springframework.data.domain.Sort; |
| | | import org.springframework.data.mongodb.core.query.Criteria; |
| | | import org.springframework.data.mongodb.core.query.Query; |
| | | import org.springframework.data.mongodb.core.query.Update; |
| | |
| | | Query query = getQuery(daoQuery); |
| | | query.skip(start); |
| | | query.limit(count); |
| | | if (daoQuery.sortList != null) { |
| | | query.with(Sort.by(daoQuery.sortList)); |
| | | } |
| | | return findList(query); |
| | | } |
| | | |