|
|
@@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.shiro.SecurityUtils;
|
|
|
@@ -19,6 +18,7 @@ import org.jeecg.modules.medical.common.bo.*;
|
|
|
import org.jeecg.modules.medical.common.enums.AfterwardsAuditStatusEnum;
|
|
|
import org.jeecg.modules.medical.entity.AfterwardsAudit;
|
|
|
import org.jeecg.modules.medical.entity.AfterwardsAuditDetail;
|
|
|
+import org.jeecg.modules.medical.entity.MedicalDoctorAppealRecord;
|
|
|
import org.jeecg.modules.medical.service.IAfterwardsAuditService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
|
@@ -171,6 +171,19 @@ public class AfterwardsAuditController extends JeecgController<AfterwardsAudit,
|
|
|
return Result.OK("请求成功");
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "科室端,查看复核记录", notes = "科室端-查看复核记录")
|
|
|
+ @GetMapping(value = "/appeal/record/list")
|
|
|
+ public Result<List<MedicalDoctorAppealRecord>> loadAppeal(Integer id) {
|
|
|
+ LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
+ if (null == loginUser) {
|
|
|
+ log.error("当前用户未登录");
|
|
|
+ throw new JeecgBootException("用户未登录"); // "登录已过期,请重新登录"
|
|
|
+ }
|
|
|
+ List<MedicalDoctorAppealRecord> record = afterwardsAuditService.loadAppealRecord(id, loginUser);
|
|
|
+ return Result.OK(record);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 分页列表查询
|
|
|
*
|