This commit is contained in:
parent
8bcf6bc05c
commit
91f337cdb5
|
|
@ -254,4 +254,12 @@ public class SocialRequest {
|
||||||
JSONObject jsonObject = httpUtil.callBackMsgId("3101", "data", im3101.buildToMap(), 10000);
|
JSONObject jsonObject = httpUtil.callBackMsgId("3101", "data", im3101.buildToMap(), 10000);
|
||||||
DebugUtil.out(jsonObject);
|
DebugUtil.out(jsonObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public JSONObject callMerge31013102(Map<String,Object> map,String code) {
|
||||||
|
JSONObject jsonObject = httpUtil.callBackMsgId(code, "data", map, 10000);
|
||||||
|
|
||||||
|
DebugUtil.out(jsonObject);
|
||||||
|
|
||||||
|
return jsonObject;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ import com.syjiaer.clinic.server.common.config.Config;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Service
|
@Service
|
||||||
|
|
@ -172,16 +173,20 @@ public class CheckService extends BaseService {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
makeRequest(socialUserInfo,patientRegistrationInfo,diagnosis,record,organizationMember);
|
Map<String,Object> requestMap = mergeRequestParam(socialUserInfo,patientRegistrationInfo,diagnosis,record,organizationMember);
|
||||||
|
|
||||||
|
loggerInfo("组织请求接口数据",requestMap);
|
||||||
|
|
||||||
|
Map<String,Object> callResult = socialRequest.callMerge31013102(requestMap,imCode);
|
||||||
|
|
||||||
|
loggerInfo("调用成功",callResult);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("事前事中:error_message:{}",e.getMessage());
|
log.error("事前事中:error_message:{}",e.getMessage());
|
||||||
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void makeRequest(SocialUser socialUser,PatientRegistration patientRegistration,Diagnosis diagnosis,DiagnosisMedicalRecord record,OrganizationMember organizationMember)
|
public Map<String,Object> mergeRequestParam(SocialUser socialUser, PatientRegistration patientRegistration, Diagnosis diagnosis, DiagnosisMedicalRecord record, OrganizationMember organizationMember)
|
||||||
{
|
{
|
||||||
IM3101 im3101 = new IM3101();
|
IM3101 im3101 = new IM3101();
|
||||||
|
|
||||||
|
|
@ -426,7 +431,7 @@ public class CheckService extends BaseService {
|
||||||
fsiEncounterDtos.setReimFlag("1");
|
fsiEncounterDtos.setReimFlag("1");
|
||||||
fsiEncounterDtos.setOutSetlFlag("0");
|
fsiEncounterDtos.setOutSetlFlag("0");
|
||||||
|
|
||||||
socialRequest.call3101(im3101);
|
// socialRequest.call3101(im3101);
|
||||||
|
return im3101.buildToMap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue