package com.ruoyi.basic.mapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.basic.dto.*; import com.ruoyi.basic.pojo.IfsInventoryQuantity; import com.ruoyi.basic.pojo.StandardMethodList; import com.ruoyi.basic.pojo.StandardProductList; import com.ruoyi.basic.pojo.StandardTree; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author Administrator * @description 针对表【standard_tree(标准树)】的数据库操作Mapper * @createDate 2024-03-01 15:06:44 * @Entity com.ruoyi.basic.pojo.StandardTree */ public interface StandardTreeMapper extends BaseMapper { List selectStandardTreeList(); List selectStandardTreeList2(String sampleType); StandardProductList selectStandardProductById(Integer id); List getStandardProductListBySample(String sampleType); List getStandardMethodListBySample(String sampleType); List selectStandardProductListByTree(String tree, String sample, String model, String trees, String laboratory); List selectStandardProductListByTree2(String tree, String sample, String model, String trees, String laboratory); List getStandardTree2(); List getStandardTree3(String sampleType); String getLaboratory(String str); Integer getStructureItemParameterId(String sampleType, String item, String itemChild, String inspectionItemClass); List selectPList(String name); String selSample(String sample); List selectStandardTreeListByPartNo(@Param("partNo") String partNo); IPage selectIfsPage(IPage page, @Param("ew") QueryWrapper ew); IPage getIfsByStateOne(IPage page, @Param("ew") QueryWrapper ew); IPage selectIfsInventoryQuantity(Page page, @Param("ew")QueryWrapper ew); /** * 原材报检查询全部(分页) * @param page * @param ew * @return */ IPage getIfsByOver(Page page, @Param("ew") QueryWrapper ew, @Param("beginDeclareDate") String beginDeclareDate, @Param("endDeclareDate")String endDeclareDate); /** * 原材报检查询全部(无分页) * @param ew * @return */ List getIfsByOverList(@Param("ew") QueryWrapper ew, @Param("beginDeclareDate") String beginDeclareDate, @Param("endDeclareDate")String endDeclareDate); /** * 原材料查询季度检验 * @param page * @param * @param beginDeclareDate * @param endDeclareDate * @return */ IPage getIfsByQuarter(Page page, @Param("ew") QueryWrapper ew, @Param("beginDeclareDate") String beginDeclareDate, @Param("endDeclareDate")String endDeclareDate); }