|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
package com.iformall.service.impl; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
@@ -120,13 +121,17 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
public Map<String, Object> listAsPage(WxBillAll record, Integer pageIndex, Integer pageSize) { |
|
|
|
//更新各账单状态 |
|
|
|
//updateBillStatus(record); |
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(record.getStatusStr())) { |
|
|
|
List<Integer> typeList = JSONArray.parseArray(record.getStatusStr(), Integer.class); |
|
|
|
record.setTypeList(typeList); |
|
|
|
} |
|
|
|
PageInfo<WxBillAllVo> pageInfo = PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxBillAllMapper.list(record)); |
|
|
|
|
|
|
|
Map<String, Object> result = new HashMap<>(); |
|
|
|
result.put("pageInfo", pageInfo); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<Map<String, Object>> listBillOweAndWaitPay(WxBillAll wxBillAll) { |
|
|
|
//更新各账单状态 |
|
|
|
|