Commit ceed4e71 authored by liuyang's avatar liuyang

fix bug

parent 443025f2
...@@ -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
......
...@@ -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='用户表';
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment