1
2
3
4
5
6
7
8
9
10
11
12
13
14
| package com.web.jhsop.websocket.dao;
|
|
| import com.web.jhsop.websocket.entity.SopDevice;
| import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
| import org.springframework.data.repository.CrudRepository;
|
| import java.util.List;
|
| public interface SopDeviceDao extends CrudRepository<SopDevice, Long>, JpaSpecificationExecutor<SopDevice> {
| List<SopDevice> findByBsDevice(String deviceId);
|
| List<SopDevice> findByIsDel(int i);
| }
|
|