|
@ -430,7 +430,9 @@ public class ConsultController extends WeixinBaseController {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
if (doctorWorkTimeService.getDoctorConsultTimesRemain(doctor.getCode()) < 1) {
|
|
|
int num = doctorWorkTimeService.getDoctorConsultTimesRemain(doctor.getCode());
|
|
|
|
|
|
if (num < 1) {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
@ -459,7 +461,7 @@ public class ConsultController extends WeixinBaseController {
|
|
|
// 专长
|
|
|
json.put("expertise", doctor.getExpertise());
|
|
|
// 剩余咨询次数
|
|
|
json.put("num", doctorWorkTimeService.getDoctorConsultTimesRemain(doctor.getCode()));
|
|
|
json.put("num", num);
|
|
|
array.put(json);
|
|
|
}
|
|
|
}
|