|
@ -12,13 +12,15 @@ import java.util.Map;
|
|
|
|
|
|
public interface MediicinecabinetInventoryDao extends PagingAndSortingRepository<MediicinecabinetInventory, String>, JpaSpecificationExecutor<MediicinecabinetInventory> {
|
|
|
|
|
|
MediicinecabinetInventory findMediicinecabinetInventoryByIdDeviceAndLayerNoAndWayerNo(String deviceId, String layerNo, String wayerNo);
|
|
|
MediicinecabinetInventory findMediicinecabinetInventoryByIdDeviceAndLayerNoAndWayerNo(String deviceId, String layerNo, String wayerNo);
|
|
|
|
|
|
@Query("from MediicinecabinetInventory t where t.idDevice=?1")
|
|
|
List<MediicinecabinetInventory> findMediicinecabinetInventoryByDeviceId(String deviceId);
|
|
|
MediicinecabinetInventory findMediicinecabinetInventoryByEquNumAndLayerNoAndWayerNo(String equNum, String layerNo, String wayerNo);
|
|
|
|
|
|
@Query("from MediicinecabinetInventory t where t.idDevice=?1")
|
|
|
List<MediicinecabinetInventory> findMediicinecabinetInventoryByDeviceId(String deviceId);
|
|
|
|
|
|
@Query("select layerNo as layerNo from MediicinecabinetInventory where idDevice=?1 group by layerNo")
|
|
|
List<Map<String,Object>> selectByDeviceIdGroup(String deviceId);
|
|
|
List<Map<String, Object>> selectByDeviceIdGroup(String deviceId);
|
|
|
|
|
|
|
|
|
}
|