| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.sales.dto.SalesQuotationDto; |
| | | import com.ruoyi.sales.dto.SalesQuotationImportDto; |
| | | import com.ruoyi.sales.pojo.SalesQuotation; |
| | | import com.ruoyi.sales.pojo.SalesQuotationPriceHistory; |
| | | import com.ruoyi.sales.pojo.SalesQuotationImportLog; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | public interface SalesQuotationService extends IService<SalesQuotation> { |
| | | IPage listPage(Page page, SalesQuotationDto salesQuotationDto); |
| | |
| | | boolean delete(Long id); |
| | | |
| | | boolean edit(SalesQuotationDto salesQuotationDto); |
| | | |
| | | /** |
| | | * 下载报价模板 |
| | | */ |
| | | void downloadTemplate(HttpServletResponse response); |
| | | |
| | | /** |
| | | * 导入报价单(导入前检查审批模板是否存在) |
| | | * @param file 导入文件 |
| | | * @return 导入结果 |
| | | */ |
| | | SalesQuotationImportLog importQuotation(MultipartFile file); |
| | | |
| | | /** |
| | | * 查询导入记录列表 |
| | | */ |
| | | IPage<SalesQuotationImportLog> listImportLog(Page page); |
| | | |
| | | /** |
| | | * 查询降价历史记录 |
| | | * @param quotationId 报价商品ID |
| | | */ |
| | | List<SalesQuotationPriceHistory> listPriceHistory(Long quotationId); |
| | | } |