|
@@ -2,6 +2,7 @@ package com.diagbot.web;
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
import com.diagbot.client.MedAppealInfoServiceClientME;
|
|
|
import com.diagbot.dto.MedAppealAuditDTO;
|
|
@@ -55,7 +56,7 @@ public class MedAppealInfoControllerME {
|
|
|
String hospitalId = SysUserUtils.getCurrentHospitalID();
|
|
|
medAppealComplaintRecordPageVO.setHospitalId(Long.valueOf(hospitalId));
|
|
|
medAppealComplaintRecordPageVO.setComplaintId(Long.valueOf(userId));
|
|
|
- RespDTO<IPage<MedAppealComplaintRecordDTO>> complaintRecord = medAppealInfoServiceClientME.getComplaintRecord(medAppealComplaintRecordPageVO);
|
|
|
+ RespDTO<Page<MedAppealComplaintRecordDTO>> complaintRecord = medAppealInfoServiceClientME.getComplaintRecord(medAppealComplaintRecordPageVO);
|
|
|
return RespDTO.onSuc(complaintRecord);
|
|
|
}
|
|
|
|
|
@@ -63,7 +64,11 @@ public class MedAppealInfoControllerME {
|
|
|
notes = "获取申诉审核列表")
|
|
|
@PostMapping("/getAppealReview")
|
|
|
public RespDTO<MedAppealReviewDTO> getAppealReview(@RequestBody MedAppealReviewPageVO medAppealReviewPageVO) {
|
|
|
- RespDTO<MedAppealReviewDTO> appealReview = medAppealInfoServiceClientME.getAppealReview(medAppealReviewPageVO);
|
|
|
+ String userId = SysUserUtils.getCurrentPrincipleID();
|
|
|
+ String hospitalId = SysUserUtils.getCurrentHospitalID();
|
|
|
+ medAppealReviewPageVO.setHospitalId(Long.valueOf(hospitalId));
|
|
|
+ medAppealReviewPageVO.setAppealId(Long.valueOf(userId));
|
|
|
+ RespDTO<Page<MedAppealReviewDTO>> appealReview = medAppealInfoServiceClientME.getAppealReview(medAppealReviewPageVO);
|
|
|
return RespDTO.onSuc(appealReview);
|
|
|
}
|
|
|
|