Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EL-ADMIN
Project
Project
Details
Activity
Releases
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
JiangSN
EL-ADMIN
Commits
d241eed1
Commit
d241eed1
authored
Oct 13, 2021
by
井熙铎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复hibernate与baomidou冲突
parent
f40c2dc7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
IndexMapper.java
.../src/main/java/me/zhengjie/MybatisMapper/IndexMapper.java
+11
-11
IndexServiceImpl.java
...c/main/java/me/zhengjie/serviceimpl/IndexServiceImpl.java
+1
-1
IndexMapper.xml
...ladmin-business/src/main/resources/mapper/IndexMapper.xml
+1
-1
AppRun.java
eladmin/eladmin-system/src/main/java/me/zhengjie/AppRun.java
+1
-1
No files found.
eladmin/eladmin-business/src/main/java/me/zhengjie/
m
apper/IndexMapper.java
→
eladmin/eladmin-business/src/main/java/me/zhengjie/
MybatisM
apper/IndexMapper.java
View file @
d241eed1
package
me
.
zhengjie
.
mapper
;
package
me
.
zhengjie
.
MybatisMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
...
...
eladmin/eladmin-business/src/main/java/me/zhengjie/serviceimpl/IndexServiceImpl.java
View file @
d241eed1
package
me
.
zhengjie
.
serviceimpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
me.zhengjie.
m
apper.IndexMapper
;
import
me.zhengjie.
MybatisM
apper.IndexMapper
;
import
me.zhengjie.service.IndexService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
eladmin/eladmin-business/src/main/resources/mapper/IndexMapper.xml
View file @
d241eed1
<?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">
<mapper
namespace=
"me.zhengjie.
m
apper.IndexMapper"
>
<mapper
namespace=
"me.zhengjie.
MybatisM
apper.IndexMapper"
>
<!-- 领导-贷款逾期-->
<select
id=
"selectDemo"
resultType=
"java.util.Map"
>
...
...
eladmin/eladmin-system/src/main/java/me/zhengjie/AppRun.java
View file @
d241eed1
...
...
@@ -45,7 +45,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@EnableTransactionManagement
@EnableJpaAuditing
(
auditorAwareRef
=
"auditorAware"
)
@ComponentScan
(
basePackages
={
"me.zhengjie.*"
})
@MapperScan
(
basePackages
=
"me.zhengjie.
m
apper"
)
@MapperScan
(
basePackages
=
"me.zhengjie.
MybatisM
apper"
)
public
class
AppRun
{
public
static
void
main
(
String
[]
args
)
{
...
...
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