| | |
| | | package com.nanometer.smartlab.dao; |
| | | |
| | | import com.nanometer.smartlab.entity.SysLaboratory; |
| | | import com.nanometer.smartlab.entity.dto.LaboratoryVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.dao.DataAccessException; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | public interface SysLaboratoryDao { |
| | | |
| | | public SysLaboratory getSysLaboratory(String id) throws DataAccessException; |
| | | public SysLaboratory getSysLaboratory(Long id) throws DataAccessException; |
| | | |
| | | public SysLaboratory getSysLaboratorySimpleInfo(Long id) throws DataAccessException; |
| | | |
| | | @SuppressWarnings("rawtypes") |
| | | public List<SysLaboratory> getSysLaboratoryList(Map params) throws DataAccessException; |
| | | |
| | | public List<SysLaboratory> getSysLaboratorySimpleInfoList(Map params); |
| | | public List<SysLaboratory> getAllSysLaboratoryList() throws DataAccessException; |
| | | @SuppressWarnings("rawtypes") |
| | | public int getSysLaboratoryTotalCount(Map params) throws DataAccessException; |
| | | |
| | | public void insertSysLaboratory(SysLaboratory sysLaboratory) throws DataAccessException; |
| | | public int updateSysLaboratory(SysLaboratory sysLaboratory) throws DataAccessException; |
| | | public int deleteSysLaboratorys(List<String> ids) throws DataAccessException; |
| | | public int deleteSysLaboratorys(List<Long> ids) throws DataAccessException; |
| | | |
| | | public SysLaboratory getSysLaboratoryByBarCode(String barCode) throws DataAccessException; |
| | | |
| | |
| | | |
| | | public void updateLabExport(SysLaboratory sysLaboratory); |
| | | |
| | | List<Map> exportLabList(Map params); |
| | | List<SysLaboratory> exportLabList(Map params); |
| | | |
| | | List<LaboratoryVo.Laboratory> getLaboratoryByProject(@Param("projectId") Long projectId); |
| | | |
| | | SysLaboratory getSysLaboratoryByName(String name); |
| | | |
| | | List<Map> getPersonInCharge(String project); |
| | | |
| | | /** |
| | | * 根据课题id获取实验室列表 |
| | | * @param projectId |
| | | * @return |
| | | */ |
| | | List<SysLaboratory> getLaboratoryByProjectId(Long projectId); |
| | | |
| | | } |