Skip to content

Commit

Permalink
fix: mapper 默认继承 mybatis-plus 的 baseMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx authored Jul 15, 2024
1 parent 0d9da38 commit 81103ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions single/Mapper.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package ${package}.${moduleName}.mapper;

import com.pig4cloud.pigx.common.data.datascope.PigxBaseMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ${package}.${moduleName}.entity.${ClassName}Entity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ${ClassName}Mapper extends PigxBaseMapper<${ClassName}Entity> {
public interface ${ClassName}Mapper extends BaseMapper<${ClassName}Entity> {

}

0 comments on commit 81103ac

Please sign in to comment.