|
@@ -31,14 +31,15 @@ public class QuoteVerificationAspect {
|
|
|
String agreementId = ((BaseQuoteVo<?>) arg).getAgreementId();
|
|
String agreementId = ((BaseQuoteVo<?>) arg).getAgreementId();
|
|
|
String deptId = ((BaseQuoteVo<?>) arg).getDeptId();
|
|
String deptId = ((BaseQuoteVo<?>) arg).getDeptId();
|
|
|
|
|
|
|
|
- if (Arrays.asList(SystemConstant.getSysRoleTeamLeader()).contains(deptId)) { //团队长可查询下面所有人员订单
|
|
|
|
|
- break;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
// 判断协议是否可以报价(代客录单时,机构需要传过来 没传为空时,为车险录单进来的 直接取登录用户机构即可)
|
|
// 判断协议是否可以报价(代客录单时,机构需要传过来 没传为空时,为车险录单进来的 直接取登录用户机构即可)
|
|
|
if (StringUtils.isEmpty(deptId)) {
|
|
if (StringUtils.isEmpty(deptId)) {
|
|
|
deptId = new BaseController().getDeptId();
|
|
deptId = new BaseController().getDeptId();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ if (Arrays.asList(SystemConstant.getSysRoleTeamLeader()).contains(deptId)) { //团队长可查询下面所有人员订单
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
ptlAgreementDeptService.agreementIsAuthorized(deptId, agreementId);
|
|
ptlAgreementDeptService.agreementIsAuthorized(deptId, agreementId);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|