| | |
| | | |
| | | 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; |
| | | |
| | | /** |
| | |
| | | public class FinanceController { |
| | | @Autowired |
| | | private RechargeRecordsService rechargeRecordsService; |
| | | @Autowired |
| | | private IVipPaymentService vipPaymentService; |
| | | |
| | | |
| | | /** |
| | |
| | | @ResponseBody |
| | | @RequestMapping("/finance/rechargeList") |
| | | public List<RechargeRecordsVO> rechargeList(@RequestBody RechargeRecordsQuery query){ |
| | | List<RechargeRecordsVO> list = rechargeRecordsService.rechargeList(query); |
| | | return list; |
| | | return rechargeRecordsService.rechargeList(query); |
| | | } |
| | | /** |
| | | * 加入会员列表数据 |
| | | */ |
| | | @ResponseBody |
| | | @RequestMapping("/finance/vipPaymentList") |
| | | public List<VipPayment> registrationList(@RequestBody IncomeQuery query){ |
| | | return rechargeRecordsService.listAll(query); |
| | | } |
| | | } |