| | |
| | | import com.xiaopeng.order.vo.OrderDetailVo; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.shardingsphere.transaction.annotation.ShardingSphereTransactionType; |
| | | import org.apache.shardingsphere.transaction.core.TransactionType; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | |
| | | */ |
| | | @Override |
| | | @Transactional |
| | | // @ShardingTransactionType(TransactionType.BASE) |
| | | @ShardingSphereTransactionType(TransactionType.BASE) |
| | | public void popOrder(PopOrderDto dto) { |
| | | String orderType = dto.getOrderType(); |
| | | Long orderId = dto.getOrderId(); |