合并代码

This commit is contained in:
owen 2023-10-09 23:40:11 +08:00
parent 74a5e40d8d
commit 91d0bbf8b1

View File

@ -49,13 +49,4 @@ public class TradeOrderApiImpl implements TradeOrderApi {
tradeOrderUpdateService.cancelPaidOrder(userId, orderId);
}
@Override
public Integer getOrderStatus(Long id) {
TradeOrderDO order = tradeOrderQueryService.getOrder(id);
if (order == null) {
throw exception(ORDER_NOT_FOUND);
}
return order.getStatus();
}
}