|
@@ -64,30 +64,9 @@ public class AfterwardsAuditController extends JeecgController<AfterwardsAudit,
|
|
|
return Result.OK(pageList);
|
|
return Result.OK(pageList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "审核端-获取审核详细信息")
|
|
|
|
|
- @GetMapping(value = "/audit/info")
|
|
|
|
|
- public Result<AuditInfoResponse> loadAuditInfo(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
|
|
- LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
|
|
-// String loginUserName = JwtUtil.getUserNameByToken(request);
|
|
|
|
|
- if (null == loginUser) {
|
|
|
|
|
- log.error("当前用户未登录");
|
|
|
|
|
- throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
|
|
- }
|
|
|
|
|
- AuditInfoResponse result = afterwardsAuditService.loadAuditInfo(id);
|
|
|
|
|
- return Result.OK(result);
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
- @ApiOperation(value = "审核端-诊断信息")
|
|
|
|
|
- @GetMapping(value = "/audit/diagnostic/info")
|
|
|
|
|
- public Result<List<DiagnosticInfoResponse>> loadDiagnosticInformation(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
|
|
- LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
|
|
- if (null == loginUser) {
|
|
|
|
|
- log.error("当前用户未登录");
|
|
|
|
|
- throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
|
|
- }
|
|
|
|
|
- List<DiagnosticInfoResponse> result = afterwardsAuditService.loadDiagnosticInfo(id);
|
|
|
|
|
- return Result.OK(result);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@ApiOperation(value = "审核端-医嘱信息")
|
|
@ApiOperation(value = "审核端-医嘱信息")
|
|
|
@GetMapping(value = "/audit/")
|
|
@GetMapping(value = "/audit/")
|
|
@@ -101,6 +80,40 @@ public class AfterwardsAuditController extends JeecgController<AfterwardsAudit,
|
|
|
return Result.OK(result);
|
|
return Result.OK(result);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "审核端-医院结算明细")
|
|
|
|
|
+ @GetMapping(value = "/audit/settlement/detail")
|
|
|
|
|
+ public Result<InpatientSettlementDetailResponse> loadInpatientSettlementDetail(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
|
|
+ InpatientSettlementDetailResponse result = afterwardsAuditService.loadInpatientSettlementDetail(id);
|
|
|
|
|
+ return Result.OK("获取成功", result);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation(value = "审核端-诊断信息")
|
|
|
|
|
+ @GetMapping(value = "/audit/diagnostic/info")
|
|
|
|
|
+ public Result<List<DiagnosticInfoResponse>> loadDiagnosticInformation(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
|
|
+ LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
|
|
+ if (null == loginUser) {
|
|
|
|
|
+ log.error("当前用户未登录");
|
|
|
|
|
+ throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
|
|
+ }
|
|
|
|
|
+ List<DiagnosticInfoResponse> result = afterwardsAuditService.loadDiagnosticInfo(id);
|
|
|
|
|
+ return Result.OK(result);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation(value = "审核端-获取审核详细信息")
|
|
|
|
|
+ @GetMapping(value = "/audit/info")
|
|
|
|
|
+ public Result<AuditInfoResponse> loadAuditInfo(HttpServletRequest request, @RequestParam("id") Integer id) {
|
|
|
|
|
+ LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
|
|
+// String loginUserName = JwtUtil.getUserNameByToken(request);
|
|
|
|
|
+ if (null == loginUser) {
|
|
|
|
|
+ log.error("当前用户未登录");
|
|
|
|
|
+ throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
|
|
+ }
|
|
|
|
|
+ AuditInfoResponse result = afterwardsAuditService.loadAuditInfo(id);
|
|
|
|
|
+ return Result.OK(result);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@ApiOperation(value = "审核端-发起审核", notes = "审核端-发起审核")
|
|
@ApiOperation(value = "审核端-发起审核", notes = "审核端-发起审核")
|
|
|
@PostMapping(value = "/audit")
|
|
@PostMapping(value = "/audit")
|
|
|
public Result<String> audit(HttpServletRequest request, @RequestBody @Valid AuditRequestBO param) {
|
|
public Result<String> audit(HttpServletRequest request, @RequestBody @Valid AuditRequestBO param) {
|
|
@@ -128,6 +141,7 @@ public class AfterwardsAuditController extends JeecgController<AfterwardsAudit,
|
|
|
afterwardsAudit.setOutpatientNumber(param.getAdmissionNumber());
|
|
afterwardsAudit.setOutpatientNumber(param.getAdmissionNumber());
|
|
|
afterwardsAudit.setPatientId(param.getPatientName());
|
|
afterwardsAudit.setPatientId(param.getPatientName());
|
|
|
afterwardsAudit.setCheckState(param.getCheckState());
|
|
afterwardsAudit.setCheckState(param.getCheckState());
|
|
|
|
|
+ afterwardsAudit.setDoctorId(param.getDoctorId());
|
|
|
QueryWrapper<AfterwardsAudit> queryWrapper = QueryGenerator.initQueryWrapper(afterwardsAudit, req.getParameterMap());
|
|
QueryWrapper<AfterwardsAudit> queryWrapper = QueryGenerator.initQueryWrapper(afterwardsAudit, req.getParameterMap());
|
|
|
Page<AfterwardsAudit> page = new Page<>(pageNo, pageSize);
|
|
Page<AfterwardsAudit> page = new Page<>(pageNo, pageSize);
|
|
|
IPage<AfterwardsAudit> violations = afterwardsAuditService.getDoctorViolations(page, queryWrapper, loginUser);
|
|
IPage<AfterwardsAudit> violations = afterwardsAuditService.getDoctorViolations(page, queryWrapper, loginUser);
|