feat(mapper): 新增字典管理数据访问层
- 新增SysDictTypeMapper字典类型数据访问接口 - 新增SysDictDataMapper字典数据数据访问接口 - 新增对应的MyBatis XML映射文件 - 继承BaseMapper提供基础CRUD操作
This commit is contained in:
parent
c486af6f9f
commit
c53be83c20
@ -0,0 +1,14 @@
|
||||
package org.leocoder.thin.mybatisplus.mapper.system;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.leocoder.thin.domain.pojo.system.SysDictData;
|
||||
|
||||
/**
|
||||
* @author Leocoder
|
||||
* @description [字典数据表-数据库连接层]
|
||||
*/
|
||||
@Mapper
|
||||
public interface SysDictDataMapper extends BaseMapper<SysDictData> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package org.leocoder.thin.mybatisplus.mapper.system;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.leocoder.thin.domain.pojo.system.SysDictType;
|
||||
|
||||
/**
|
||||
* @author Leocoder
|
||||
* @description [字典类型表-数据库连接层]
|
||||
*/
|
||||
@Mapper
|
||||
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="org.leocoder.thin.mybatisplus.mapper.system.SysDictDataMapper">
|
||||
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="org.leocoder.thin.mybatisplus.mapper.system.SysDictTypeMapper">
|
||||
|
||||
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue
Block a user