lyhzzz 1 سال پیش
والد
کامیت
48f17119e7
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      src/main/java/com/fdkankan/ucenter/service/impl/AppSceneService.java

+ 5 - 4
src/main/java/com/fdkankan/ucenter/service/impl/AppSceneService.java

@@ -96,10 +96,7 @@ public class AppSceneService {
                 throw new BusinessException(LoginConstant.FAILURE_CODE_3015, LoginConstant.FAILURE_MSG_3015);
             }
 
-            cooperationNumList  = tmContractorNumService.getNumListByCompanyId(user.getCompanyId());
-            if(cooperationNumList.size() >0){
-                param.setCooperationNumList(cooperationNumList );
-            }
+
              roleIds = userRoleService.getByUser(user);
 //            if(!roleIds.contains(5L) && !roleIds.contains(6L)){
 //                param.setUserId(user.getId());
@@ -108,6 +105,10 @@ public class AppSceneService {
                 param.setCompanyId(user.getCompanyId());
                 param.setUserId(user.getId());
                 param.setPayStatus(1);
+                cooperationNumList  = tmContractorNumService.getNumListByCompanyId(user.getCompanyId());
+                if(cooperationNumList.size() >0){
+                    param.setCooperationNumList(cooperationNumList );
+                }
             }
         }
         log.info("sqlparam:{}",param);