BAOLH
2026-11-10 c5dfc09145e4e10f99dbf388a4a1433b5c2973e5
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/repository/DeptRepository.java
@@ -73,4 +73,7 @@
    @Modifying
    @Query(value = " update sys_dept set sub_count = ?1 where dept_id = ?2 ",nativeQuery = true)
    void updateSubCntById(Integer count, Long id);
    @Query(value = "select pid from sys_dept where dept_id = ?1",nativeQuery = true)
    Long findPidIdByDeptId(Long deptId);
}