| | |
| | | package com.gkhy.labRiskManage.domain.basic.repository.jpa; |
| | | |
| | | import com.gkhy.labRiskManage.domain.basic.entity.BasicExperimentSite; |
| | | import com.gkhy.labRiskManage.domain.basic.entity.BasicExperimentType; |
| | | import org.springframework.data.domain.Pageable; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | |
| | | */ |
| | | @Query(value = "select t from BasicExperimentType t where t.deleteStatus = 0") |
| | | List<BasicExperimentType> listType(); |
| | | /** |
| | | * 基础实验类型 - 通过id列表查询 |
| | | * */ |
| | | @Query(value = "select t from BasicExperimentType t where t.id in (?1) and t.deleteStatus = 0") |
| | | List<BasicExperimentType> batchById(List<Long> ids); |
| | | } |
| | | |