| | |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 指定时间段内挂失总数量(物理卡) |
| | | * |
| | | * @param qo |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getLossCountIcCards") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoICCard>>> getLossCountIcCards(CommonQO qo) { |
| | | try { |
| | | QueryResultVo<List<VoICCard>> res = icCardSv.getLossCountIcCards(qo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | }catch (Exception e){ |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 指定时间段内充值总数量(物理卡) |
| | | * |
| | | * @param qo |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getRechargeCountIcCards") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoICCard>>> getRechargeCountIcCards(CommonQO qo) { |
| | | try { |
| | | QueryResultVo<List<VoICCard>> res = icCardSv.getRechargeCountIcCards(qo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | }catch (Exception e){ |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 当前余额总量(物理卡) |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/getTotalMoneyIcCards") |
| | | @SsoAop() |
| | | public BaseResponse<Double> getTotalMoneyIcCards() { |
| | | try { |
| | | Double res = icCardSv.getTotalMoneyIcCards(); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | }catch (Exception e){ |
| | | log.error("获取记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()); |
| | | } |
| | | } |
| | | } |