tuqin
2026-09-24 0891b6708cc09c2672a19661a8555aae0e742df1
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
38
39
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.stock.dto.StockInRecordDto;
import com.ruoyi.stock.pojo.StockInRecord;
import com.ruoyi.framework.web.domain.AjaxResult;
 
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
 
public interface StockInRecordService extends IService<StockInRecord> {
    IPage<StockInRecordDto> listPage(Page page, StockInRecordDto stockInRecordDto);
 
    StockInRecord 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);
 
    /**
     * 入库管理-导入
     *
     * @param file excel 文件
     * @param type 入库类型 0-合格 1-不合格
     * @return 导入结果(成功/失败条数及错误明细)
     */
    AjaxResult importData(MultipartFile file, String type);
}