package com.example.demo.service.coin; import com.example.demo.domain.entity.Rate; import com.example.demo.domain.vo.coin.RateDetail; import com.example.demo.domain.vo.coin.Result; import com.github.pagehelper.PageInfo; import java.util.List; public interface RateService { PageInfo selectAll(Integer pageNum, Integer pageSize); Rate selectById(Integer id); void add(Rate rate); Result update(Rate rate); //获取货币列表 List listRateName(); }