| | |
| | | package com.yeshi.fanli.service.inter.user.vip;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.vip.UserVipConfig;
|
| | | import com.yeshi.fanli.exception.user.vip.UserVipConfigException;
|
| | |
|
| | |
|
| | | public interface UserVipConfigService {
|
| | |
|
| | | /**
|
| | | * 根据key值查询
|
| | | * |
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public UserVipConfig getByKey(String key);
|
| | |
|
| | | /**
|
| | | * 根据key值 获取value
|
| | | * |
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public String getValueByKey(String key);
|
| | |
|
| | | |
| | | public UserVipConfig getByKey(String key, Date date);
|
| | |
|
| | | |
| | | public String getValueByKey(String key, Date date);
|
| | |
|
| | | public void delete(List<Long> idsList);
|
| | |
|
| | | public List<UserVipConfig> query(int page, int pageSize, String key);
|
| | |
|
| | | public long count(String key);
|
| | |
|
| | | public void save(UserVipConfig record) throws UserVipConfigException;
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.user.vip; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.vip.UserVipConfig; |
| | | import com.yeshi.fanli.exception.user.vip.UserVipConfigException; |
| | | |
| | | |
| | | public interface UserVipConfigService { |
| | | |
| | | /** |
| | | * 根据key值查询 |
| | | * |
| | | * @param key |
| | | * @return |
| | | */ |
| | | public UserVipConfig getByKey(String key); |
| | | |
| | | /** |
| | | * 根据key值 获取value |
| | | * |
| | | * @param key |
| | | * @return |
| | | */ |
| | | public String getValueByKey(String key); |
| | | |
| | | |
| | | public UserVipConfig getByKey(String key, Date date); |
| | | |
| | | |
| | | public String getValueByKey(String key, Date date); |
| | | |
| | | public void delete(List<Long> idsList); |
| | | |
| | | public List<UserVipConfig> query(int page, int pageSize, String key); |
| | | |
| | | public long count(String key); |
| | | |
| | | public void save(UserVipConfig record) throws UserVipConfigException; |
| | | } |