| | |
| | | package com.yuanchu.mom.service; |
| | | |
| | | 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.extension.service.IService; |
| | | import com.yuanchu.mom.pojo.vo.RawInspectVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | * @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); |
| | | |
| | | /** |
| | | * 新增原材料检验单 |
| | | * @param userId |
| | | * @param rawInspectVo |
| | | */ |
| | | String addRawInspects(String userId, RawInspectVo rawInspectVo); |
| | | |
| | | /** |
| | | * 分页查询原材料检验单列表 |
| | | * @param formTime |
| | | * @param code |
| | | * @param insState |
| | | * @param name |
| | | * @return |
| | | */ |
| | | IPage<Map<String, Object>> selectRawInspectsList(Page<Object> page, String formTime, String code, Integer insState, String name); |
| | | |
| | | |
| | | /** |
| | | * 根据检验单id查询原材料检验单详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | RawInspectVo selectRawInspectsListById(Integer id); |
| | | List<Map<String,Object>> selectRawInspectsListById(Integer id); |
| | | |
| | | /** |
| | | * 更新检验状态 |
| | | * @param id |
| | | */ |
| | | boolean updateRawInspectsById(Integer id); |
| | | String updateRawInspectsById(Integer id); |
| | | |
| | | /** |
| | | * 新增检验单 |
| | | * @param userName |
| | | * @param rawInspect |
| | | */ |
| | | Integer addRawInspects(String userName, RawInspect rawInspect); |
| | | } |