Просмотр исходного кода

修复selectById编译错误,改为selectDeptById

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
simonlll недель назад: 2
Родитель
Сommit
0c678dd91e

+ 1 - 1
airport-admin/src/main/java/com/sundot/airport/web/controller/exam/DailyExamComparisonController.java

@@ -377,7 +377,7 @@ public class DailyExamComparisonController {
377
     }
377
     }
378
 
378
 
379
     private String getDeptName(Long deptId) {
379
     private String getDeptName(Long deptId) {
380
-        SysDept dept = sysDeptMapper.selectById(deptId);
380
+        SysDept dept = sysDeptMapper.selectDeptById(deptId);
381
         return dept != null ? dept.getDeptName() : "部门" + deptId;
381
         return dept != null ? dept.getDeptName() : "部门" + deptId;
382
     }
382
     }
383
 
383