Browse Source

分销获取业务员机构

Qchen 2 months ago
parent
commit
46e17ed1a2

+ 1 - 1
tenant/insurance/quotation-summary/src/main/java/com/jzg/quotation/summary/aop/aspect/QuoteVerificationAspect.java

@@ -622,7 +622,7 @@ public class QuoteVerificationAspect {
         if (sysDistributionSetting != null) {
             // 判断业务员所属机构是否被排除
             // 1.获取业务员所属机构
-            String deptId = baseController.getUserDeptId();
+            String deptId = sysUserJzgInfoResult.getData().getDeptId();
             HttpResult<SysDeptVo> sysDept = orgClient.deptGet(deptId);
             if (sysDept.getData() != null && sysDept.getData().getIsDistribution().equals("1")) {
                 // 获取租户分销设置为几级分销