Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
63048d8c
Commit
63048d8c
authored
Oct 27, 2020
by
weiyouchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: fix mybatis param import error; fix integer object compare use == error
parent
e8a18fc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/SysUserDepartMapper.java
+1
-1
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java
+1
-1
No files found.
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/SysUserDepartMapper.java
View file @
63048d8c
...
...
@@ -2,11 +2,11 @@ package org.jeecg.modules.system.mapper;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.jeecg.modules.system.entity.SysUserDepart
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
io.lettuce.core.dynamic.annotation.Param
;
public
interface
SysUserDepartMapper
extends
BaseMapper
<
SysUserDepart
>{
...
...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java
View file @
63048d8c
...
...
@@ -363,7 +363,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
}
//情况2:根据用户信息查询,该用户已注销
//update-begin---author:王帅 Date:20200601 for:if条件永远为falsebug------------
if
(
CommonConstant
.
DEL_FLAG_1
==
sysUser
.
getDelFlag
(
))
{
if
(
CommonConstant
.
DEL_FLAG_1
.
equals
(
sysUser
.
getDelFlag
()
))
{
//update-end---author:王帅 Date:20200601 for:if条件永远为falsebug------------
baseCommonService
.
addLog
(
"用户登录失败,用户名:"
+
sysUser
.
getUsername
()
+
"已注销!"
,
CommonConstant
.
LOG_TYPE_1
,
null
);
result
.
error500
(
"该用户已注销"
);
...
...
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