|
|
|
@ -202,11 +202,11 @@ public class AccountCloseServiceImpl implements AccountCloseService { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public Map<String, Object> getBillDetail(String uesrIsli, int ipage, int ilimit) { |
|
|
|
public Map<String, Object> getBillDetail(String userIsli,String batchcode, int ipage, int ilimit) { |
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
Map retmap =new HashMap(); |
|
|
|
int startrs =ipage>1?(ipage-1)*ilimit:0; |
|
|
|
int total = userAccountBillMapper.countUserAccBill(uesrIsli); |
|
|
|
int total = userAccountBillMapper.countUserAccBill(userIsli); |
|
|
|
Integer end = ipage*ilimit; |
|
|
|
Integer start =startrs+1; |
|
|
|
if(total < end){ |
|
|
|
@ -222,8 +222,16 @@ public class AccountCloseServiceImpl implements AccountCloseService { |
|
|
|
retmap.put("pre_page",ilimit); |
|
|
|
retmap.put("total",total); |
|
|
|
|
|
|
|
// 查询map
|
|
|
|
Map<String,String> somap = new HashMap<>(); |
|
|
|
somap.put("user_isli",userIsli); |
|
|
|
if(batchcode!=null){ |
|
|
|
somap.put("batchcode",batchcode.trim()); |
|
|
|
} |
|
|
|
List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBillMap(somap,start,ilimit); |
|
|
|
|
|
|
|
// list
|
|
|
|
List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBill(uesrIsli,ipage,ilimit); |
|
|
|
//List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBill(uesrIsli,ipage,ilimit);
|
|
|
|
BigDecimal income = new BigDecimal(0.00); // 收入
|
|
|
|
BigDecimal disburse = new BigDecimal(0.00); //支出
|
|
|
|
|
|
|
|
|