|
@ -93,7 +93,7 @@ public class SpecialistService extends BaseService {
|
|
|
public Long getAssistantPatientCount(String doctor)throws Exception{
|
|
|
Map<String,Object> param = new HashedMap();
|
|
|
param.put("doctor",doctor);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"getAssistantPatientCount",param);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"svr-specialist/getAssistantPatientCount",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getLong("obj");
|
|
@ -148,7 +148,7 @@ public class SpecialistService extends BaseService {
|
|
|
param.put("doctor",doctor);
|
|
|
param.put("labelType",labelType);
|
|
|
param.put("labelCode",labelCode);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"getLabelpatientCount",param);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"svr-specialist/getLabelpatientCount",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getLong("obj");
|
|
@ -160,7 +160,7 @@ public class SpecialistService extends BaseService {
|
|
|
public Long findSpecialistPatientRelationCout(String doctor)throws Exception{
|
|
|
Map<String,Object> param = new HashedMap();
|
|
|
param.put("doctor",doctor);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"findSpecialistPatientRelationCout",param);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"svr-specialist/findSpecialistPatientRelationCout",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getLong("obj");
|
|
@ -171,7 +171,7 @@ public class SpecialistService extends BaseService {
|
|
|
public JSONArray findNoLabelPatientRelation(String doctor)throws Exception{
|
|
|
Map<String,Object> param = new HashedMap();
|
|
|
param.put("doctor",doctor);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"findNoLabelPatientRelation",param);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"svr-specialist/findNoLabelPatientRelation",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getJSONArray("obj");
|
|
@ -184,7 +184,7 @@ public class SpecialistService extends BaseService {
|
|
|
param.put("assistant",assistant);
|
|
|
param.put("page",page);
|
|
|
param.put("size",size);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"findPatientRelatioByAssistant",param);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"svr-specialist/findPatientRelatioByAssistant",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getJSONArray("obj");
|
|
@ -196,7 +196,7 @@ public class SpecialistService extends BaseService {
|
|
|
public Boolean saveHealthAssistant(String json)throws Exception{
|
|
|
Map<String,Object> param = new HashedMap();
|
|
|
param.put("json",json);
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl+"saveHealthAssistant",param);
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl+"svr-specialist/saveHealthAssistant",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getBoolean("obj");
|
|
@ -211,7 +211,7 @@ public class SpecialistService extends BaseService {
|
|
|
param.put("labelCode",labelCode);
|
|
|
param.put("page",page);
|
|
|
param.put("size",size);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"getPatientByLabel",param);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl+"svr-specialist/getPatientByLabel",param);
|
|
|
JSONObject rs = new JSONObject(response.getContent());
|
|
|
if("succes".equals(rs.getString("message"))){
|
|
|
return rs.getJSONArray("obj");
|