|
@ -537,7 +537,7 @@ public class XzzxEntranceService{
|
|
|
"</root>";
|
|
|
String condition ="";
|
|
|
if (StringUtils.isNoneBlank(idCard)){
|
|
|
condition = "<Idcard>"+idCard+"</Idcard>";
|
|
|
condition = "<identity_no>"+idCard+"</identity_no>";
|
|
|
}
|
|
|
String msgBody ="<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>"+condition+"</root>";
|
|
@ -547,7 +547,7 @@ public class XzzxEntranceService{
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("findPatientCard params:"+params.toString());
|
|
|
|
|
|
String xml = getXzzxWebServiceInfo("FindPatientCard",params,getSelectUrl());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
@ -586,7 +586,7 @@ public class XzzxEntranceService{
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("getCardInfo params:"+params.toString());
|
|
|
|
|
|
String xml = getXzzxWebServiceInfo("GetCardInfo",params,getSelectUrl());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
@ -626,7 +626,7 @@ public class XzzxEntranceService{
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("FindOutpatientInfo params:"+params.toString());
|
|
|
|
|
|
String xml = getXzzxWebServiceInfo("FindOutpatientInfo",params,getSelectUrl());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
@ -645,7 +645,7 @@ public class XzzxEntranceService{
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
//获取门诊下所有处方信息
|
|
|
public String getOriginPrescriptionList(String registerSn,String patNo,String admNo,String realOrder)throws Exception{
|
|
|
public String getOriginPrescriptionList(String registerSn,String patNo,String admNo,String realOrder,String startTime,String endTime)throws Exception{
|
|
|
String api = "GetOriginPrescriptionList";
|
|
|
String msgHeader ="<?xml version=\"1.0\" encoding=\"utf-8\"?> " +
|
|
|
"<root> " +
|
|
@ -667,6 +667,14 @@ public class XzzxEntranceService{
|
|
|
if (StringUtils.isNoneBlank(realOrder)){
|
|
|
condition += "<realOrder>"+realOrder+"</realOrder>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
condition += "<startTime>"+startTime+"</startTime>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(endTime)){
|
|
|
condition += "<endTime>"+endTime+"</endTime>";
|
|
|
}
|
|
|
String msgBody ="<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>"+condition+"</root>";
|
|
|
|
|
@ -674,13 +682,171 @@ public class XzzxEntranceService{
|
|
|
params.put("msgHeader",msgHeader);
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("getOriginPrescriptionList params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("GetOriginPrescriptionList",params,getSelectUrl());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
logger.info("getOriginPrescriptionList json:"+json);
|
|
|
return json;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 获取门诊病人诊断
|
|
|
* @param registerSn
|
|
|
* @param patNo
|
|
|
* @param admNo
|
|
|
* @param realOrder
|
|
|
* @param startTime
|
|
|
* @param endTime
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String getOutpatientDiagnosis(String registerSn,String patNo,String admNo,String realOrder,String startTime,String endTime)throws Exception{
|
|
|
String api = "GetOutpatientDiagnosis";
|
|
|
String msgHeader ="<?xml version=\"1.0\" encoding=\"utf-8\"?> " +
|
|
|
"<root> " +
|
|
|
" <serverName>"+api+"</serverName> " +
|
|
|
" <format>xml</format>" +
|
|
|
" <callOperator></callOperator> " +
|
|
|
" <certificate>"+key+"</certificate> " +
|
|
|
"</root>";
|
|
|
String condition ="";
|
|
|
if (StringUtils.isNoneBlank(registerSn)){
|
|
|
condition += "<registerSn>"+registerSn+"</registerSn>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(patNo)){
|
|
|
condition += "<patNo>"+patNo+"</patNo>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(admNo)){
|
|
|
condition += "<admNo>"+admNo+"</admNo>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(realOrder)){
|
|
|
condition += "<realOrder>"+realOrder+"</realOrder>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
condition += "<startTime>"+startTime+"</startTime>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(endTime)){
|
|
|
condition += "<endTime>"+endTime+"</endTime>";
|
|
|
}
|
|
|
String msgBody ="<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>"+condition+"</root>";
|
|
|
|
|
|
Map<String,String> params = new HashedMap();
|
|
|
params.put("msgHeader",msgHeader);
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("getOutpatientDiagnosis params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
logger.info("getOutpatientDiagnosis json:"+json);
|
|
|
return json;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 获取门诊病人处方药品信息
|
|
|
*
|
|
|
* @param registerSn
|
|
|
* @param patNo
|
|
|
* @param admNo
|
|
|
* @param realOrder
|
|
|
* @param startTime
|
|
|
* @param endTime
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
public String getOutpatientDrugInfo(String registerSn,String patNo,String admNo,String realOrder,String startTime,String endTime)throws Exception{
|
|
|
String api = "GetOutpatientDrugInfo";
|
|
|
String msgHeader ="<?xml version=\"1.0\" encoding=\"utf-8\"?> " +
|
|
|
"<root> " +
|
|
|
" <serverName>"+api+"</serverName> " +
|
|
|
" <format>xml</format>" +
|
|
|
" <callOperator></callOperator> " +
|
|
|
" <certificate>"+key+"</certificate> " +
|
|
|
"</root>";
|
|
|
String condition ="";
|
|
|
if (StringUtils.isNoneBlank(registerSn)){
|
|
|
condition += "<registerSn>"+registerSn+"</registerSn>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(patNo)){
|
|
|
condition += "<patNo>"+patNo+"</patNo>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(admNo)){
|
|
|
condition += "<admNo>"+admNo+"</admNo>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(realOrder)){
|
|
|
condition += "<realOrder>"+realOrder+"</realOrder>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
condition += "<startTime>"+startTime+"</startTime>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(endTime)){
|
|
|
condition += "<endTime>"+endTime+"</endTime>";
|
|
|
}
|
|
|
String msgBody ="<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>"+condition+"</root>";
|
|
|
|
|
|
Map<String,String> params = new HashedMap();
|
|
|
params.put("msgHeader",msgHeader);
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("getOutpatientDrugInfo params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
logger.info("getOutpatientDrugInfo json:"+json);
|
|
|
return json;
|
|
|
}
|
|
|
|
|
|
public String getOutpatientCheckTestInfo(String registerSn,String patNo,String admNo,String realOrder,String startTime,String endTime)throws Exception{
|
|
|
String api = "GetOutpatientCheckTestInfo";
|
|
|
String msgHeader ="<?xml version=\"1.0\" encoding=\"utf-8\"?> " +
|
|
|
"<root> " +
|
|
|
" <serverName>"+api+"</serverName> " +
|
|
|
" <format>xml</format>" +
|
|
|
" <callOperator></callOperator> " +
|
|
|
" <certificate>"+key+"</certificate> " +
|
|
|
"</root>";
|
|
|
String condition ="";
|
|
|
if (StringUtils.isNoneBlank(registerSn)){
|
|
|
condition += "<registerSn>"+registerSn+"</registerSn>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(patNo)){
|
|
|
condition += "<patNo>"+patNo+"</patNo>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(admNo)){
|
|
|
condition += "<admNo>"+admNo+"</admNo>";
|
|
|
}
|
|
|
if (StringUtils.isNoneBlank(realOrder)){
|
|
|
condition += "<realOrder>"+realOrder+"</realOrder>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(startTime)){
|
|
|
condition += "<startTime>"+startTime+"</startTime>";
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNoneBlank(endTime)){
|
|
|
condition += "<endTime>"+endTime+"</endTime>";
|
|
|
}
|
|
|
String msgBody ="<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
|
|
|
"<root>"+condition+"</root>";
|
|
|
|
|
|
Map<String,String> params = new HashedMap();
|
|
|
params.put("msgHeader",msgHeader);
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("getOutpatientCheckTestInfo params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getSelectUrl());
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
logger.info("getOutpatientCheckTestInfo json:"+json);
|
|
|
return json;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 挂号(调his后台包)
|
|
|
* @param doctor 医生ID(必填)
|
|
@ -721,7 +887,7 @@ public class XzzxEntranceService{
|
|
|
params.put("msgHeader",msgHeader);
|
|
|
params.put("msgBody",msgBody);
|
|
|
logger.info("registered params:"+params.toString());
|
|
|
String xml = getXzzxWebServiceInfo("Registered",params,getOperateUrl());
|
|
|
String xml = getXzzxWebServiceInfo("CallInterface",params,getOperateUrl());
|
|
|
XMLSerializer xmlSerializer = new XMLSerializer();
|
|
|
String json = xmlSerializer.read(xml).toString();
|
|
|
logger.info("registered json:"+json);
|
|
@ -1010,7 +1176,6 @@ public class XzzxEntranceService{
|
|
|
*/
|
|
|
public List<WlyyPrescriptionVO> selectOriginPrescriptionList(String registerSn,String patNo,String admNo,String realOrder){
|
|
|
List<WlyyPrescriptionVO> prescriptionVOList = new ArrayList<>();
|
|
|
JSONArray array = new JSONArray();
|
|
|
String response="";
|
|
|
String params = "";
|
|
|
if (StringUtils.isNoneBlank(realOrder)){
|
|
@ -1018,165 +1183,153 @@ public class XzzxEntranceService{
|
|
|
}
|
|
|
String url = entranceUrl+"getOriginPrescriptionList?registerSn="+registerSn+"&patNo="+patNo+"&admNo="+admNo+params;
|
|
|
response = httpClientUtil.get(url,"GBK");
|
|
|
logger.info("response:"+response);
|
|
|
logger.info("处方response:"+response);
|
|
|
JSONObject object = JSONObject.parseObject(response);
|
|
|
if (object.getInteger("status")==200){
|
|
|
JSONArray array = new JSONArray();
|
|
|
array = JSONArray.parseArray(object.getString("obj")).getJSONArray(0);
|
|
|
for (int i=0;i<array.size();i++){
|
|
|
WlyyPrescriptionVO wlyyPrescriptionVO = new WlyyPrescriptionVO();
|
|
|
JSONObject jsonObject = array.getJSONObject(i);
|
|
|
wlyyPrescriptionVO.setId(isEmty(jsonObject.getString("id")));
|
|
|
wlyyPrescriptionVO.setCreateTime(DateUtil.strToDate(isEmty(jsonObject.getString("createTime"))));
|
|
|
wlyyPrescriptionVO.setCreateUser(isEmty(jsonObject.getString("createUser")));
|
|
|
wlyyPrescriptionVO.setCreateUserName(isEmty(jsonObject.getString("createUserName")));
|
|
|
wlyyPrescriptionVO.setUpdateTime(DateUtil.strToDate(isEmty(jsonObject.getString("updateTime"))));
|
|
|
wlyyPrescriptionVO.setUpdateUser(isEmty(jsonObject.getString("updateUser")));
|
|
|
wlyyPrescriptionVO.setUpdateUserName(isEmty(jsonObject.getString("updateUserName")));
|
|
|
wlyyPrescriptionVO.setRealOrder(isEmty(jsonObject.getString("realOrder")));
|
|
|
wlyyPrescriptionVO.setOriginRealOrder(isEmty(jsonObject.getString("originRealOrder")));
|
|
|
wlyyPrescriptionVO.setAdmNo(isEmty(jsonObject.getString("admNo")));
|
|
|
wlyyPrescriptionVO.setOriginAdmNo(isEmty(jsonObject.getString("originAdmNo")));
|
|
|
wlyyPrescriptionVO.setSerialNo(isEmty(jsonObject.getString("serialNo")));
|
|
|
wlyyPrescriptionVO.setOriginSerialNo(isEmty(jsonObject.getString("originSerialNo")));
|
|
|
wlyyPrescriptionVO.setType(jsonObject.getInteger("type"));
|
|
|
wlyyPrescriptionVO.setPatientCode(isEmty(jsonObject.getString("patientCode")));
|
|
|
wlyyPrescriptionVO.setPatientName(isEmty(jsonObject.getString("patientName")));
|
|
|
wlyyPrescriptionVO.setIdcard(isEmty(jsonObject.getString("idcard")));
|
|
|
wlyyPrescriptionVO.setCardNo(isEmty(jsonObject.getString("cardNo")));
|
|
|
wlyyPrescriptionVO.setSsc(isEmty(jsonObject.getString("ssc")));
|
|
|
wlyyPrescriptionVO.setDoctor(isEmty(jsonObject.getString("doctor")));
|
|
|
wlyyPrescriptionVO.setDoctorName(isEmty(jsonObject.getString("doctorName")));
|
|
|
wlyyPrescriptionVO.setStatus(jsonObject.getInteger("status"));
|
|
|
wlyyPrescriptionVO.setMkFailReason(isEmty(jsonObject.getString("mkFailReason")));
|
|
|
wlyyPrescriptionVO.setMkTime(DateUtil.strToDate(isEmty(jsonObject.getString("mkTime"))));
|
|
|
wlyyPrescriptionVO.setPrescribeTime(DateUtil.strToDate(isEmty(jsonObject.getString("prescribeTime"))));
|
|
|
wlyyPrescriptionVO.setPrescribeReason(isEmty(jsonObject.getString("prescribeReason")));
|
|
|
wlyyPrescriptionVO.setPayTime(DateUtil.strToDate(isEmty(jsonObject.getString("payTime"))));
|
|
|
wlyyPrescriptionVO.setDosageTime(DateUtil.strToDate(isEmty(jsonObject.getString("dosageTime"))));
|
|
|
wlyyPrescriptionVO.setFinishTime(DateUtil.strToDate(isEmty(jsonObject.getString(""))));
|
|
|
wlyyPrescriptionVO.setDept(isEmty(jsonObject.getString("dept")));
|
|
|
wlyyPrescriptionVO.setDeptName(isEmty(jsonObject.getString("deptName")));
|
|
|
wlyyPrescriptionVO.setHospital(isEmty(jsonObject.getString("hospital")));
|
|
|
wlyyPrescriptionVO.setHospitalName(isEmty(jsonObject.getString("hospitalName")));
|
|
|
wlyyPrescriptionVO.setConsult(isEmty(jsonObject.getString("consult")));
|
|
|
wlyyPrescriptionVO.setDispensaryType(jsonObject.getInteger("dispensaryType"));
|
|
|
wlyyPrescriptionVO.setReason(isEmty(jsonObject.getString("reason")));
|
|
|
wlyyPrescriptionVO.setDiseaseImg(isEmty(jsonObject.getString("diseaseImg")));
|
|
|
wlyyPrescriptionVO.setRemark(isEmty(jsonObject.getString("remark")));
|
|
|
wlyyPrescriptionVO.setCancelReason(isEmty(jsonObject.getString("cancelReason")));
|
|
|
wlyyPrescriptionVO.setCaCertData(isEmty(jsonObject.getString("caCertData")));
|
|
|
wlyyPrescriptionVO.setCaMessage(isEmty(jsonObject.getString("caMessage")));
|
|
|
wlyyPrescriptionVO.setDigitalSignNo(isEmty(jsonObject.getString("digitalSignNo")));
|
|
|
wlyyPrescriptionVO.setOriginalDataAbstract(isEmty(jsonObject.getString("originalDataAbstract")));
|
|
|
wlyyPrescriptionVO.setStrOriginalData(isEmty(jsonObject.getString("strOriginalData")));
|
|
|
wlyyPrescriptionVO.setHisDeptCode(isEmty(jsonObject.getString("hisDeptCode")));
|
|
|
wlyyPrescriptionVO.setHisDoctorCode(isEmty(jsonObject.getString("hisDoctorCode")));
|
|
|
wlyyPrescriptionVO.setHisGisterTypeCode(isEmty(jsonObject.getString("hisGisterTypeCode")));
|
|
|
wlyyPrescriptionVO.setHisRateTypeCode(isEmty(jsonObject.getString("hisRateTypeCode")));
|
|
|
wlyyPrescriptionVO.setHisHospital(isEmty(jsonObject.getString("hisHospital")));
|
|
|
wlyyPrescriptionVO.setHisRegisterFee(jsonObject.getInteger("hisRegisterFee"));
|
|
|
wlyyPrescriptionVO.setPayStatus(jsonObject.getInteger("payStatus"));
|
|
|
wlyyPrescriptionVO.setCreateTime(DateUtil.strToDate(isEmty(jsonObject.getString("CREATETIME"))));
|
|
|
wlyyPrescriptionVO.setCreateUser(isEmty(jsonObject.getString("CREATEUSER")));
|
|
|
wlyyPrescriptionVO.setCreateUserName(isEmty(jsonObject.getString("CREATENAME")));
|
|
|
wlyyPrescriptionVO.setUpdateTime(DateUtil.strToDate(isEmty(jsonObject.getString("UPDATETIME"))));
|
|
|
wlyyPrescriptionVO.setUpdateUser(isEmty(jsonObject.getString("UPDATEUSER")));
|
|
|
wlyyPrescriptionVO.setUpdateUserName(isEmty(jsonObject.getString("UPDATEUSERNAME")));
|
|
|
wlyyPrescriptionVO.setRealOrder(isEmty(jsonObject.getString("REALORDER")));
|
|
|
wlyyPrescriptionVO.setOriginRealOrder(isEmty(jsonObject.getString("ORIGINREALORDER")));
|
|
|
wlyyPrescriptionVO.setAdmNo(isEmty(jsonObject.getString("ADMNO")));
|
|
|
wlyyPrescriptionVO.setOriginAdmNo(isEmty(jsonObject.getString("ORIGINADMNO")));
|
|
|
wlyyPrescriptionVO.setSerialNo(isEmty(jsonObject.getString("SERIALNO")));
|
|
|
wlyyPrescriptionVO.setOriginSerialNo(isEmty(jsonObject.getString("ORIGINSERIALNO")));
|
|
|
wlyyPrescriptionVO.setType(jsonObject.getInteger("TYPE"));
|
|
|
wlyyPrescriptionVO.setPatientCode(isEmty(jsonObject.getString("PATIENTCODE")));
|
|
|
wlyyPrescriptionVO.setPatientName(isEmty(jsonObject.getString("PATEINTNAME")));
|
|
|
wlyyPrescriptionVO.setIdcard(isEmty(jsonObject.getString("IDCARD")));
|
|
|
wlyyPrescriptionVO.setCardNo(isEmty(jsonObject.getString("CARDNO")));
|
|
|
wlyyPrescriptionVO.setSsc(isEmty(jsonObject.getString("SSC")));
|
|
|
wlyyPrescriptionVO.setDoctor(isEmty(jsonObject.getString("DOCTOR")));
|
|
|
wlyyPrescriptionVO.setDoctorName(isEmty(jsonObject.getString("DOCTORNAME")));
|
|
|
wlyyPrescriptionVO.setStatus(jsonObject.getInteger("STATUS"));
|
|
|
wlyyPrescriptionVO.setMkFailReason(isEmty(jsonObject.getString("MKFAILREASON")));
|
|
|
wlyyPrescriptionVO.setMkTime(DateUtil.strToDate(isEmty(jsonObject.getString("MKTIME"))));
|
|
|
wlyyPrescriptionVO.setPrescribeTime(DateUtil.strToDate(isEmty(jsonObject.getString("PRESCRIBETIME"))));
|
|
|
wlyyPrescriptionVO.setPrescribeReason(isEmty(jsonObject.getString("PRESCRIBEREASON")));
|
|
|
wlyyPrescriptionVO.setPayTime(DateUtil.strToDate(isEmty(jsonObject.getString("PAYTIME"))));
|
|
|
wlyyPrescriptionVO.setDosageTime(DateUtil.strToDate(isEmty(jsonObject.getString("DOSAGETIME"))));
|
|
|
wlyyPrescriptionVO.setFinishTime(DateUtil.strToDate(isEmty(jsonObject.getString("FINISHTIME"))));
|
|
|
wlyyPrescriptionVO.setDept(isEmty(jsonObject.getString("DEPT")));
|
|
|
wlyyPrescriptionVO.setDeptName(isEmty(jsonObject.getString("DEPTNAME")));
|
|
|
wlyyPrescriptionVO.setHospital(isEmty(jsonObject.getString("HOSPITAL")));
|
|
|
wlyyPrescriptionVO.setHospitalName(isEmty(jsonObject.getString("HOSPITALNAME")));
|
|
|
wlyyPrescriptionVO.setConsult(isEmty(jsonObject.getString("CONSULT")));
|
|
|
wlyyPrescriptionVO.setDispensaryType(jsonObject.getInteger("DISPENSARYTYPE"));
|
|
|
wlyyPrescriptionVO.setReason(isEmty(jsonObject.getString("REASON")));
|
|
|
wlyyPrescriptionVO.setDiseaseImg(isEmty(jsonObject.getString("DISEASEIMG")));
|
|
|
wlyyPrescriptionVO.setRemark(isEmty(jsonObject.getString("REMARK")));
|
|
|
wlyyPrescriptionVO.setCancelReason(isEmty(jsonObject.getString("CANCELREASON")));
|
|
|
wlyyPrescriptionVO.setCaCertData(isEmty(jsonObject.getString("CACERTDATA")));
|
|
|
wlyyPrescriptionVO.setCaMessage(isEmty(jsonObject.getString("CAMESSAGE")));
|
|
|
wlyyPrescriptionVO.setDigitalSignNo(isEmty(jsonObject.getString("DIGITALSIGNNO")));
|
|
|
wlyyPrescriptionVO.setOriginalDataAbstract(isEmty(jsonObject.getString("ORIGINALDATAABSTRACT")));
|
|
|
wlyyPrescriptionVO.setStrOriginalData(isEmty(jsonObject.getString("STRORIGINALDATA")));
|
|
|
wlyyPrescriptionVO.setHisDeptCode(isEmty(jsonObject.getString("HISDEPTCODE")));
|
|
|
wlyyPrescriptionVO.setHisDoctorCode(isEmty(jsonObject.getString("HISDOCTORCODE")));
|
|
|
wlyyPrescriptionVO.setHisGisterTypeCode(isEmty(jsonObject.getString("HISGISTERTYPECODE")));
|
|
|
wlyyPrescriptionVO.setHisRateTypeCode(isEmty(jsonObject.getString("HISRATETYPECODE")));
|
|
|
wlyyPrescriptionVO.setHisHospital(isEmty(jsonObject.getString("HISHOSPITAL")));
|
|
|
wlyyPrescriptionVO.setHisRegisterFee(Integer.parseInt(isEmty(jsonObject.getString("HISREGISTERFEE"))));
|
|
|
wlyyPrescriptionVO.setPayStatus(Integer.parseInt(isEmty(jsonObject.getString("PAYSTATUS"))));
|
|
|
//TODO 快递数据
|
|
|
wlyyPrescriptionVO.setDispUser(isEmty(jsonObject.getString("dispUser")));
|
|
|
wlyyPrescriptionVO.setDispUserName(isEmty(jsonObject.getString("dispUserName")));
|
|
|
wlyyPrescriptionVO.setDispDate(DateUtil.strToDate(isEmty(jsonObject.getString("dispDate"))));
|
|
|
wlyyPrescriptionVO.setDispUser(isEmty(jsonObject.getString("DISPUSER")));
|
|
|
wlyyPrescriptionVO.setDispUserName(isEmty(jsonObject.getString("DISPUSERNAME")));
|
|
|
wlyyPrescriptionVO.setDispDate(DateUtil.strToDate(isEmty(jsonObject.getString("DISPDATE"))));
|
|
|
|
|
|
//诊断
|
|
|
List<WlyyPrescriptionDiagnosisVO> prescriptionDiagnosisVOS = new ArrayList<>();
|
|
|
JSONArray jsonArray = jsonObject.getJSONArray("diagnosisVOs");
|
|
|
for (int j=0;j<jsonArray.size();j++){
|
|
|
JSONObject disagnosisJson = jsonArray.getJSONObject(j);
|
|
|
WlyyPrescriptionDiagnosisVO prescriptionDiagnosisVO = new WlyyPrescriptionDiagnosisVO();
|
|
|
prescriptionDiagnosisVO.setId(isEmty(disagnosisJson.getString("id")));
|
|
|
prescriptionDiagnosisVO.setCreateTime(DateUtil.strToDate(isEmty(disagnosisJson.getString("createTime"))));
|
|
|
prescriptionDiagnosisVO.setCreateUser(isEmty(disagnosisJson.getString("createUser")));
|
|
|
prescriptionDiagnosisVO.setCreateUserName(isEmty(disagnosisJson.getString("createUserName")));
|
|
|
prescriptionDiagnosisVO.setUpdateTime(DateUtil.strToDate(isEmty(disagnosisJson.getString("updateTime"))));
|
|
|
prescriptionDiagnosisVO.setUpdateUser(isEmty(disagnosisJson.getString("updateUser")));
|
|
|
prescriptionDiagnosisVO.setUpdateUserName(isEmty(disagnosisJson.getString("updateUserName")));
|
|
|
prescriptionDiagnosisVO.setPrescriptionId(isEmty(disagnosisJson.getString("prescriptionId")));
|
|
|
prescriptionDiagnosisVO.setCode(isEmty(disagnosisJson.getString("code")));
|
|
|
prescriptionDiagnosisVO.setName(isEmty(disagnosisJson.getString("name")));
|
|
|
prescriptionDiagnosisVO.setType(disagnosisJson.getInteger("type"));
|
|
|
prescriptionDiagnosisVOS.add(prescriptionDiagnosisVO);
|
|
|
String disagnosisUrl = entranceUrl+"getOutpatientDiagnosis?registerSn="+registerSn+"&patNo="+patNo+"&admNo="+admNo+"&realOrder="+jsonObject.getString("REALORDER");
|
|
|
String disagnosisResponse = httpClientUtil.get(disagnosisUrl,"GBK");
|
|
|
logger.info("诊断disagnosisResponse:"+disagnosisResponse);
|
|
|
JSONObject object1 = JSONObject.parseObject(disagnosisResponse);
|
|
|
if (object1.getString("status").equalsIgnoreCase("200")){
|
|
|
JSONArray jsonArray = object1.getJSONArray("obj").getJSONArray(0);
|
|
|
List<WlyyPrescriptionDiagnosisVO> prescriptionDiagnosisVOS = new ArrayList<>();
|
|
|
for (int j=0;j<jsonArray.size();j++){
|
|
|
JSONObject disagnosisJson = jsonArray.getJSONObject(j);
|
|
|
WlyyPrescriptionDiagnosisVO prescriptionDiagnosisVO = new WlyyPrescriptionDiagnosisVO();
|
|
|
prescriptionDiagnosisVO.setCode(isEmty(disagnosisJson.getString("DIAGNOSECODE")));
|
|
|
prescriptionDiagnosisVO.setName(isEmty(disagnosisJson.getString("DIAGNOSENAME")));
|
|
|
prescriptionDiagnosisVO.setType(disagnosisJson.getInteger("DIAGNOSETYPE"));
|
|
|
prescriptionDiagnosisVOS.add(prescriptionDiagnosisVO);
|
|
|
}
|
|
|
wlyyPrescriptionVO.setDiagnosisVOs(prescriptionDiagnosisVOS);
|
|
|
}
|
|
|
wlyyPrescriptionVO.setDiagnosisVOs(prescriptionDiagnosisVOS);
|
|
|
//药品
|
|
|
List<WlyyPrescriptionInfoVO> wlyyPrescriptionInfoVOList = new ArrayList<>();
|
|
|
JSONArray infoArray = jsonObject.getJSONArray("infoVOs");
|
|
|
for (int j=0;j<infoArray.size();j++){
|
|
|
WlyyPrescriptionInfoVO prescriptionInfoVO = new WlyyPrescriptionInfoVO();
|
|
|
JSONObject infoJson = infoArray.getJSONObject(j);
|
|
|
prescriptionInfoVO.setId(isEmty(infoJson.getString("id")));
|
|
|
prescriptionInfoVO.setCreateTime(DateUtil.strToDate(isEmty(infoJson.getString("createTime"))));
|
|
|
prescriptionInfoVO.setCreateUser(isEmty(infoJson.getString("createUser")));
|
|
|
prescriptionInfoVO.setCreateUserName(infoJson.getString("createUserName"));
|
|
|
prescriptionInfoVO.setUpdateTime(DateUtil.strToDate(isEmty(infoJson.getString("updateTime"))));
|
|
|
prescriptionInfoVO.setUpdateUser(isEmty(infoJson.getString("updateUser")));
|
|
|
prescriptionInfoVO.setUpdateUserName(isEmty(infoJson.getString("updateUserName")));
|
|
|
prescriptionInfoVO.setPrescriptionId(isEmty(infoJson.getString("prescriptionId")));
|
|
|
prescriptionInfoVO.setDrugNo(isEmty(infoJson.getString("drugNo")));
|
|
|
prescriptionInfoVO.setDrugName(isEmty(infoJson.getString("drugName")));
|
|
|
prescriptionInfoVO.setDispDeposite(isEmty(infoJson.getString("dispDeposite")));
|
|
|
prescriptionInfoVO.setDosage(isEmty(infoJson.getString("dosage")));
|
|
|
prescriptionInfoVO.setQuantity(isEmty(infoJson.getString("quantity")));
|
|
|
prescriptionInfoVO.setUnit(isEmty(infoJson.getString("unit")));
|
|
|
prescriptionInfoVO.setUnitName(isEmty(infoJson.getString("unitName")));
|
|
|
prescriptionInfoVO.setPackUnitName(isEmty(infoJson.getString("packUnitName")));
|
|
|
prescriptionInfoVO.setPackUnit(isEmty(infoJson.getString("packUnit")));
|
|
|
prescriptionInfoVO.setUsageCode(isEmty(infoJson.getString("usageCode")));
|
|
|
prescriptionInfoVO.setUsageName(isEmty(infoJson.getString("usageName")));
|
|
|
prescriptionInfoVO.setSupplyCode(isEmty(infoJson.getString("supplyCode")));
|
|
|
prescriptionInfoVO.setSupplyName(isEmty(infoJson.getString("supplyName")));
|
|
|
prescriptionInfoVO.setDays(isEmty(infoJson.getString("days")));
|
|
|
prescriptionInfoVO.setFrequency(isEmty(infoJson.getString("frequency")));
|
|
|
prescriptionInfoVO.setSerial(isEmty(infoJson.getString("serial")));
|
|
|
prescriptionInfoVO.setGroupNo(isEmty(infoJson.getString("groupNo")));
|
|
|
prescriptionInfoVO.setSpecification(isEmty(infoJson.getString("specification")));
|
|
|
prescriptionInfoVO.setPackRetprice(infoJson.getDouble("packRetprice"));
|
|
|
prescriptionInfoVO.setHerbalCount(isEmty(infoJson.getString("herbalCount")));
|
|
|
prescriptionInfoVO.setPostCount(isEmty(infoJson.getString("postCount")));
|
|
|
prescriptionInfoVO.setDel(infoJson.getInteger("del"));
|
|
|
prescriptionInfoVO.setComm(infoJson.getString("comm"));
|
|
|
wlyyPrescriptionInfoVOList.add(prescriptionInfoVO);
|
|
|
|
|
|
String infoUrl = entranceUrl+"getOutpatientDrugInfo?registerSn="+registerSn+"&patNo="+patNo+"&admNo="+admNo+"&realOrder="+jsonObject.getString("REALORDER");
|
|
|
String infoResponse = httpClientUtil.get(infoUrl,"GBK");
|
|
|
logger.info("药品infoResponse:"+infoResponse);
|
|
|
JSONObject infoObject = JSONObject.parseObject(infoResponse);
|
|
|
if (infoObject.getString("status").equalsIgnoreCase("200")) {
|
|
|
JSONArray infoArray = infoObject.getJSONArray("obj").getJSONArray(0);
|
|
|
//药品
|
|
|
List<WlyyPrescriptionInfoVO> wlyyPrescriptionInfoVOList = new ArrayList<>();
|
|
|
for (int j=0;j<infoArray.size();j++){
|
|
|
WlyyPrescriptionInfoVO prescriptionInfoVO = new WlyyPrescriptionInfoVO();
|
|
|
JSONObject infoJson = infoArray.getJSONObject(j);
|
|
|
prescriptionInfoVO.setDrugNo(isEmty(infoJson.getString("DRUGNO")));
|
|
|
prescriptionInfoVO.setDrugName(isEmty(infoJson.getString("DRUGNAME")));
|
|
|
prescriptionInfoVO.setDispDeposite(isEmty(infoJson.getString("DISPDEPOSITE")));
|
|
|
prescriptionInfoVO.setDosage(isEmty(infoJson.getString("DOSAGE")));
|
|
|
prescriptionInfoVO.setQuantity(isEmty(infoJson.getString("QUANTITY")));
|
|
|
prescriptionInfoVO.setUnit(isEmty(infoJson.getString("UNIT")));
|
|
|
prescriptionInfoVO.setUnitName(isEmty(infoJson.getString("UNITNAME")));
|
|
|
prescriptionInfoVO.setPackUnitName(isEmty(infoJson.getString("PACKUNITNAME")));
|
|
|
prescriptionInfoVO.setPackUnit(isEmty(infoJson.getString("PACKUNIT")));
|
|
|
prescriptionInfoVO.setUsageCode(isEmty(infoJson.getString("USAGECODE")));
|
|
|
prescriptionInfoVO.setUsageName(isEmty(infoJson.getString("USAGENAME")));
|
|
|
prescriptionInfoVO.setSupplyCode(isEmty(infoJson.getString("SUPPLYCODE")));
|
|
|
prescriptionInfoVO.setSupplyName(isEmty(infoJson.getString("SUPPLYNAME")));
|
|
|
prescriptionInfoVO.setDays(isEmty(infoJson.getString("DAYS")));
|
|
|
prescriptionInfoVO.setFrequency(isEmty(infoJson.getString("FREQUENCY")));
|
|
|
prescriptionInfoVO.setSerial(isEmty(infoJson.getString("SERIAL")));
|
|
|
/* prescriptionInfoVO.setGroupNo(isEmty(infoJson.getString("groupNo")));*/
|
|
|
prescriptionInfoVO.setSpecification(isEmty(infoJson.getString("SPECIFICATION")));
|
|
|
prescriptionInfoVO.setPackRetprice(infoJson.getDouble("PACKRETPRICE"));
|
|
|
prescriptionInfoVO.setHerbalCount(isEmty(infoJson.getString("HERBALCOUNT")));
|
|
|
prescriptionInfoVO.setPostCount(isEmty(infoJson.getString("POSTCOUNT")));
|
|
|
prescriptionInfoVO.setDel(infoJson.getInteger("DEL"));
|
|
|
prescriptionInfoVO.setComm(infoJson.getString("COMM"));
|
|
|
wlyyPrescriptionInfoVOList.add(prescriptionInfoVO);
|
|
|
wlyyPrescriptionVO.setInfoVOs(wlyyPrescriptionInfoVOList);
|
|
|
}
|
|
|
}
|
|
|
wlyyPrescriptionVO.setInfoVOs(wlyyPrescriptionInfoVOList);
|
|
|
|
|
|
//检查检验内容
|
|
|
List<WlyyInspectionVO> wlyyInspectionVOList = new ArrayList<>();
|
|
|
JSONArray inspectionArray = jsonObject.getJSONArray("inspectionVOs");
|
|
|
for (int j=0;j<inspectionArray.size();j++){
|
|
|
WlyyInspectionVO inspectionVO = new WlyyInspectionVO();
|
|
|
JSONObject inspectionJson = inspectionArray.getJSONObject(j);
|
|
|
inspectionVO.setId(isEmty(inspectionJson.getString("id")));
|
|
|
inspectionVO.setOutpatientId(isEmty(inspectionJson.getString("outpatientId")));
|
|
|
inspectionVO.setDept(isEmty(inspectionJson.getString("dept")));
|
|
|
inspectionVO.setDeptName(isEmty(inspectionJson.getString("deptName")));
|
|
|
inspectionVO.setGroupName(isEmty(inspectionJson.getString("groupName")));
|
|
|
inspectionVO.setQuantity(inspectionJson.getInteger("quantity"));
|
|
|
inspectionVO.setFrequency(isEmty(inspectionJson.getString("frequency")));
|
|
|
inspectionVO.setParentCode(isEmty(inspectionJson.getString("parentCode")));
|
|
|
inspectionVO.setParentName(isEmty(inspectionJson.getString("parentName")));
|
|
|
inspectionVO.setCode(isEmty(inspectionJson.getString("code")));
|
|
|
inspectionVO.setName(isEmty(inspectionJson.getString("name")));
|
|
|
inspectionVO.setInformation(isEmty(inspectionJson.getString("information")));
|
|
|
inspectionVO.setCheckEquip(isEmty(inspectionJson.getString("checkEquip")));
|
|
|
inspectionVO.setCheckPartName(isEmty(inspectionJson.getString("checkPartName")));
|
|
|
inspectionVO.setCheckPart(isEmty(inspectionJson.getString("checkPart")));
|
|
|
inspectionVO.setAdresult(isEmty(inspectionJson.getString("adresult")));
|
|
|
inspectionVO.setGoal(isEmty(inspectionJson.getString("goal")));
|
|
|
inspectionVO.setOpview(isEmty(inspectionJson.getString("opview")));
|
|
|
inspectionVO.setSpecimenName(isEmty(inspectionJson.getString("specimenName")));
|
|
|
inspectionVO.setSpecimenNum(isEmty(inspectionJson.getString("specimenNum")));
|
|
|
inspectionVO.setYwjcResult(isEmty(inspectionJson.getString("ywjcResult")));
|
|
|
inspectionVO.setYwjcDate(isEmty(inspectionJson.getString("ywjcDate")));
|
|
|
inspectionVO.setBlzd(isEmty(inspectionJson.getString("blzd")));
|
|
|
inspectionVO.setFixationfluid(isEmty(inspectionJson.getString("fixationfluid")));
|
|
|
inspectionVO.setCreateTime(DateUtil.strToDate(isEmty(inspectionJson.getString("createTime"))));
|
|
|
inspectionVO.setCheckbox(isEmty(inspectionJson.getString("checkbox")));
|
|
|
inspectionVO.setMzpg(isEmty(inspectionJson.getString("mzpg")));
|
|
|
inspectionVO.setSfzg(isEmty(inspectionJson.getString("sfzg")));
|
|
|
wlyyInspectionVOList.add(inspectionVO);
|
|
|
String inspectionUrl = entranceUrl+"getOutpatientCheckTestInfo?registerSn="+registerSn+"&patNo="+patNo+"&admNo="+admNo+"&realOrder="+jsonObject.getString("REALORDER");
|
|
|
String inspectionResponse = httpClientUtil.get(inspectionUrl,"GBK");
|
|
|
logger.info("检查检验内容inspectionResponse:"+inspectionResponse);
|
|
|
JSONObject inspectionObject = JSONObject.parseObject(inspectionResponse);
|
|
|
if (inspectionObject.getString("status").equalsIgnoreCase("200")) {
|
|
|
List<WlyyInspectionVO> wlyyInspectionVOList = new ArrayList<>();
|
|
|
JSONArray inspectionArray = inspectionObject.getJSONArray("obj").getJSONArray(0);
|
|
|
for (int j=0;j<inspectionArray.size();j++){
|
|
|
WlyyInspectionVO inspectionVO = new WlyyInspectionVO();
|
|
|
JSONObject inspectionJson = inspectionArray.getJSONObject(j);
|
|
|
inspectionVO.setGroupName(isEmty(inspectionJson.getString("GROUPNAME")));
|
|
|
inspectionVO.setQuantity(Integer.parseInt(isEmty(inspectionJson.getString("QUANTITYS"))));
|
|
|
inspectionVO.setFrequency(isEmty(inspectionJson.getString("FREQUENCYS")));
|
|
|
inspectionVO.setParentCode(isEmty(inspectionJson.getString("PARENTCODE")));
|
|
|
inspectionVO.setParentName(isEmty(inspectionJson.getString("PARENTCODENAME")));
|
|
|
inspectionVO.setCode(isEmty(inspectionJson.getString("CODES")));
|
|
|
inspectionVO.setName(isEmty(inspectionJson.getString("NAMES")));
|
|
|
inspectionVO.setInformation(isEmty(inspectionJson.getString("INFORMATION")));
|
|
|
inspectionVO.setCheckEquip(isEmty(inspectionJson.getString("CHECKEQUIP")));
|
|
|
inspectionVO.setCheckPartName(isEmty(inspectionJson.getString("CHECKPARTNAME")));
|
|
|
inspectionVO.setCheckPart(isEmty(inspectionJson.getString("CHECKPART")));
|
|
|
wlyyInspectionVOList.add(inspectionVO);
|
|
|
}
|
|
|
wlyyPrescriptionVO.setInspectionVOs(wlyyInspectionVOList);
|
|
|
}
|
|
|
wlyyPrescriptionVO.setInspectionVOs(wlyyInspectionVOList);
|
|
|
}
|
|
|
}
|
|
|
return prescriptionVOList;
|
|
@ -1299,7 +1452,7 @@ public class XzzxEntranceService{
|
|
|
}
|
|
|
|
|
|
|
|
|
/* public Map<String,Object> updatePreStatus(String admNo,String realOrder,String status) throws Exception {
|
|
|
public Map<String,Object> updatePreStatus(String admNo,String realOrder,String status) throws Exception {
|
|
|
Map<String,Object> map = new HashedMap();
|
|
|
List<WlyyOutpatientDO> wlyyOutpatientDOList = outpatientDao.findByAdmNo(admNo);
|
|
|
if (wlyyOutpatientDOList!=null&&wlyyOutpatientDOList.size()!=0){
|
|
@ -1315,8 +1468,7 @@ public class XzzxEntranceService{
|
|
|
if (prescriptionDOList==null||prescriptionDOList.size()==0){
|
|
|
List<WlyyPrescriptionVO> prescriptionVOList = selectOriginPrescriptionList(registerNo,patientMappingDO.getMappingCode(),admNo,realOrder);
|
|
|
for (WlyyPrescriptionVO prescriptionVO:prescriptionVOList){
|
|
|
WlyyPrescriptionDO prescriptionDO = new WlyyPrescriptionDO();
|
|
|
BeanUtils.copyProperties(prescriptionVO, prescriptionDO);
|
|
|
WlyyPrescriptionDO prescriptionDO =JSONObject.toJavaObject(JSONObject.parseObject(JSONObject.toJSONString(prescriptionVO)),WlyyPrescriptionDO.class);
|
|
|
prescriptionDO.setOutpatientId(wlyyOutpatientDO.getId());
|
|
|
if (status.equalsIgnoreCase("3")){
|
|
|
prescriptionDO.setStatus(30);
|
|
@ -1325,23 +1477,21 @@ public class XzzxEntranceService{
|
|
|
//处方诊断表vo
|
|
|
List<WlyyPrescriptionDiagnosisVO> diagnosisVOS = prescriptionVO.getDiagnosisVOs();
|
|
|
for (WlyyPrescriptionDiagnosisVO diagnosisVO:diagnosisVOS){
|
|
|
WlyyPrescriptionDiagnosisDO prescriptionDiagnosisDO = new WlyyPrescriptionDiagnosisDO();
|
|
|
BeanUtils.copyProperties(diagnosisVO,prescriptionDiagnosisDO);
|
|
|
WlyyPrescriptionDiagnosisDO prescriptionDiagnosisDO = JSONObject.toJavaObject(JSONObject.parseObject(JSONObject.toJSONString(diagnosisVO)),WlyyPrescriptionDiagnosisDO.class);
|
|
|
prescriptionDiagnosisDO.setPrescriptionId(prescriptionDO.getId());
|
|
|
diagnosisDao.save(prescriptionDiagnosisDO);
|
|
|
}
|
|
|
//药品表
|
|
|
List<WlyyPrescriptionInfoVO> infoVOList = prescriptionVO.getInfoVOs();
|
|
|
for (WlyyPrescriptionInfoVO infoVO:infoVOList){
|
|
|
WlyyPrescriptionInfoDO infoDO = new WlyyPrescriptionInfoDO();
|
|
|
BeanUtils.copyProperties(infoVO,infoDO);
|
|
|
WlyyPrescriptionInfoDO infoDO = JSONObject.toJavaObject(JSONObject.parseObject(JSONObject.toJSONString(infoVO)),WlyyPrescriptionInfoDO.class);
|
|
|
infoDO.setPrescriptionId(prescriptionDO.getId());
|
|
|
prescriptionInfoDao.save(infoDO);
|
|
|
}
|
|
|
|
|
|
List<WlyyInspectionVO> inspectionVOList = prescriptionVO.getInspectionVOs();
|
|
|
for (WlyyInspectionVO inspectionVO:inspectionVOList){
|
|
|
WlyyInspectionDO inspectionDO = new WlyyInspectionDO();
|
|
|
WlyyInspectionDO inspectionDO = JSONObject.toJavaObject(JSONObject.parseObject(JSONObject.toJSONString(inspectionVO)),WlyyInspectionDO.class);
|
|
|
BeanUtils.copyProperties(inspectionVO,inspectionDO);
|
|
|
inspectionDO.setPrescriptionId(prescriptionDO.getId());
|
|
|
wlyyInspectionDao.save(inspectionDO);
|
|
@ -1350,7 +1500,7 @@ public class XzzxEntranceService{
|
|
|
}
|
|
|
}
|
|
|
return map;
|
|
|
}*/
|
|
|
}
|
|
|
|
|
|
|
|
|
|