Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡园园
yanxuan-qc-change-system
Commits
3ae66198
Commit
3ae66198
authored
Nov 15, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug: mapper扫描
parent
f8c359e8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Application.java
...com/netease/mail/yanxuan/change/assembly/Application.java
+3
-0
ChangeConfigMapper.xml
.../src/main/resources/mybatis/mapper/ChangeConfigMapper.xml
+1
-2
No files found.
yanxuan-qc-change-system-assembly/src/main/java/com/netease/mail/yanxuan/change/assembly/Application.java
View file @
3ae66198
...
@@ -7,10 +7,13 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
...
@@ -7,10 +7,13 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
;
import
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.ComponentScan
;
import
tk.mybatis.spring.annotation.MapperScan
;
/**
/**
* 项目启动类
* 项目启动类
*/
*/
@ComponentScan
(
basePackages
=
"com.netease.mail.yanxuan.change"
)
@ComponentScan
(
basePackages
=
"com.netease.mail.yanxuan.change"
)
@MapperScan
(
"com.netease.mail.yanxuan.change.dal.mapper"
)
@EnableApolloConfig
@EnableApolloConfig
@EnableMissaClients
(
basePackages
=
"com.netease.mail.yanxuan.change"
)
@EnableMissaClients
(
basePackages
=
"com.netease.mail.yanxuan.change"
)
@SpringBootApplication
@SpringBootApplication
...
...
yanxuan-qc-change-system-dal/src/main/resources/mybatis/mapper/ChangeConfigMapper.xml
View file @
3ae66198
<!--
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.netease.mail.yanxuan.change.dal.mapper.ChangeConfigMapper"
>
<mapper
namespace=
"com.netease.mail.yanxuan.change.dal.mapper.ChangeConfigMapper"
>
...
@@ -156,4 +155,4 @@
...
@@ -156,4 +155,4 @@
update_time = #{updateTime,jdbcType=BIGINT}
update_time = #{updateTime,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
</mapper>
-->
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment