|
|
@@ -21,6 +21,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
+import org.springframework.transaction.interceptor.TransactionAspectSupport;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
@@ -106,6 +107,7 @@ public class InsOrderRightsInfoServiceImpl implements InsOrderRightsInfoService
|
|
|
}
|
|
|
}catch (Exception e) {
|
|
|
log.error("保存订单权益信息失败,订单ID: {}", insOrders.getId(), e);
|
|
|
+ TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
}
|
|
|
|
|
|
}
|