bugfix: fix mybatis param import error; fix integer object compare use == error

This commit is contained in:
weiyouchen 2020-10-27 15:49:27 +08:00
parent e8a18fc642
commit 63048d8c64
2 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@ package org.jeecg.modules.system.mapper;
import java.util.List; import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.SysUserDepart; import org.jeecg.modules.system.entity.SysUserDepart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
public interface SysUserDepartMapper extends BaseMapper<SysUserDepart>{ public interface SysUserDepartMapper extends BaseMapper<SysUserDepart>{

View File

@ -363,7 +363,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
} }
//情况2根据用户信息查询该用户已注销 //情况2根据用户信息查询该用户已注销
//update-begin---author:王帅 Date:20200601 forif条件永远为falsebug------------ //update-begin---author:王帅 Date:20200601 forif条件永远为falsebug------------
if (CommonConstant.DEL_FLAG_1==sysUser.getDelFlag()) { if (CommonConstant.DEL_FLAG_1.equals(sysUser.getDelFlag())) {
//update-end---author:王帅 Date:20200601 forif条件永远为falsebug------------ //update-end---author:王帅 Date:20200601 forif条件永远为falsebug------------
baseCommonService.addLog("用户登录失败,用户名:" + sysUser.getUsername() + "已注销!", CommonConstant.LOG_TYPE_1, null); baseCommonService.addLog("用户登录失败,用户名:" + sysUser.getUsername() + "已注销!", CommonConstant.LOG_TYPE_1, null);
result.error500("该用户已注销"); result.error500("该用户已注销");