From 6a4e0e6f55aecf61db73645cf1ac1235359db9c2 Mon Sep 17 00:00:00 2001 From: Wonder Date: Sat, 18 Oct 2025 15:13:06 +0800 Subject: [PATCH] =?UTF-8?q?=20=F0=9F=94=84Update:=20=E6=B7=BB=E5=8A=A0=20@?= =?UTF-8?q?MapperScan=20=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/hezhaohui/thumb/Application.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/cn/hezhaohui/thumb/Application.java b/src/main/java/cn/hezhaohui/thumb/Application.java index b3182fc..6e0f49a 100644 --- a/src/main/java/cn/hezhaohui/thumb/Application.java +++ b/src/main/java/cn/hezhaohui/thumb/Application.java @@ -1,8 +1,10 @@ package cn.hezhaohui.thumb; +import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +@MapperScan("cn.hezhaohui.thumb.mapper") @SpringBootApplication public class Application { public static void main(String[] args) {