|
@@ -97,6 +97,8 @@ public class CashOutController {
|
|
if (req.getUnionid() == null)
|
|
if (req.getUnionid() == null)
|
|
return ResultData.getParamValidResult("unionid不能为空");
|
|
return ResultData.getParamValidResult("unionid不能为空");
|
|
Map<String, Object> resMap = new HashMap<>();
|
|
Map<String, Object> resMap = new HashMap<>();
|
|
|
|
+ if(req.getPageIndex()==null || req.getPageIndex()<=0)
|
|
|
|
+ req.setPageIndex(1);
|
|
List<CashOutRecord> list = cashOutRecordService.getListByUser(req.getUnionid(), (req.getPageIndex() - 1) * req.getPageSize(), req.getPageSize());
|
|
List<CashOutRecord> list = cashOutRecordService.getListByUser(req.getUnionid(), (req.getPageIndex() - 1) * req.getPageSize(), req.getPageSize());
|
|
int count = 0;
|
|
int count = 0;
|
|
if (list != null && list.size() > 0)
|
|
if (list != null && list.size() > 0)
|