forked from luyan/epmet-cloud-lingshan
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
/**
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.epmet.service;
|
|
|
|
import com.epmet.dto.SysParamsDTO;
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
|
import com.epmet.commons.tools.page.PageData;
|
|
import com.epmet.entity.SysParamsEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 参数管理
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
* @since 1.0.0
|
|
*/
|
|
public interface SysParamsService extends BaseService<SysParamsEntity> {
|
|
|
|
PageData<SysParamsDTO> page(Map<String, Object> params);
|
|
|
|
List<SysParamsDTO> list(Map<String, Object> params);
|
|
|
|
SysParamsDTO get(Long id);
|
|
|
|
void save(SysParamsDTO dto);
|
|
|
|
void update(SysParamsDTO dto);
|
|
|
|
void delete(Long[] ids);
|
|
|
|
/**
|
|
* 根据参数编码,获取参数的value值
|
|
*
|
|
* @param paramCode 参数编码
|
|
*/
|
|
String getValue(String paramCode);
|
|
|
|
/**
|
|
* 根据参数编码,更新value
|
|
* @param paramCode 参数编码
|
|
* @param paramValue 参数值
|
|
*/
|
|
int updateValueByCode(String paramCode, String paramValue);
|
|
}
|
|
|