【银企平台】银企平台框架代码流程走读(付款)
//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
- 鼎捷EAI整合規範文件V3.1.07 (集團).pdf
- 鼎捷OpenAPI應用場景說明_基礎資料.pdf
- 鼎捷OpenAPI應用場景說明_財務管理.pdf
- 鼎捷T100 API設計器使用手冊T100 APIDesigner(V1.0).docx
- 鼎新e-GoB2雲端ERP B2 線上課程E6-2應付票據整批郵寄 領取.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程A4使用者建立權限設定.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程C3會計開帳與會計傳票.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程E6-1應付票據.pdf
- 鼎新e-GoB2雲端ERP B2 線上課程A5-1進銷存參數設定(初階篇).pdf
- 鼎新e-GoB2雲端ERP B2 線上課程D2帳款開帳與票據開帳.pdf