Pārlūkot izejas kodu

Merge branch 'dev' of huangwenjie/wlyy2.0 into dev

huangwenjie 5 gadi atpakaļ
vecāks
revīzija
7e8295e299

+ 6 - 0
business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

@ -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;
	}