SYYTe/maku-boot-system/src/main/java/net/maku/system/service/SysParamsService.java
2022-11-18 13:09:24 +08:00

54 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package net.maku.system.service;
import net.maku.framework.common.page.PageResult;
import net.maku.framework.common.service.BaseService;
import net.maku.system.entity.SysParamsEntity;
import net.maku.system.query.SysParamsQuery;
import net.maku.system.vo.SysParamsVO;
import java.util.List;
/**
* 参数管理
*
* @author 阿沐 babamu@126.com
*/
public interface SysParamsService extends BaseService<SysParamsEntity> {
PageResult<SysParamsVO> page(SysParamsQuery query);
void save(SysParamsVO vo);
void update(SysParamsVO vo);
void delete(List<Long> idList);
/**
* 根据paramKey获取字符串值
*
* @param paramKey 参数Key
*/
String getString(String paramKey);
/**
* 根据paramKey获取整型值
*
* @param paramKey 参数Key
*/
int getInt(String paramKey);
/**
* 根据paramKey获取布尔值
*
* @param paramKey 参数Key
*/
boolean getBoolean(String paramKey);
/**
* 根据paramKey获取对象值
*
* @param paramKey 参数Key
* @param valueType 类型
*/
<T> T getJSONObject(String paramKey, Class<T> valueType);
}