【银企平台】银企平台框架代码流程走读(付款)
//WEB Service 入口
com.kingdee.bos.ebgateway.framework.EbgServiceInvoker.invoke(Object, Method, Object[])
//通过请求参数去找对应接口
com.kingdee.bos.ebgateway.framework.EBServiceBizMethod.invoke(Method, EBRequest)
//通过注解找到对应接口的实例
serviceMethod = EBServiceReflect.getMethodImpl(method);
rsp = serviceMethod.executeClientRequest(rqst, rsp, context, mbtsInvokeLogger);
//业务请求实现调用(//executeClientRequest方法直接指定到了Method方法上,PayMethod中是通过异步线程进行后续操作,DetailMethod和BalanceMethod是直接查询到结果)
com.kingdee.bos.ebgateway.framework.EBServiceMethod.executeClientRequest(EBRequest, EBResponse, IRequestContext, MBTSInvokeLogger)
//例如:PayMethod的实现
com.kingdee.bos.ebgateway.framework.method.PayMethod.executeClientRequest(EBRequest, EBResponse, IRequestContext, MBTSInvokeLogger)
//校验并装载付款请求参数
InfoConvertUtils.convertPayRequest((PayRequest)rqst,logger)
com.kingdee.bos.ebgateway.framework.method.PayMethod.insertPaySelective(IRequestContext, PaymentInfo[], MBTSInvokeLogger)
//装载付款路由
appendDataService.appendData(paymentInfo, logger);
//直接返回响应
PayResponse payResponse = InfoConvertUtils.convertPaymentInfo2PayResponse(paymentInfos4return,(PayResponse) rsp);
//唤醒付款线程,异步提交付款到银行
wakeUpAllThePay(context.getBankVersionId(), implClassNameSet);
【银企平台】银企平台框架代码流程走读(付款)
本文2024-09-16 22:22:50发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-47758.html