zss
2023-08-30 af9457d7ce94c7684a9439d46b0025bd6e66d8af
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
package com.yuanchu.mom.service;
 
import com.yuanchu.mom.pojo.RawInspect;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.mom.pojo.vo.RawInspectVo;
 
import java.util.Map;
 
/**
* @author Administrator
* @description 针对表【raw_inspect(原材料申请表)】的数据库操作Service
* @createDate 2023-07-31 14:43:15
*/
public interface RawInspectService extends IService<RawInspect> {
    Map<String, Object> selectRawInspectsList(int pageSize, int countSize, String formTime, String createTime, int insState, int judgeState);
 
    /**
     * 根据检验单id查询原材料检验单详情
     * @param id
     * @return
     */
    RawInspectVo selectRawInspectsListById(Integer id);
 
    /**
     * 更新检验状态
     * @param id
     */
    boolean updateRawInspectsById(Integer id);
 
    /**
     * 新增检验单
     * @param userName
     * @param rawInspect
     */
    Integer addRawInspects(String userName, RawInspect rawInspect);
}