高校显示 班级名称 班级年级 班主任名称 模糊查询

This commit is contained in:
2026-08-21 10:24:50 +08:00
parent 8a7118d278
commit e4014873bb
7 changed files with 76 additions and 15 deletions
@@ -97,8 +97,9 @@ public class SchClassController {
@RequestParam(required = false) Integer campusId,
@RequestParam(required = false) Integer divisionId,
@RequestParam(required = false) Integer majorsId,
@RequestParam(required = false) String keyword,
Pageable pageable) {
return schClassService.searcHigherSchClass(UserContext.getSchId(),year,campusId,divisionId,majorsId,pageable);
return schClassService.searcHigherSchClass(UserContext.getSchId(),year,campusId,divisionId,majorsId,keyword,pageable);
}
@PostMapping("saveHigherSchClass")
@@ -73,6 +73,17 @@ public class SysOperationLogController extends BaseController {
.body(new InputStreamResource(bis));
}
/** 查询某条日志的响应原文(GZIP 解压),供详情页伸缩框展示 */
@GetMapping("response/{id}")
public Map<String, Object> response(@PathVariable Long id) {
denyIfNotSuperAdmin();
String data = sysOperationLogService.getResponseData(id);
Map<String, Object> m = new LinkedHashMap<>();
m.put("success", true);
m.put("data", data == null ? "该条审计日志未记录响应数据" : data);
return m;
}
/** 重试某条失败的操作:按记录中的 classMethod + requestParams 反射重放原始操作 */
@PostMapping("retry/{id}")
public Map<String, Object> retry(@PathVariable Long id) {