Forráskód Böngészése

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

huangwenjie 5 éve
szülő
commit
749e6b3cf1

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

@ -1062,6 +1062,18 @@ public class ImService {
				}
			}
			
			if("1".equals(wlyyOutpatientDO.getOutpatientType()) && "2".equals(wlyyOutpatientDO.getType())){
				JSONObject object = new JSONObject();
				object.put("socket_sms_type",5);
				object.put("relation_code",wlyyOutpatientDO.getId());
				imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getPatient(),"1",content);
			}else if("2".equals(wlyyOutpatientDO.getOutpatientType())){
				JSONObject object = new JSONObject();
				object.put("socket_sms_type",6);
				object.put("relation_code",wlyyOutpatientDO.getId());
				imUtil.sendMessage(wlyyOutpatientDO.getDoctor(),wlyyOutpatientDO.getGeneralDoctor(),"1",content);
			}
			
			return result;
		}
	}