package com.fzzy.async.fzzy40.repository;
|
|
import com.fzzy.async.fzzy40.entity.Fz40SecCamera;
|
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;
|
|
/**
|
* 监控信息
|
*/
|
public interface Fzzy40Sync1111Rep extends JpaRepository<Fz40SecCamera, String> {
|
|
/**
|
* 获取摄像头信息
|
*
|
* @return
|
*/
|
// @Query("from Fz40SecCamera where deptId=:deptId and updateTime >=:start and updateTime <:end order by updateTime ")
|
// List<Fz40SecCamera> listCamera(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
|
@Query("from Fz40SecCamera where deptId=:deptId order by ipIn")
|
List<Fz40SecCamera> listCamera(@Param("deptId") String deptId);
|
|
}
|