摘要: public Page getRecordeds(Integer page, Integer size, Recorded recorded) { if (page items = mongoTemplate.find(query.with(pageable), Recorded.class); return new PageImpl(items, pagea... 阅读全文
posted @ 2018-03-20 19:57 枫树湾河桥 阅读(9282) 评论(0) 推荐(1) 编辑
摘要: 这个错误是service的bean注入失败,主要是Application位置不对,要保证项目中的类在Application启动服务器类的下一级目录,如图: 阅读全文
posted @ 2018-03-20 19:46 枫树湾河桥 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 问题信息: Due to limitations of the com.mongodb.BasicDBObject, you can't add a second 'createTime' expression specified as 'createTime : { "$lt" : 1468339 阅读全文
posted @ 2018-03-20 19:39 枫树湾河桥 阅读(4776) 评论(0) 推荐(0) 编辑
摘要: Calendar calendarEnd = Calendar.getInstance(); calendarEnd.setTime(date); calendarEnd.set(Calendar.HOUR_OF_DAY, 23); calendarEnd.set(Calendar.MINUTE, 阅读全文
posted @ 2018-03-20 19:32 枫树湾河桥 阅读(8915) 评论(0) 推荐(0) 编辑
Live2D