1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.northglass.repository;
|
| import java.util.List;
|
| import org.springframework.data.jpa.repository.JpaRepository;
| import org.springframework.data.jpa.repository.Query;
|
| import com.northglass.entity.DummyFixRack;
|
| /****
| *
| * @author northglass
| * 功能:虚拟料架实体类的接口
| * 2019年3月18日
| * **/
| public interface DummyFixRackDao extends JpaRepository<DummyFixRack, Long> {
|
| //2019年3月19日 膜系和厚度查找
| @Query("select d from DummyFixRack d where d.color=?1 and d.thickness=?2")
| public List<DummyFixRack> findbyColorAndThickness(String color, double thickness);
| }
|
|