CZT
2024-02-03 7c04452feb8b59b022e815ff8c7697905591a312
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.fzzy.async.fzzy40.repository;
 
import com.fzzy.async.fzzy40.entity.Fz40DeptDevice;
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 Fzzy40Sync1107Rep extends JpaRepository<Fz40DeptDevice, String> {
    @Query("from Fz40DeptDevice where deptId =:deptId order by sbbh")
    List<Fz40DeptDevice> listDevice(@Param("deptId") String deptId);
}