XiaoRuby
2023-09-07 b4332231c22b9c362e14def25525d8c72735bc8c
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
package com.yuanchu.mom.mapper;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanchu.mom.pojo.RawInspect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
 
/**
* @author Administrator
* @description 针对表【raw_inspect(原材料申请表)】的数据库操作Mapper
* @createDate 2023-07-31 14:43:15
* @Entity com.yuanchu.mom.pojo.RawInspect
*/
public interface RawInspectMapper extends BaseMapper<RawInspect> {
 
    //计算原材料在某个范围内的合格或不合格数量
    Integer selCountRaw(String begin, String end,Integer judgeState);
 
    //计算月总产量
    Long seAllCount(String begin, String end);
 
    //分页查询原材料检验单列表
    IPage<Map<String, Object>> selectRawInspectsList(Page<Object> page, String formTime, String code, Integer insState, String name);
 
    //根据原材料检验单id查看详情
    List<Map<String, Object>> selectRawInspectsListById(Integer id);
 
    //根据原材料检验单id批量删除
    void delAllRawIns(String ids);
}