package com.ks.app.service.inter.config; import java.lang.Exception; import javax.annotation.Resource; import java.util.Date; import com.ks.app.entity.SystemEnum; import com.ks.app.entity.config.SystemConfigKey; import org.yeshi.utils.bean.BeanUtil; import java.util.List; import com.ks.app.entity.config.SystemConfig; import com.ks.app.service.inter.config.SystemConfigService; import com.ks.app.service.query.config.SystemConfigQuery; public interface SystemConfigService { /** * @author hxh * @description 获取缓存值 * @date 11:50 2021/11/16 * @param: system * @param: key * @return java.lang.String **/ public String getValueCache(SystemEnum system, SystemConfigKey key); /** * 获取列表 * @param systemConfigQuery * @param page * @param pageSize * @return */ public List list(SystemConfigQuery systemConfigQuery, int page, int pageSize) ; /** * */ public long count(SystemConfigQuery systemConfigQuery) ; /** * */ public SystemConfig get(String id) ; /** * */ public void add(SystemConfig systemConfig) throws Exception; public void save(SystemConfig config); /** * */ public void update(SystemConfig systemConfig) ; /** * */ public void delete(List idList) ; }