package com.taoke.autopay.service;
|
|
import com.taoke.autopay.dao.PayMoneySettingMapper;
|
import com.taoke.autopay.entity.PayMoneySetting;
|
import com.taoke.autopay.exception.PayMoneySettingException;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
import java.util.Set;
|
|
/**
|
* @author hxh
|
* @title: PayMoneySettingService
|
* @description: 支付金额设置
|
* @date 2024/9/15 9:52
|
*/
|
public interface PayMoneySettingService {
|
|
/**
|
* @author hxh
|
* @description 添加设置
|
* @date 9:53 2024/9/15
|
* @param: setting
|
* @return void
|
**/
|
public void addSetting(PayMoneySetting setting) throws PayMoneySettingException;
|
|
|
public PayMoneySetting selectByPrimaryKey(Long id);
|
|
public void updateSelective(PayMoneySetting setting);
|
|
public void deleteByPrimaryKey(Long id);
|
|
|
public List<PayMoneySetting> list(PayMoneySettingMapper.DaoQuery query,int page,int pageSize);
|
|
|
public long count(PayMoneySettingMapper.DaoQuery query);
|
|
|
|
/**
|
* @author hxh
|
* @description 根据金额查找
|
* @date 9:57 2024/9/15
|
* @param: money
|
* @return com.taoke.autopay.entity.PayMoneySetting
|
**/
|
public PayMoneySetting getSettingByMoney(BigDecimal money);
|
|
|
/**
|
* @author hxh
|
* @description 查询所有的资金金额s
|
* @date 10:02 2024/9/15
|
* @return java.util.List<java.lang.String>
|
**/
|
public Set<String> listAllMoneyAsStr();
|
|
|
|
}
|