|
@@ -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);
|