|
|
@@ -196,8 +196,12 @@ public class CwjsPolicyInfoController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ //查询审核人角色
|
|
|
+ String roleCode = roleService.getRoleCodeByUserId(approvalUser);
|
|
|
+
|
|
|
//第二个审核人 = 上级
|
|
|
- if(approvalUser.equals(examineUser.getString("leaderId"))){
|
|
|
+ //if(approvalUser.equals(examineUser.getString("leaderId"))){
|
|
|
+ if(StringUtils.equals("saleDirector",roleCode)){//审核人角色为销售总监
|
|
|
if(examineUser.getString("departName").contains("渠道")){
|
|
|
cwjsPolicyInfo.setApprovedStatus(3);
|
|
|
cwjsPolicyInfoService.updateById(cwjsPolicyInfo);
|