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);
|
}
|