记得上下班打卡 | git大法好,push需谨慎

Commit 90c4c8da authored by jiangxiulong's avatar jiangxiulong

注释

parent 15728e3e
......@@ -110,14 +110,11 @@ public class KylinPerformancesServiceImpl extends ServiceImpl<KylinPerformancesM
String nowTimeStr = nowTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
query.addCriteria(Criteria.where("timeEnd").gte(nowTimeStr));
// 要查询的字段
// query.fields().include();//包含该字段
// query.fields().exclude();//不包含该字段
// 查询总数
long count = mongoTemplate.count(query, KylinPerformanceVo.class, KylinPerformanceVo.class.getSimpleName());
query.with(pageable);
// 要查询的字段
query.fields().exclude("details");
query.fields().exclude("noticeImage");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment