|
- package com.iformall.service;
-
- import com.github.pagehelper.PageInfo;
- import com.iformall.domain.po.SysConfig;
- import com.iformall.domain.po.base.TenantEntity;
-
- import java.util.List;
-
- public interface SysConfigService {
-
- PageInfo<SysConfig> listAsPage(SysConfig record, Integer pageIndex, Integer pageSize,TenantEntity tenantEntity);
-
- /**
- * 根据实体查询列表
- *
- * @param record
- * @return
- */
- List<SysConfig> getList(SysConfig record,TenantEntity tenantEntity);
-
- /**
- * 根据Id获得实体
- *
- * @param id
- * @return
- */
- SysConfig getById(Long id,TenantEntity tenantEntity);
-
- SysConfig getByKey(String key,TenantEntity tenantEntity);
-
- /**
- * 保存或更新实体
- *
- * @param record
- */
- void saveConfigValue(Long id,TenantEntity tenantEntity,String value);
-
-
- }
|