##导入宏定义
$!define
##设置表后缀(宏定义)
#setTableSuffix(“Mapper”)
##保存文件(宏定义)
#save("/mapper", “Mapper.java”)
##包路径(宏定义)
#setPackageSuffix(“mapper”)
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
!
t
a
b
l
e
I
n
f
o
.
s
a
v
e
P
a
c
k
a
g
e
N
a
m
e
.
e
n
t
i
t
y
.
!{tableInfo.savePackageName}.entity.
!tableInfo.savePackageName.entity.!tableInfo.name;
##表注释(宏定义)
#tableComment(“表数据库访问层”)
public interface
!
t
a
b
l
e
N
a
m
e
e
x
t
e
n
d
s
B
a
s
e
M
a
p
p
e
r
<
!{tableName} extends BaseMapper<
!tableNameextendsBaseMapper<!tableInfo.name> {
}
##导入宏定义
$!define
##设置表后缀(宏定义)
#setTableSuffix(“Mapper”)
##保存文件(宏定义)
#save("/mapper", “Mapper.java”)
##包路径(宏定义)
#setPackageSuffix(“mapper”)
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
!
t
a
b
l
e
I
n
f
o
.
s
a
v
e
P
a
c
k
a
g
e
N
a
m
e
.
e
n
t
i
t
y
.
!{tableInfo.savePackageName}.entity.
!tableInfo.savePackageName.entity.!tableInfo.name;
##表注释(宏定义)
#tableComment(“表数据库访问层”)
public interface
!
t
a
b
l
e
N
a
m
e
e
x
t
e
n
d
s
B
a
s
e
M
a
p
p
e
r
<
!{tableName} extends BaseMapper<
!tableNameextendsBaseMapper<!tableInfo.name> {
}
##导入宏定义
$!define
##设置表后缀(宏定义)
#setTableSuffix(“Mapper”)
##保存文件(宏定义)
#save("/mapper", “Mapper.java”)
##包路径(宏定义)
#setPackageSuffix(“mapper”)
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import
!
t
a
b
l
e
I
n
f
o
.
s
a
v
e
P
a
c
k
a
g
e
N
a
m
e
.
e
n
t
i
t
y
.
!{tableInfo.savePackageName}.entity.
!tableInfo.savePackageName.entity.!tableInfo.name;
##表注释(宏定义)
#tableComment(“表数据库访问层”)
public interface
!
t
a
b
l
e
N
a
m
e
e
x
t
e
n
d
s
B
a
s
e
M
a
p
p
e
r
<
!{tableName} extends BaseMapper<
!tableNameextendsBaseMapper<!tableInfo.name> {
}