提交 d329c1f0 编写于 作者: minghao.wu's avatar minghao.wu

test: 增加校验权限日志

上级 0cebc1ce
......@@ -470,14 +470,24 @@ public class AnalysisController {
/**
* CHC 获取考试前两百名
*/
System.out.println("chc: reply status: " + analysisId + " examtitleId: " + examTitleId + " userId: " + userId);
if (rankingListService.isRankingInTop200(doctor.getId())) {
return analysisService.getReplyStatus(examTitleId, userId);
}
} else if (analysis.getType() == 2) {
/**
* 如果为认证 不可见
*/
if (!(doctor.getStatus().equals(CommonConstants.DOCTOR_STATUS_3) ||
doctor.getStatus().equals(CommonConstants.DOCTOR_STATUS_6) ||
doctor.getStatus().equals(CommonConstants.DOCTOR_STATUS_7) )) {
return 0;
}
/**
* PSA 职务职称主任/副主任 院长/副院长 科长/副科长 管理人数100以上
*/
System.out.println("psa: reply status: " + analysisId + " examtitleId: " + examTitleId + " userId: " + userId);
if (doctorService.isAuth(doctor.getId())) {
return analysisService.getReplyStatus(examTitleId, userId);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册