| | |
| | | package com.yuanchu.limslaboratory.service; |
| | | |
| | | import com.yuanchu.limslaboratory.pojo.Inspection; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yuanchu.limslaboratory.pojo.dto.InspectionDto; |
| | | import com.yuanchu.limslaboratory.pojo.Inspection; |
| | | import com.yuanchu.limslaboratory.pojo.Material; |
| | | import com.yuanchu.limslaboratory.pojo.vo.InspectDetailVo; |
| | | import com.yuanchu.limslaboratory.pojo.vo.InspectionVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * 申请表(Inspection)表服务接口 |
| | | * |
| | | * @author 江苏鵷雏网络科技有限公司 |
| | | * @since 2023-07-17 |
| | | * @author zss |
| | | * @since 2023-08-03 13:03:36 |
| | | */ |
| | | public interface InspectionService extends IService<Inspection> { |
| | | |
| | | Inspection addInspection(String userName,int type); |
| | | |
| | | List<InspectionDto> selectAllInspection(int pageSize, int countSize, Integer state); |
| | | /** |
| | | *查询检验申请单列表 |
| | | * @param page |
| | | * @param message |
| | | * @return |
| | | */ |
| | | IPage<Map<String, Object>> selectInspectsList(Page<Object> page, String message); |
| | | |
| | | /** |
| | | * 新增检验单-->选择检验项目版本 |
| | | * @param name |
| | | * @param mcode |
| | | * @param specifications |
| | | * @return |
| | | */ |
| | | List<Integer> chooseVer(String name, String mcode, String specifications); |
| | | |
| | | /** |
| | | * 新增检验单-->选择检验项目版本-->查看该版本下我们要做的项目要求 |
| | | * @param name |
| | | * @param mcode |
| | | * @param specifications |
| | | * @param version |
| | | * @return |
| | | */ |
| | | List<Map<String,Object>> lookProByVer(String name, String mcode, String specifications, Integer version,String experiment); |
| | | |
| | | /** |
| | | * 新增检验申请表 |
| | | * @param id |
| | | * @param |
| | | * @return |
| | | */ |
| | | Integer addInspect(Integer id, InspectionVo inspectionVo); |
| | | |
| | | |
| | | /** |
| | | *根据检验单id查询原材料检验单详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | InspectDetailVo selectInspectsListById(Integer id); |
| | | |
| | | |
| | | /** |
| | | * 作废检验单 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | String delInspect(Integer id); |
| | | |
| | | /** |
| | | * 保存检验项目责任人 |
| | | * @param id |
| | | * @param userProId |
| | | * @return |
| | | */ |
| | | String chooseUseProId(Integer id, Integer userProId); |
| | | |
| | | /** |
| | | * 保存设备 |
| | | * @param id |
| | | * @param equipmentId |
| | | * @return |
| | | */ |
| | | boolean chooseEquipment(Integer id, Integer equipmentId); |
| | | |
| | | List<Material> getMaterielTypeIsOne(); |
| | | |
| | | Map<String, Object> getSpecification(Integer id); |
| | | } |
| | | |