瀏覽代碼

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

huangwenjie 5 年之前
父節點
當前提交
749e6b3cf1
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

+ 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;
			return result;
		}
		}
	}
	}