| | |
| | | import com.dy.pipIrrGlobal.pojoSe.SeClientCard; |
| | | import com.dy.pipIrrGlobal.pojoSe.SeManagerCard; |
| | | import com.dy.pipIrrGlobal.util.AmountToChinese; |
| | | import com.dy.pipIrrGlobal.voRm.VoExpend; |
| | | import com.dy.pipIrrGlobal.voSe.*; |
| | | import com.dy.pipIrrSell.cardOperate.dto.*; |
| | | import com.dy.pipIrrSell.cardOperate.enums.OperateTypeENUM; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取返还记录,管理平台充值列表使用 |
| | | * @param vo |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/refunds") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoRefund>>> getRefunds(QoRecharge vo){ |
| | | try { |
| | | QueryResultVo<List<VoRefund>> res = cardOperateSv.getRefunds(vo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("获取返还记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取水卡消费记录,管理平台使用 |
| | | * @param vo |
| | | * @return |
| | | */ |
| | | @GetMapping(path = "/expends") |
| | | @SsoAop() |
| | | public BaseResponse<QueryResultVo<List<VoExpend>>> getExpends(QoRecharge vo){ |
| | | try { |
| | | QueryResultVo<List<VoExpend>> res = cardOperateSv.getExpends(vo); |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("获取消费记录异常", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 根据指定条件获取交易明细 |
| | | * @param vo |
| | | * @return |