jiazx0107
2025-11-30 87e5654c26476fabd1156023350d7726092af8c1
fzzy-igdss-core/src/main/java/com/fzzy/igds/repository/DeviceSerRepository.java
@@ -20,13 +20,22 @@
public interface DeviceSerRepository extends JpaRepository<DeviceSer, String> {
    /**
     * 根据组织编码获取仓库货位信息
     * 根据组织编码获取信息
     *
     * @param companyId
     * @return
     */
    @Query("from DeviceSer where companyId =:companyId order by orderNum")
    List<DeviceSer> getDataByDeptId(@Param("companyId") String companyId);
    List<DeviceSer> getAllSerByCompanyId(@Param("companyId") String companyId);
    /**
     * 根据组织编码获取仓库货位信息
     *
     * @param deptId
     * @return
     */
    @Query("from DeviceSer where deptId =:deptId order by orderNum")
    List<DeviceSer> getDataByDeptId(@Param("deptId") String deptId);
    /**