public CreditStationingResponse queryStationingResponse(CreditStationingRequest request) {
return runInSessionScope(req -> {
return cbuBhUniversalService.queryStationingData(req);
}, request);
}
idea告诉我有一个错误:
“com.alibaba.fin.tfp.application.credit.cbubhuniversalservice”中的“queryStationData(com.alibaba.fin.xyd.api.credit.request.CreditStationRequest)”不能应用于“(p)”
runinsessionscope的定义如下所示:
public static <P extends IBizInstance, R> R runInSessionScope(Function<P, R> function, P param) {
return runInSessionScope(function, param, ignoreTmfSessionScope);
}
1条答案
按热度按时间gorkyyrv1#
我检查了CreditStationRequest的定义,它没有从ibizinstance扩展,这导致了错误。