|
|
|
@ -161,7 +161,7 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService |
|
|
|
|
String successFlag = NON_INFRARED_GENERAL_QUALITATIVE_RECORD + ":true"; |
|
|
|
|
String failureFlag = NON_INFRARED_GENERAL_QUALITATIVE_RECORD + ":false"; |
|
|
|
|
try { |
|
|
|
|
ResponseEntity<String> response = exchangeRemoteApi(recordJsonPayload, apiPathProperties.getBiologyQualitativeRecord()); |
|
|
|
|
ResponseEntity<String> response = exchangeRemoteApi(recordJsonPayload, apiPathProperties.getNonInfraredGeneralQualitativeRecord()); |
|
|
|
|
|
|
|
|
|
if (response.getStatusCode().is2xxSuccessful() && response.getBody().contains("\"status\":200")) { |
|
|
|
|
updatePushFlag(entrustInfo, NON_INFRARED_GENERAL_QUALITATIVE_RECORD, successFlag); |
|
|
|
@ -387,7 +387,6 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService |
|
|
|
|
jsonObject.set("sprqm", testUser.getName()); // 检测人2
|
|
|
|
|
jsonObject.set("tpfj", NULL_PLACEHOLDER); // 图谱
|
|
|
|
|
jsonObject.set("wtdw", entrustInfo.getEntrustDepartment()); |
|
|
|
|
jsonObject.set("swmbw", stdStr); // 生物检测目标物
|
|
|
|
|
// 普通检材定性记录 非红外样品信息
|
|
|
|
|
List<JSONObject> sampleJsonList = new ArrayList<>(); |
|
|
|
|
testDataGroupBySampleNO.forEach((sampleNo, testDataList) -> { |
|
|
|
|