package com.dsh.account.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.dsh.account.entity.CoachType; import com.dsh.account.entity.RechargeRecords; import com.dsh.account.entity.VipPayment; import com.dsh.account.model.IncomeQuery; import com.dsh.account.model.query.RechargeRecordsQuery; import com.dsh.account.model.query.coachQuery.CoachQuery; import com.dsh.account.model.vo.CoachSerchVO; import com.dsh.account.model.vo.RechargeRecordsVO; import com.dsh.account.service.CoachService; import com.dsh.account.service.CoachTypeService; import com.dsh.account.service.IVipPaymentService; import com.dsh.account.service.RechargeRecordsService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; /** * 充值记录控制器 */ @RestController @RequestMapping("") public class FinanceController { @Autowired private RechargeRecordsService rechargeRecordsService; @Autowired private IVipPaymentService vipPaymentService; /** * 充值记录列表数据 */ @ResponseBody @RequestMapping("/finance/rechargeList") public List rechargeList(@RequestBody RechargeRecordsQuery query){ return rechargeRecordsService.rechargeList(query); } /** * 加入会员列表数据 */ @ResponseBody @RequestMapping("/finance/vipPaymentList") public List registrationList(@RequestBody IncomeQuery query){ return rechargeRecordsService.listAll(query); } }