This commit is contained in:
yulichang 2022-12-12 18:39:23 +08:00
parent c37cb2695a
commit 8d4dbcaec8
4 changed files with 8 additions and 7 deletions

View File

@ -1,10 +1,9 @@
package com.github.yulichang.test.join.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.github.yulichang.test.join.entity.AddressDO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
@SuppressWarnings("unused")
public interface AddressMapper extends MPJBaseMapper<AddressDO> {
public interface AddressMapper extends MyBaseMapper<AddressDO> {
}

View File

@ -1,10 +1,9 @@
package com.github.yulichang.test.join.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.github.yulichang.test.join.entity.AreaDO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
@SuppressWarnings("unused")
public interface AreaMapper extends MPJBaseMapper<AreaDO> {
public interface AreaMapper extends MyBaseMapper<AreaDO> {
}

View File

@ -3,7 +3,11 @@ package com.github.yulichang.test.join.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
@SuppressWarnings("unused")
public interface MYBaseMapper<T> extends MPJBaseMapper<T> {
public interface MyBaseMapper<T> extends MPJBaseMapper<T> {
int insertBatchSomeColumn(List<T> entityList);
}

View File

@ -1,10 +1,9 @@
package com.github.yulichang.test.join.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.github.yulichang.test.join.entity.UserDO;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UserMapper extends MPJBaseMapper<UserDO> {
public interface UserMapper extends MyBaseMapper<UserDO> {
}