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

fix: 管理人数 100及以上 需要包含100

上级 11c7ca4f
...@@ -23,6 +23,6 @@ public class DoctorServiceImpl implements DoctorService { ...@@ -23,6 +23,6 @@ public class DoctorServiceImpl implements DoctorService {
@Override @Override
public boolean isAuth(Integer doctorId) { public boolean isAuth(Integer doctorId) {
return doctorMapper.selectAuthByDoctorId(doctorId) > 0 || return doctorMapper.selectAuthByDoctorId(doctorId) > 0 ||
doctorMapper.selectPatientCountByDoctorId(doctorId) > 100; doctorMapper.selectPatientCountByDoctorId(doctorId) >= 100;
} }
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册