| | |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/api/withdrawal/queryWithdrawal") |
| | | @ApiOperation(value = "获取历史提现数据【2.0】", tags = {"司机端-个人中心"}, notes = "开发中") |
| | | @ApiOperation(value = "获取历史提现数据【2.0】", tags = {"司机端-个人中心"}, notes = "") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "页码,首页1", name = "pageNum", required = true, dataType = "int"), |
| | | @ApiImplicitParam(value = "页条数", name = "size", required = true, dataType = "int"), |
| | |
| | | List<Map<String, Object>> list = withdrawalService.queryWithdrawal(language, uid, type, state, pageNum, size); |
| | | List<WithdrawalListWarpper> withdrawalWarpper = WithdrawalListWarpper.getWithdrawalWarpper(list); |
| | | WithdrawalWarpper withdrawalWarpper1 = new WithdrawalWarpper(); |
| | | withdrawalWarpper1.setTotal(0D); |
| | | withdrawalWarpper1.setTotal(withdrawalService.queryWithdrawalSum(uid, type)); |
| | | withdrawalWarpper1.setList(withdrawalWarpper); |
| | | return ResultUtil.success(withdrawalWarpper1); |
| | | }catch (Exception e){ |