|
@ -155,7 +155,7 @@ public class DoctorWorkTimeController extends BaseController {
|
|
|
if (doc == null) {
|
|
|
return error(-1,"医生不存在");
|
|
|
}
|
|
|
if (doc.getIsFamous() != 1) {
|
|
|
if (doc.getIsFamous() != null && doc.getIsFamous() != 1) {
|
|
|
return error(-1,"医生不是名医,无法设置名医咨询次数");
|
|
|
}
|
|
|
|