Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
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
online-edu
online-edu-backend
Commits
ceed4e71
Commit
ceed4e71
authored
Apr 27, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
443025f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
application.yml
src/main/resources/application.yml
+1
-1
V1.0.0__init.sql
src/main/resources/db/migration/V1.0.0__init.sql
+1
-1
SysUserMapper.xml
src/main/resources/mappers/sys/SysUserMapper.xml
+1
-1
No files found.
src/main/resources/application.yml
View file @
ceed4e71
...
@@ -65,7 +65,7 @@ spring:
...
@@ -65,7 +65,7 @@ spring:
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath:/mappers/**/*Mapper.xml
mapper-locations
:
classpath:/mappers/**/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage
:
com.qkdata.biz.sys.entity
#
typeAliasesPackage: com.qkdata.biz.sys.entity
typeEnumsPackage
:
com.qkdata.biz.enums
typeEnumsPackage
:
com.qkdata.biz.enums
configuration
:
configuration
:
map-underscore-to-camel-case
:
true
map-underscore-to-camel-case
:
true
...
...
src/main/resources/db/migration/V1.0.0__init.sql
View file @
ceed4e71
...
@@ -374,7 +374,7 @@ CREATE TABLE `sys_user` (
...
@@ -374,7 +374,7 @@ CREATE TABLE `sys_user` (
`last_login_time`
datetime
DEFAULT
NULL
COMMENT
'最后登录时间'
,
`last_login_time`
datetime
DEFAULT
NULL
COMMENT
'最后登录时间'
,
`activate_time`
datetime
DEFAULT
NULL
COMMENT
'激活时间'
,
`activate_time`
datetime
DEFAULT
NULL
COMMENT
'激活时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'修改时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'修改时间'
,
`is_del`
tinyint
(
1
)
DEFAULT
NULL
COMMENT
'删除标识'
,
`is_del`
tinyint
(
1
)
DEFAULT
0
COMMENT
'删除标识'
,
PRIMARY
KEY
(
`id`
)
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'用户表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'用户表'
;
...
...
src/main/resources/mappers/sys/SysUserMapper.xml
View file @
ceed4e71
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<select
id=
"queryPageList"
resultType=
"com.qkdata.biz.sys.vo.SysUserModel"
>
<select
id=
"queryPageList"
resultType=
"com.qkdata.biz.sys.vo.SysUserModel"
>
select id,username,status
select id,username,status
from sys_user
from sys_user
where
1=1
where
is_del=0
<if
test=
"p.username != null and p.username != ''"
>
<if
test=
"p.username != null and p.username != ''"
>
and username like concat('%',#{p.username},'%')
and username like concat('%',#{p.username},'%')
</if>
</if>
...
...
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