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.
48 lines
866 B
48 lines
866 B
package com.liuyanzhao.ssm.blog.mapper;
|
|
|
|
import com.liuyanzhao.ssm.blog.entity.Options;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
/**
|
|
* @author liuyanzhao
|
|
*/
|
|
@Mapper
|
|
public interface OptionsMapper {
|
|
|
|
/**
|
|
* 根据ID删除
|
|
* @param optionId 系统设置ID
|
|
* @return 影响行数
|
|
*/
|
|
int deleteById(Integer optionId);
|
|
|
|
/**
|
|
* 添加
|
|
* @param options 系统设置
|
|
* @return 影响行数
|
|
*/
|
|
int insert(Options options);
|
|
|
|
/**
|
|
* 根据ID查询
|
|
*
|
|
* @param optionId 系统设置ID
|
|
* @return 系统设置
|
|
*/
|
|
Options getOptionsById(Integer optionId);
|
|
|
|
/**
|
|
* 更新
|
|
*
|
|
* @param options 系统信息
|
|
* @return 影响行数
|
|
*/
|
|
int update(Options options);
|
|
|
|
/**
|
|
* 获得记录
|
|
*
|
|
* @return 系统信息
|
|
*/
|
|
Options getOptions();
|
|
} |