| | |
| | | @Mapper |
| | | public interface StandardTreeMapper extends BaseMapper<StandardTree> { |
| | | |
| | | List<FactoryDto> selectStandardTreeList(); |
| | | List<StandardLibraryTreeRowDto> selectStandardLibraryTree(); |
| | | |
| | | List<StandardTree> selectStandardTreeList2(String sampleType); |
| | | |
| | | /** |
| | | * 行业改名:级联更新标准库配置中的行业名称,并重建两级规范路径 |
| | | */ |
| | | int updateProductListIndustry(@Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | /** |
| | | * 标准改名:级联更新标准库配置中的标准名称,并重建两级规范路径 |
| | | */ |
| | | int updateProductListStandard(@Param("industry") String industry, @Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | /** |
| | | * 行业改名:级联更新未完成订单的行业名称 |
| | | */ |
| | | int updateInsOrderIndustry(@Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | int updateInsSampleIndustry(@Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | int updateInsProductIndustry(@Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | /** |
| | | * 标准改名:级联更新未完成订单的标准名称 |
| | | */ |
| | | int updateInsOrderStandard(@Param("industry") String industry, @Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | int updateInsSampleStandard(@Param("industry") String industry, @Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | int updateInsProductStandard(@Param("industry") String industry, @Param("oldName") String oldName, @Param("newName") String newName); |
| | | |
| | | StandardProductList selectStandardProductById(Integer id); |
| | | |
| | |
| | | |
| | | List<StandardProductList> selectStandardProductListByTree2(@Param("tree") String tree, @Param("sample") String sample, @Param("model") String model, @Param("trees") String trees, @Param("laboratory") String laboratory); |
| | | |
| | | /** |
| | | * 按行业查询基础检验项,生成两级标准配置(sample=标准、model=NULL、tree=规范路径) |
| | | */ |
| | | List<StandardProductList> selectStandardProductListByIndustry(@Param("industry") String industry, @Param("standard") String standard, @Param("tree") String tree); |
| | | |
| | | |
| | | List<SampleTypeDto> getStandardTree2(); |
| | | |