| | |
| | | |
| | | import java.lang.Long; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import lombok.Builder; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.taoke.autopay.entity.credit.ExchangeRate; |
| | | import org.yeshi.utils.mybatis.BaseMapper; |
| | | import java.util.List; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | @Repository |
| | | public interface ExchangeRateMapper extends BaseMapper<ExchangeRate> { |
| | | |
| | | ExchangeRate selectByPrimaryKeyForUpdate(@Param("id") Long id); |
| | |
| | | |
| | | long count(@Param("query") DaoQuery query); |
| | | |
| | | @Builder |
| | | public static class DaoQuery { |
| | | public Long id; |
| | | public ExchangeRate.ExchangeType exchangeType; |
| | | public ExchangeRate.ExchangeRateType exchangeType; |
| | | public Double rate; |
| | | public Date minStartTime; |
| | | public Date maxStartTime; |