admin
2024-01-23 81da61b828e29b7745e1382dfbbaeb685dc083ef
fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackConfigService.java
@@ -1,40 +1,40 @@
package com.yeshi.fanli.service.inter.redpack;
import java.util.Date;
import java.util.List;
import com.yeshi.fanli.entity.redpack.RedPackConfig;
import com.yeshi.fanli.exception.redpack.RedPackConfigException;
public interface RedPackConfigService {
   /**
    * 根据key值查询
    *
    * @param key
    * @return
    */
   public RedPackConfig getByKey(String key);
   /**
    * 根据key值 获取value
    *
    * @param key
    * @return
    */
   public String getValueByKey(String key);
   public RedPackConfig getByKey(String key, Date date);
   public String getValueByKey(String key, Date date);
   public void delete(List<Long> idsList);
   public List<RedPackConfig> query(int page, int pageSize, String key);
   public long count(String key);
   public void save(RedPackConfig record) throws RedPackConfigException;
}
package com.yeshi.fanli.service.inter.redpack;
import java.util.Date;
import java.util.List;
import com.yeshi.fanli.entity.redpack.RedPackConfig;
import com.yeshi.fanli.exception.redpack.RedPackConfigException;
public interface RedPackConfigService {
   /**
    * 根据key值查询
    *
    * @param key
    * @return
    */
   public RedPackConfig getByKey(String key);
   /**
    * 根据key值 获取value
    *
    * @param key
    * @return
    */
   public String getValueByKey(String key);
   public RedPackConfig getByKey(String key, Date date);
   public String getValueByKey(String key, Date date);
   public void delete(List<Long> idsList);
   public List<RedPackConfig> query(int page, int pageSize, String key);
   public long count(String key);
   public void save(RedPackConfig record) throws RedPackConfigException;
}