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.
dsl3/mapper/WebsiteConfigMapper.java

13 lines
606 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.aurora.mapper;
// 导入WebsiteConfig实体类该类与数据库中的网站配置表相对应
// 实体类中的字段如站点名称、Logo路径、备案号等与数据库表字段一一映射
import com.aurora.entity.WebsiteConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
@Repository
public interface WebsiteConfigMapper extends BaseMapper<WebsiteConfig> {
// 接口体为空,不定义任何自定义方法
// 因为继承BaseMapper<WebsiteConfig>已经提供了数十个基础的数据库操作方法
}