修改登录验证
This commit is contained in:
parent
69385d2a99
commit
a98998260a
@ -265,10 +265,13 @@ public class ExpertController {
|
|||||||
ExpertEntity expertVO = expertService.addExpert(expert);
|
ExpertEntity expertVO = expertService.addExpert(expert);
|
||||||
ExpertLoginVO expertLoginVO = SmartBeanUtil.copy(expertVO, ExpertLoginVO.class);
|
ExpertLoginVO expertLoginVO = SmartBeanUtil.copy(expertVO, ExpertLoginVO.class);
|
||||||
return ResponseDTO.app_ok(expertLoginVO);
|
return ResponseDTO.app_ok(expertLoginVO);
|
||||||
}else{
|
|
||||||
responseDTO.setMsg("账号未注册,请您注册后登陆");
|
|
||||||
return responseDTO;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (responseDTO.getMsg() == null){
|
||||||
|
responseDTO.setMsg("登录失败");
|
||||||
|
}
|
||||||
|
|
||||||
|
return responseDTO;
|
||||||
}
|
}
|
||||||
|
|
||||||
@NoNeedLogin
|
@NoNeedLogin
|
||||||
@ -508,9 +511,13 @@ public class ExpertController {
|
|||||||
|
|
||||||
ExpertLoginVO expertLoginVO = SmartBeanUtil.copy(expertVO, ExpertLoginVO.class);
|
ExpertLoginVO expertLoginVO = SmartBeanUtil.copy(expertVO, ExpertLoginVO.class);
|
||||||
return ResponseDTO.app_ok(expertLoginVO);
|
return ResponseDTO.app_ok(expertLoginVO);
|
||||||
}else{
|
|
||||||
return responseDTO;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (responseDTO.getMsg() == null){
|
||||||
|
responseDTO.setMsg("登录失败");
|
||||||
|
}
|
||||||
|
|
||||||
|
return responseDTO;
|
||||||
}
|
}
|
||||||
|
|
||||||
@NoNeedLogin
|
@NoNeedLogin
|
||||||
|
|||||||
@ -242,7 +242,7 @@ public class CaseplatformCaseService {
|
|||||||
Row row = it.next();
|
Row row = it.next();
|
||||||
|
|
||||||
// 跳过第一行/二行
|
// 跳过第一行/二行
|
||||||
if (rowNum++ <= 2) continue;
|
if (rowNum++ <= 1) continue;
|
||||||
|
|
||||||
// 判断整行是否为空
|
// 判断整行是否为空
|
||||||
boolean isEmptyRow = true;
|
boolean isEmptyRow = true;
|
||||||
@ -297,6 +297,11 @@ public class CaseplatformCaseService {
|
|||||||
throw new BusinessException("处理失败: 存在非法病例 " + id);
|
throw new BusinessException("处理失败: 存在非法病例 " + id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 已经结算
|
||||||
|
if (caseplatformCase.getSettlementFlag() == 1){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// 获取专家银行卡
|
// 获取专家银行卡
|
||||||
LambdaQueryWrapper<CasePlatformBankEntity> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<CasePlatformBankEntity> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
queryWrapper.eq(CasePlatformBankEntity::getExpertId, caseplatformCase.getExpertId());
|
queryWrapper.eq(CasePlatformBankEntity::getExpertId, caseplatformCase.getExpertId());
|
||||||
|
|||||||
@ -192,9 +192,13 @@ public class WxMaUserController {
|
|||||||
ExpertEntity expertVO = expertService.addExpert(expert);
|
ExpertEntity expertVO = expertService.addExpert(expert);
|
||||||
ExpertLoginVO expertLoginVO = SmartBeanUtil.copy(expertVO, ExpertLoginVO.class);
|
ExpertLoginVO expertLoginVO = SmartBeanUtil.copy(expertVO, ExpertLoginVO.class);
|
||||||
return ResponseDTO.app_ok(expertLoginVO);
|
return ResponseDTO.app_ok(expertLoginVO);
|
||||||
}else{
|
|
||||||
return responseDTO;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (responseDTO.getMsg() == null){
|
||||||
|
responseDTO.setMsg("登录失败");
|
||||||
|
}
|
||||||
|
|
||||||
|
return responseDTO;
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return ResponseDTO.userErrorParam();
|
return ResponseDTO.userErrorParam();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user