6 小时以前 7bf754a7835d06f26240c4ca15bc5f83650de377
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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<StockInRecord> {
    IPage<StockInRecordDto> listPage(Page page, StockInRecordDto stockInRecordDto);
 
    int add(StockInRecordDto stockInRecordDto);
 
    int update(Long id, StockInRecordDto stockInRecordDto);
 
    int batchDelete(List<Long> ids);
 
    int batchDeletePending(List<Long> ids);
 
    void exportStockInRecord(HttpServletResponse response, StockInRecordDto stockInRecordDto);
 
    int batchApprove(List<Long> ids, Integer approvalStatus);
 
    int batchReAudit(List<Long> ids);
 
    /**
     * 代储入库可绑定的销售订单(销售台账)下拉,只出「代储」类型的台账。
     *
     * @see com.ruoyi.stock.mapper.StockInRecordMapper#bindableSalesLedgerPage
     */
    IPage<SalesLedger> listBindableSalesLedger(Page page, SalesLedgerDto salesLedgerDto);
}