| | |
| | | schema = @Schema(implementation = VoRecharge.class))} |
| | | ) |
| | | }) |
| | | @GetMapping(path = "/getRecharges", consumes = MediaType.APPLICATION_JSON_VALUE) |
| | | //@GetMapping(path = "/getRecharges", consumes = MediaType.APPLICATION_JSON_VALUE) |
| | | @GetMapping(path = "/getRecharges") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoRecharge>>> get(@RequestBody @Parameter(description = "查询form表单json数据", required = true) QueryVo vo){ |
| | | public BaseResponse<QueryResultVo<List<VoRecharge>>> get(QueryVo vo){ |
| | | try { |
| | | QueryResultVo<List<VoRecharge>> res = rechargeSv.getRecharges(vo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | |
| | | */ |
| | | SeClientCard seClientCard = new SeClientCard(); |
| | | seClientCard.setId(cardId); |
| | | seClientCard.setMoney(afterRecharge); |
| | | seClientCard.setRechargedt(rechargeTime); |
| | | seClientCard.setLastoper(LastOperateENUM.RECHARGE.getCode ()); |
| | | Integer rec_updateClientCard = Optional.ofNullable(clientCardSv.UpdateClientCard(seClientCard)).orElse(0); |