修改企业登录报错问题
This commit is contained in:
@@ -68,7 +68,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
|
||||
if("0".equals(appUser.getIsCompanyUser())){
|
||||
Company company=companyMapper.selectOne(Wrappers.<Company>lambdaQuery()
|
||||
//.eq(Company::getCode, appUser.getIdCard())
|
||||
.apply("UPPER(id_card) = {0}", StringUtil.toUpperCaseIgnoreBlank(appUser.getIdCard()))
|
||||
.apply("UPPER(code) = {0}", StringUtil.toUpperCaseIgnoreBlank(appUser.getIdCard()))
|
||||
.orderByDesc(Company::getUpdateTime).last("LIMIT 1"));
|
||||
appUser.setCompany(company);
|
||||
if(company!=null){
|
||||
|
||||
Reference in New Issue
Block a user