Commit c12dcc1a authored by fangxinjiang's avatar fangxinjiang

商险BUG修复

parent 50bb8cfc
...@@ -144,7 +144,10 @@ public class BusinessUserController { ...@@ -144,7 +144,10 @@ public class BusinessUserController {
}else { }else {
sysUser = userService.getOne(Wrappers.<SysUser>lambdaQuery().eq(SysUser::getUsername,user.getUsername()).last(CommonConstants.LAST_ONE_SQL)); sysUser = userService.getOne(Wrappers.<SysUser>lambdaQuery().eq(SysUser::getUsername,user.getUsername()).last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(user.getPhone())){ if (Common.isNotNull(user.getPhone())){
userTemp = userService.getOne(Wrappers.<SysUser>lambdaQuery().eq(SysUser::getPhone, user.getPhone()).last(CommonConstants.LAST_ONE_SQL)); userTemp = userService.getOne(Wrappers.<SysUser>lambdaQuery()
.eq(SysUser::getPhone, user.getPhone())
.eq(SysUser::getType,CommonConstants.TWO_STRING)
.last(CommonConstants.LAST_ONE_SQL));
} }
} }
if(null != sysUser){ if(null != sysUser){
......
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