From 2c0e5069ad7ec2fb43dc8eb1bb248b8c16595dc3 Mon Sep 17 00:00:00 2001 From: xin <1099200748@qq.com> Date: Tue, 15 Jul 2025 14:53:30 +0800 Subject: [PATCH] 更新订单状态 --- oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java b/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java index d4a1f7f..1c4b0cb 100644 --- a/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java +++ b/oying-system/src/main/java/com/oying/modules/sh/service/impl/OrderServiceImpl.java @@ -12,6 +12,7 @@ import com.oying.modules.sh.domain.*; import com.oying.modules.sh.domain.request.GeneratorOrder; import com.oying.modules.sh.domain.request.ProductOrder; +import com.oying.modules.sh.domain.request.StatusOrder; import com.oying.modules.sh.domain.request.SubmitOrder; import com.oying.modules.sh.domain.vo.OrderInfo; import com.oying.modules.sh.domain.vo.OrderResponse; @@ -237,6 +238,12 @@ @Override @Transactional(rollbackFor = Exception.class) + public void statusOrder(StatusOrder statusOrder) { + operationLog(getByOrderNum(statusOrder.getOrderNum()), statusOrder.getStatus()); + } + + @Override + @Transactional(rollbackFor = Exception.class) public OrderResponse getByOrderNum(String orderNum) { return new OrderResponse(orderMapper.getByOrderNum(orderNum), addressSnapshotService.queryByOrderNum(orderNum), -- Gitblit v1.9.3