|
|
|
@ -183,9 +183,18 @@ public class AccountCloseServiceImpl implements AccountCloseService { |
|
|
|
Map retmap =new HashMap(); |
|
|
|
int startrs =ipage>1?(ipage-1)*ilimit:0; |
|
|
|
int total = userAccountBillMapper.countUserAccBill(uesrIsli); |
|
|
|
Integer end = ipage*ilimit; |
|
|
|
Integer start =startrs+1; |
|
|
|
if(total < end){ |
|
|
|
end = total; |
|
|
|
} |
|
|
|
if(total < startrs+1){ |
|
|
|
start = end = total; |
|
|
|
} |
|
|
|
retmap.put("curpage",ipage); |
|
|
|
retmap.put("start",startrs+1); |
|
|
|
retmap.put("end",ipage*ilimit); |
|
|
|
retmap.put("start",start); |
|
|
|
|
|
|
|
retmap.put("end",end); |
|
|
|
retmap.put("pre_page",ilimit); |
|
|
|
retmap.put("total",total); |
|
|
|
|
|
|
|
@ -238,6 +247,8 @@ public class AccountCloseServiceImpl implements AccountCloseService { |
|
|
|
BigDecimal odtmpsum = orderMapper.sumOrderByMap(osmap); |
|
|
|
income = income.add(odtmpsum); |
|
|
|
|
|
|
|
// 订单商品中所有价格
|
|
|
|
|
|
|
|
//
|
|
|
|
retlist.add(odumap); |
|
|
|
} |
|
|
|
|