|
@@ -29,8 +29,9 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
|
import java.util.Arrays;
|
|
import java.util.Arrays;
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
|
|
+/**
|
|
|
* @Description: afterwards_audit
|
|
* @Description: afterwards_audit
|
|
|
* @Author: jeecg-boot
|
|
* @Author: jeecg-boot
|
|
|
* @Date: 2023-05-09 14:37:31
|
|
* @Date: 2023-05-09 14:37:31
|
|
@@ -78,13 +79,13 @@ public class AfterwardsAuditController extends JeecgController<AfterwardsAudit,
|
|
|
|
|
|
|
|
@ApiOperation(value = "审核端-诊断信息")
|
|
@ApiOperation(value = "审核端-诊断信息")
|
|
|
@GetMapping(value = "/audit/diagnostic/info")
|
|
@GetMapping(value = "/audit/diagnostic/info")
|
|
|
- public Result<DiagnosticInfoResponse> loadDiagnosticInformation(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
|
|
|
|
+ public Result<List<DiagnosticInfoResponse>> loadDiagnosticInformation(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
if (null == loginUser) {
|
|
if (null == loginUser) {
|
|
|
log.error("当前用户未登录");
|
|
log.error("当前用户未登录");
|
|
|
throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
}
|
|
}
|
|
|
- DiagnosticInfoResponse result = afterwardsAuditService.loadDiagnosticInfo(id);
|
|
|
|
|
|
|
+ List<DiagnosticInfoResponse> result = afterwardsAuditService.loadDiagnosticInfo(id);
|
|
|
return Result.OK(result);
|
|
return Result.OK(result);
|
|
|
}
|
|
}
|
|
|
|
|
|