package com.fzzy.async.fzzy61.repository;
|
|
import com.fzzy.async.fzzy61.entity.Fz61DeptDevice;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.List;
|
|
/**
|
* 设备信息
|
*
|
* @Author:YAN
|
*/
|
public interface Fzzy61Sync1107Rep extends JpaRepository<Fz61DeptDevice, String> {
|
@Query("from Fz61DeptDevice where deptId =:deptId order by sbbh")
|
List<Fz61DeptDevice> listDevice(@Param("deptId") String deptId);
|
}
|