package com.ruoyi.stock.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.sales.dto.SalesLedgerDto; import com.ruoyi.sales.pojo.SalesLedger; import com.ruoyi.stock.dto.StockInRecordDto; import com.ruoyi.stock.pojo.StockInRecord; import jakarta.servlet.http.HttpServletResponse; import java.util.List; public interface StockInRecordService extends IService { IPage listPage(Page page, StockInRecordDto stockInRecordDto); int add(StockInRecordDto stockInRecordDto); int update(Long id, StockInRecordDto stockInRecordDto); int batchDelete(List ids); int batchDeletePending(List ids); void exportStockInRecord(HttpServletResponse response, StockInRecordDto stockInRecordDto); int batchApprove(List ids, Integer approvalStatus); int batchReAudit(List ids); /** * 代储入库可绑定的销售订单(销售台账)下拉,只出「代储」类型的台账。 * * @see com.ruoyi.stock.mapper.StockInRecordMapper#bindableSalesLedgerPage */ IPage listBindableSalesLedger(Page page, SalesLedgerDto salesLedgerDto); }