垮微服务改成全局事务进行回滚

This commit is contained in:
彭枝刚 2024-11-23 16:59:25 +08:00
parent 906fadefbc
commit 808931127d

View File

@ -52,7 +52,7 @@ public class RegisterDocumentServiceImpl implements RegisterDocumentService {
private ZmmMesChargCreate1Service zmmMesChargCreate1Service;
@Override
@Transactional
@GlobalTransactional
public InvokeResponse createDocumentAndCallErp(List<DocumentDetailed> zwDocumentDetailList) {
InvokeResponse invokeResponse = new InvokeResponse();
InvokeRequest invokeRequest = new InvokeRequest();