|
@ -927,6 +927,7 @@ public class ImService {
|
|
|
JSONObject result = imUtil.getSingleSessionInfo(sessionId,doctorCode);
|
|
|
|
|
|
wlyyOutpatientDO.setStatus("1");//修改就诊记录为就诊中
|
|
|
wlyyOutpatientDO.setConDate(new Date());
|
|
|
outpatientDao.save(wlyyOutpatientDO);
|
|
|
|
|
|
return result;
|
|
@ -1020,6 +1021,11 @@ public class ImService {
|
|
|
consultTeam.setStatus(1);
|
|
|
consultDao.save(cons);
|
|
|
consultTeamDao.save(consultTeam);
|
|
|
|
|
|
WlyyOutpatientDO wlyyOutpatientDO = outpatientDao.findOne(cons.getRelationCode());
|
|
|
if(wlyyOutpatientDO != null && wlyyOutpatientDO.getId() != null){
|
|
|
wlyyOutpatientDO.setStatus("2");
|
|
|
}
|
|
|
return 1;
|
|
|
}
|
|
|
|