mybatis-plus lambdaQuery怎么去查询时间,我获得的查询结果为0,在数据库中可以查询出来
Integer orderStatus = 0; LocalDate begin_time = LocalDate.of(2020,8,5);//"2020-08-05" LocalDate end_time = LocalDate.of(2020,8,6);//"2020-08-06" List<WhWorkOrder> list = whWorkOrderService.list(Wrappers.<WhWorkOrder>lambdaQuery() .eq(WhWorkOrder::getOrderStatus, orderStatus) .ge(WhWorkOrder::getCreatTime, begin_time) .lt(WhWorkOrder::getCreatTime, end_time)); list.forEach(System.out::println);