|
@ -21,6 +21,7 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@ -85,7 +86,7 @@ public class WlyyBusinessService {
|
|
|
param.put("title","协同门诊消息");
|
|
|
param.put("type",500);
|
|
|
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyySendMes",param);
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyySendMes",param,null);
|
|
|
if(rs!=null){
|
|
|
return true;
|
|
|
}
|
|
@ -108,7 +109,7 @@ public class WlyyBusinessService {
|
|
|
param.put("type",500);
|
|
|
param.put("relationCode",outPatientId);
|
|
|
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyyReadMes",param);
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyyReadMes",param,null);
|
|
|
if(rs!=null){
|
|
|
return true;
|
|
|
}
|
|
@ -126,7 +127,7 @@ public class WlyyBusinessService {
|
|
|
|
|
|
JSONObject param = new JSONObject();
|
|
|
param.put("idCard",idCard);
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyyCheckSignFamily",param);
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyyCheckSignFamily",param,null);
|
|
|
if(rs!=null){
|
|
|
return true;
|
|
|
}
|
|
@ -176,9 +177,10 @@ public class WlyyBusinessService {
|
|
|
if(basePatientDO != null){
|
|
|
idcard = basePatientDO.getIdcard();
|
|
|
|
|
|
JSONObject param = new JSONObject();
|
|
|
param.put("idcard",idcard);
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyyGetPatientAccetokenByIdcard",param);
|
|
|
Map<String,String> params = new HashMap<>();
|
|
|
params.put("idcard",idcard);
|
|
|
|
|
|
JSONObject rs = wlyyHttpService.sendWlyyMes("wlyyGetPatientAccetokenByIdcard",null,params);
|
|
|
if(rs!=null){
|
|
|
Integer status = rs.getInteger("status");
|
|
|
if(200 == status){
|