|
|
@@ -347,7 +347,7 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
|
|
|
s1.append(" and DATE_FORMAT(pay_time,'%Y-%m-%d') >= '").append(payStartTime).append("'")
|
|
|
.append(" and DATE_FORMAT(pay_time,'%Y-%m-%d') <= '").append(payEndTime).append("'");
|
|
|
}
|
|
|
- IPage<Booking> bookIPage = bookService.queryPage(s1.toString(),page,rows);
|
|
|
+ IPage<Booking> bookIPage = bookService.queryPage(s1.toString(),page,rows,"create_time");
|
|
|
//获取订单汇总信息
|
|
|
BookTypeEto bookTypeEto = bookService.getBookStatusSum(s1.toString());
|
|
|
bookTypeEto.setSumAccount(new BigDecimal(bookTypeEto.getSumAccount()).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
|
|
|
@@ -472,7 +472,7 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
|
|
|
if(maxTotalPrice!=null){
|
|
|
s1.append(" and house_total_price <= '").append(maxTotalPrice).append("'");
|
|
|
}
|
|
|
- IPage<Booking> bookIPage = bookService.queryPage(s1.toString(),page,rows);
|
|
|
+ IPage<Booking> bookIPage = bookService.queryPage(s1.toString(),page,rows, "check_out_time");
|
|
|
//获取订单汇总信息
|
|
|
BookTypeEto bookTypeEto = bookService.getBookStatusSum(s1.toString());
|
|
|
bookTypeEto.setBookIPage(bookIPage);
|