| | |
| | | package com.fzzy.async.fzzy35.repository; |
| | | |
| | | import com.fzzy.async.fzzy35.entity.SecCamera; |
| | | import com.fzzy.async.fzzy35.entity.Fz35SecCamera; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | |
| | | /** |
| | | * 监控信息 |
| | | */ |
| | | public interface Fzzy35Sync1111Rep extends JpaRepository<SecCamera, String> { |
| | | public interface Fzzy35Sync1111Rep extends JpaRepository<Fz35SecCamera, String> { |
| | | |
| | | /** |
| | | * 获取摄像头信息 |
| | |
| | | */ |
| | | // @Query("from SecCamera where deptId=:deptId and updateTime >=:start and updateTime <:end order by updateTime ") |
| | | // List<SecCamera> listCamera(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end); |
| | | @Query("from SecCamera where deptId=:deptId order by ipIn") |
| | | List<SecCamera> listCamera(@Param("deptId") String deptId); |
| | | @Query("from Fz35SecCamera where deptId=:deptId order by ipIn") |
| | | List<Fz35SecCamera> listCamera(@Param("deptId") String deptId); |
| | | |
| | | } |