zhubaomin
2024-08-09 2bc6544b1e0fc955a05957b4fdda308b3a76a08f
pipIrr-platform/pipIrr-web/pipIrr-web-statistics/src/main/java/com/dy/pipIrrStatistics/card/IcCardCtrl.java
@@ -45,4 +45,61 @@
            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());
        }
    }
}