update:修改订单提交顺序
This commit is contained in:
parent
193cc8e9bf
commit
362f1708cc
|
@ -81,4 +81,23 @@ public interface OrdersService extends IService<OrdersDO> {
|
|||
void submitUpStreamStatus(OrdersSaveReqVO updateReqVO);
|
||||
|
||||
void changeStatus(OrdersSaveReqVO updateReqVO);
|
||||
|
||||
/**
|
||||
* 异步执行
|
||||
* @param ordersDO
|
||||
*/
|
||||
void asyncSubmitAuditOrders(OrdersDO ordersDO);
|
||||
|
||||
/**
|
||||
* 异步执行
|
||||
* @param ordersDO
|
||||
*/
|
||||
void asyncAuditOrders(OrdersDO ordersDO);
|
||||
|
||||
/**
|
||||
* 异步执行
|
||||
* @param oldOrderDo
|
||||
* @param updateObj
|
||||
*/
|
||||
void syncDouDian(OrdersDO oldOrderDo, OrdersDO updateObj);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@ import org.springframework.context.annotation.Lazy;
|
|||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Service;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.transaction.annotation.Propagation;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
|
@ -67,7 +66,7 @@ import static cn.iocoder.yudao.module.haoka.enums.ErrorCodeConstants.*;
|
|||
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, OrdersDO> implements OrdersService {
|
||||
@Lazy
|
||||
@Resource
|
||||
private OrdersServiceImpl ordersService;
|
||||
private OrdersService ordersService;
|
||||
@Resource
|
||||
private OrdersMapper ordersMapper;
|
||||
@Resource
|
||||
|
|
Loading…
Reference in New Issue