소스 검색

分销获取业务员机构

Qchen 3 달 전
부모
커밋
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) {
         if (sysDistributionSetting != null) {
             // 判断业务员所属机构是否被排除
             // 判断业务员所属机构是否被排除
             // 1.获取业务员所属机构
             // 1.获取业务员所属机构
-            String deptId = baseController.getUserDeptId();
+            String deptId = sysUserJzgInfoResult.getData().getDeptId();
             HttpResult<SysDeptVo> sysDept = orgClient.deptGet(deptId);
             HttpResult<SysDeptVo> sysDept = orgClient.deptGet(deptId);
             if (sysDept.getData() != null && sysDept.getData().getIsDistribution().equals("1")) {
             if (sysDept.getData() != null && sysDept.getData().getIsDistribution().equals("1")) {
                 // 获取租户分销设置为几级分销
                 // 获取租户分销设置为几级分销