| | |
| | | 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); |
| | | |
| | | |
| | | /** |