2024-02-14 12:10:15 +08:00
|
|
|
package com.ai.da.service;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.ai.da.common.enums.OrderStatusEnum;
|
2024-02-20 10:35:50 +08:00
|
|
|
import com.ai.da.mapper.primary.entity.OrderInfo;
|
2024-02-14 12:10:15 +08:00
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public interface OrderInfoService extends IService<OrderInfo> {
|
|
|
|
|
|
|
|
|
|
OrderInfo createOrderByProductId(Long productId, String paymentType);
|
|
|
|
|
|
|
|
|
|
void saveCodeUrl(String orderNo, String codeUrl);
|
|
|
|
|
|
|
|
|
|
List<OrderInfo> listOrderByCreateTimeDesc();
|
|
|
|
|
|
|
|
|
|
void updateStatusByOrderNo(String orderNo, OrderStatusEnum orderStatus);
|
|
|
|
|
|
|
|
|
|
String getOrderStatus(String orderNo);
|
|
|
|
|
|
|
|
|
|
List<OrderInfo> getNoPayOrderByDuration(int minutes, String paymentType);
|
|
|
|
|
|
|
|
|
|
OrderInfo getOrderByOrderNo(String orderNo);
|
|
|
|
|
}
|