package com.linghu.service;
|
|
import com.linghu.model.entity.Orders;
|
import com.linghu.model.dto.KeywordDto;
|
import com.linghu.model.dto.OrderDto;
|
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
/**
|
* @author xy
|
* @description 针对表【order】的数据库操作Service
|
* @createDate 2025-07-04 20:17:33
|
*/
|
public interface OrderService extends IService<Orders> {
|
boolean updateOrderWithKeywords(OrderDto orderDto, Integer currentStatus);
|
|
/**
|
* 保存订单及其关键词
|
*
|
* @param orderDto 订单数据传输对象
|
* @return 是否保存成功
|
*/
|
boolean saveOrderWithKeywords(OrderDto orderDto, String order_id);
|
|
List<KeywordDto> getKeywordListByOrderId(String order_id);
|
}
|