Query query = new Query();
Criteria criteria = Criteria.where("packetTitle").is(redPacketStatVO.getActiveTitle())
.and("activeCode").is(redPacketStatVO.getActiveCode())
.and("packetDetailStatus").is(RedPacketDetailStatusEnum.FINISH.getValue())
.and("drawStatus").is(RedPacketDrawEnum.GET_PACKET.getValue());
query.addCriteria(criteria); //领取总量
List<RedPacketDraw> drawTotals = mongoTemplate.find(query, RedPacketDraw.class);

最新文章

  1. harris角点检测的学习
  2. java filechannel大文件的读写
  3. js去空格
  4. 视频聊天APP
  5. C++之map、list操作
  6. Android 蓝牙4.0 BLE
  7. Pod::Executable pull
  8. vs2010 无法连接到asp.net development server
  9. mysql 之路目录
  10. Python进程
  11. MyEclipse2014搭建JSF项目实例
  12. LinuxMint(Ubuntu)安装文泉驿家族黑体字
  13. swagger支持中英文
  14. (后端)spring的@Transactional注解详细用法(转)
  15. 时间戳转日期 mysql以及sql server 用法
  16. Linux文件系统2---VFS的四个主要对象
  17. C#基础回顾:正则表达式-转
  18. 【Ansible 文档】【译文】Ad-Hoc 命令介绍
  19. leetcode:Insert Sort List
  20. (windows)一台电脑上安装两个Mysql服务

热门文章

  1. NO24 第三关--企业面试题
  2. 搭建python的开发环境(采用eclipse的开发工具)在线和离线安装pyDev
  3. iOS 枚举ENUM和OPTIONS的区别
  4. Unable to execute dex:Multuple dex files define 解决方法
  5. imagenet下载及训练
  6. Django(十二)视图--利用jquery从后台发送ajax请求并处理、ajax登录案例
  7. mybaits-plus总结
  8. ffmpeg “inttypes.h”: No such file or directory
  9. CentOS7基于http方式搭建本地yum源
  10. JS - n次方计算