2022-11-16 23:50:12 +08:00
|
|
|
package net.maku.system.dao;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
2023-01-20 13:47:45 +08:00
|
|
|
import net.maku.framework.mybatis.dao.BaseDao;
|
2022-11-16 23:50:12 +08:00
|
|
|
import net.maku.system.entity.SysParamsEntity;
|
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 参数管理
|
|
|
|
|
*
|
|
|
|
|
* @author 阿沐 babamu@126.com
|
|
|
|
|
*/
|
|
|
|
|
@Mapper
|
|
|
|
|
public interface SysParamsDao extends BaseDao<SysParamsEntity> {
|
|
|
|
|
|
|
|
|
|
default boolean isExist(String paramKey) {
|
|
|
|
|
return this.exists(new QueryWrapper<SysParamsEntity>().eq("param_key" , paramKey));
|
|
|
|
|
}
|
|
|
|
|
}
|