|
|
@ -57,7 +57,7 @@ public class LarkTaskCallbackOperate extends LarkAbstract {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
LarkCompanyRelation companyRelation = larkCompanyRelationService.getByAppIdAndType(event.getAppId(), AppType.MULTIDIMENSIONAL_TABLE.getCode());
|
|
|
|
LarkCompanyRelation companyRelation = larkCompanyRelationService.getByAppIdAndType(event.getAppId(), AppType.MULTIDIMENSIONAL_TABLE.getCode());
|
|
|
|
if (companyRelation == null){
|
|
|
|
if (companyRelation == null){
|
|
|
|
throw new RuntimeException(String.format("eventId:{} appId:{} appType:{} 不存在对应的lark_company配置",event.getId(),event.getAppId(),AppType.MULTIDIMENSIONAL_TABLE.getCode()));
|
|
|
|
throw new RuntimeException(String.format("eventId:{%s} appId:{%s} appType:{%s} 不存在对应的lark_company配置",event.getId(),event.getAppId(),AppType.MULTIDIMENSIONAL_TABLE.getCode()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
request.setAppId(companyRelation.getAppId());
|
|
|
|
request.setAppId(companyRelation.getAppId());
|
|
|
|
request.setAppSecret(companyRelation.getSecret());
|
|
|
|
request.setAppSecret(companyRelation.getSecret());
|
|
|
|