|
|
@@ -87,15 +87,7 @@ public class AfterwardsAuditController extends JeecgController<AfterwardsAudit,
|
|
|
|
|
|
@ApiOperation(value = "审核端-医嘱信息")
|
|
|
@GetMapping(value = "/audit/medicalorder/info")
|
|
|
- public Result<List<PrescriptionOrder>> loadMedicalOrderInfoResponseInfo(HttpServletRequest request, @RequestParam(value = "id", required = false) Integer id) {
|
|
|
- LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
- if (null == loginUser) {
|
|
|
- log.error("当前用户未登录");
|
|
|
- throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
- }
|
|
|
- if (id == null) {
|
|
|
- return Result.OK(new ArrayList<>());
|
|
|
- }
|
|
|
+ public Result<List<PrescriptionOrder>> loadMedicalOrderInfoResponseInfo(HttpServletRequest request, @RequestParam(value = "id") Integer id) {
|
|
|
List<PrescriptionOrder> result = afterwardsAuditService.loadMedicalOrderInfo(id);
|
|
|
return Result.OK(result);
|
|
|
}
|