|
@ -367,9 +367,9 @@ public class ConsultController extends WeixinBaseController {
|
|
|
if (StringUtils.isNotEmpty(voice)) {
|
|
|
voice = CommonUtil.copyTempVoice(voice);
|
|
|
}
|
|
|
//判断是否已经存在还没有关闭的名医咨询
|
|
|
if (consultTeamService.isExistFamousConsult(getUID(), doctorCode)) {
|
|
|
return error(-1, "已经存在名医咨询!");
|
|
|
//判断是否已经存在还没有关闭的咨询
|
|
|
if (consultTeamService.isExistConsult(getUID(), doctorCode)) {
|
|
|
return error(-1, "还有咨询未结束,不允许再次提交咨询!");
|
|
|
}
|
|
|
ConsultTeam consult = new ConsultTeam();
|
|
|
// 设置咨询类型:1三师咨询,2家庭医生咨询 6.名医咨询
|