[ExtensionOf(classStr(YltCustConsInvoiceConfirmThread))] 在扩展类中访问父类成员变量
在扩展类中,可以通过使用super关键字来访问父类的成员变量。所以在YltCustConsInvoiceConfirmThreadMnk_Extension中,您可以使用super关键字来获取custConsInvoice_JP成员变量,例如:
CustConsInvoice_JP custConsInvoice_JP = super.custConsInvoice_JP;
这样就可以在扩展类中获取到YltCustConsInvoiceConfirmThread父类中的custConsInvoice_JP成员变量。
AI 优化版
原文地址:https://www.cveoy.top/t/topic/qbmj 著作权归作者所有。请勿转载和采集!