master
fst1996 2023-11-24 21:25:51 +08:00
parent ddba2df8b1
commit 82a3e58710
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,6 @@ import org.apache.ibatis.annotations.Mapper;
* @Version 1.0 * @Version 1.0
* @Description TODO * @Description TODO
**/ **/
@Mapper
public interface FenceMapper extends BaseMapper<Fence> { public interface FenceMapper extends BaseMapper<Fence> {
} }

View File

@ -1,6 +1,7 @@
package com.god.base.server.util; package com.god.base.server.util;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
@ -9,6 +10,7 @@ import org.springframework.context.annotation.Configuration;
* @author * @author
*/ */
@Configuration @Configuration
@MapperScan("com.god.base.server.mapper")
public class MyBatisPlusPageHelperConfig { public class MyBatisPlusPageHelperConfig {