-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seata2.0如何使用@BusinessActionContextParameter传入对象实体并使用BusinessActionContext进行获取? #6454
Comments
Is the annotation mentioned above on the interface class or the implementation class? |
在接口上标注的
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年4月6日(星期六) 下午4:48
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [apache/incubator-seata] ***@***.***传入对象实体并使用BusinessActionContext进行获取? (Issue #6454)
上面提到的注释是在接口类上还是在实现类上?
-
直接回复这封邮件,在GitHub上查看,或取消订阅.
您收到此消息是因为您创建了线程。消息ID:<阿帕奇/英库巴·赛塔/问题/ 6454 / ***@***.***和>
|
This was referenced Apr 8, 2024
Please use it in the implementation class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@TwoPhaseBusinessAction(name = "decrease", commitMethod = "confirm", rollbackMethod = "cancel",useTCCFence = false)
String decrease( @BusinessActionContextParameter("inventoryDTO") InventoryDTO inventoryDTO);
InventoryDTO inventoryDTO = (InventoryDTO) ctx.getActionContext("inventoryDTO");
这样子获取到为空
The text was updated successfully, but these errors were encountered: