admin
2019-03-14 eed607d87b2eee1f09b4a28da614f3ad0b46601d
fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemConfigService.java
@@ -4,21 +4,21 @@
import org.springframework.cache.annotation.CacheEvict;
import com.yeshi.fanli.entity.system.System;
import com.yeshi.fanli.entity.system.BusinessSystem;
import com.yeshi.fanli.entity.system.SystemConfig;
import com.yeshi.fanli.exception.NotExistObjectException;
public interface SystemConfigService {
   
   public int getCount(System system,String key);
   public int getCount(BusinessSystem system,String key);
   public List<SystemConfig> getSystemConfigList(int index,System system, String key);
   public List<SystemConfig> getSystemConfigList(int index,BusinessSystem system, String key);
   
   public void addSystemConfig(SystemConfig sc);
   @CacheEvict(value="childSystemCache",allEntries=true)
   public void deleteSystem(long id, System system) throws NotExistObjectException;
   public void deleteSystem(long id, BusinessSystem system) throws NotExistObjectException;
   @CacheEvict(value="childSystemCache",allEntries=true)
   public void addSystem(long id, System system)  throws NotExistObjectException;
   public void addSystem(long id, BusinessSystem system)  throws NotExistObjectException;
   public SystemConfig getSystemConfig(long id);
@@ -29,6 +29,6 @@
   
   public String get(String key) throws NotExistObjectException;
   
   public String get(String key, com.yeshi.fanli.entity.system.System system);
   public String get(String key, BusinessSystem system);
}