事务提交后执行异步方法

https://blog.csdn.net/qq_31854907/article/details/102584154
TransactionSynchronizationManager.registerSynchronization(new TransactionSynchronizationAdapter() {
public void commitData(){
asyncShopMethod.commitData(payShopData);
}
});
posted @ 2020-07-29 18:56  沟渠映明月  阅读(602)  评论(0编辑  收藏  举报