package com.nanometer.smartlab.dao; import com.nanometer.smartlab.entity.OpeApply; import com.nanometer.smartlab.entity.OpeReagentStatus; import com.nanometer.smartlab.entity.SysLaboratory; import org.apache.ibatis.annotations.Param; import org.springframework.dao.DataAccessException; import java.util.List; import java.util.Map; /** * Created by maweiqing on 17/12/8. */ public interface OpeReagentStatusDao { @SuppressWarnings("rawtypes") List getOpeReagentStatusList(Map params) throws DataAccessException; List getOpeReagentStatusList22(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") int getOpeReagentStatusTotalCount(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") List getOpeReagentStatusListForLab(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") int getOpeReagentStatusTotalCountForLab(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") int getPersonReagentStatusTotalCount(Map params) throws DataAccessException; @SuppressWarnings("rawtypes") List getPersonReagentStatusList(Map params) throws DataAccessException; void insertOpeReagentStatus(OpeReagentStatus opeReagentStatus) throws DataAccessException; int batchInsertOpeReagentStatus(List opeReagentStatusList); OpeReagentStatus getOpeReagentStatusByReagentCode(String reagentCode) throws DataAccessException; OpeReagentStatus getOpeReagentStatusByReagentCode2(OpeReagentStatus opeReagentStatus) throws DataAccessException; OpeReagentStatus getOpeReagentStatusByCode(String reagentCode) throws DataAccessException; OpeReagentStatus getOpeReagentStatusById(Long id) throws DataAccessException; int updateOpeReagentStatusDao(OpeReagentStatus opeReagentStatus); List getOpeReagentStatusInfoList(Map params) throws DataAccessException; int syncOpeReagentStatus(Map params) throws DataAccessException; int updateOpeReagentStatusForInterface(OpeReagentStatus opeReagentStatus); void deleteByReagentCode(@Param("reagentCode")String reagentCode); List getReagentStatusByContainerId(@Param("containerId") Long id); int updateTimeByCode(Map params); void updateStatusByCode(Map params); List selectByReId(Long id); public int updateByReId(Map params); List selectReagentCodesByReId(Long reagentId); void insertOpeReagentStatus2(OpeReagentStatus ors); int countReagentByArticleAndWarehouse(Map params); void updateArticleNumberByRCode(String code, String articleNumber); List selectExportList(Map params); OpeReagentStatus getStatus(@Param("reagentId") Long reagentId,@Param("reagentCode") String reagentCode); /** * 根据课题id获取实验室列表 * @param projectId * @return */ List getLabNoContainerByProjectId(Long projectId); /** * 根据条码更新试剂状态 * @param opeReagentStatus */ void updateOpeReagentStatusByCode(OpeReagentStatus opeReagentStatus); void batchUpdateReagentStatusByIds(@Param("ids") Listids,@Param("houseId")Long houseId,@Param("containerId")Long containerId,@Param("status")Integer status); Integer getReagentStatusCountByApplyCode(String applyCode); }