20250403 更新
1.推送普通检材定性记录 非红外报告数据
This commit is contained in:
+1
-2
@@ -161,7 +161,7 @@ public class PushDataToLabsCareServiceImpl implements PushDataToLabsCareService
|
|||||||
String successFlag = NON_INFRARED_GENERAL_QUALITATIVE_RECORD + ":true";
|
String successFlag = NON_INFRARED_GENERAL_QUALITATIVE_RECORD + ":true";
|
||||||
String failureFlag = NON_INFRARED_GENERAL_QUALITATIVE_RECORD + ":false";
|
String failureFlag = NON_INFRARED_GENERAL_QUALITATIVE_RECORD + ":false";
|
||||||
try {
|
try {
|
||||||
ResponseEntity<String> response = exchangeRemoteApi(recordJsonPayload, apiPathProperties.getBiologyQualitativeRecord());
|
ResponseEntity<String> response = exchangeRemoteApi(recordJsonPayload, apiPathProperties.getNonInfraredGeneralQualitativeRecord());
|
||||||
|
|
||||||
if (response.getStatusCode().is2xxSuccessful() && response.getBody().contains("\"status\":200")) {
|
if (response.getStatusCode().is2xxSuccessful() && response.getBody().contains("\"status\":200")) {
|
||||||
updatePushFlag(entrustInfo, NON_INFRARED_GENERAL_QUALITATIVE_RECORD, successFlag);
|
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("sprqm", testUser.getName()); // 检测人2
|
||||||
jsonObject.set("tpfj", NULL_PLACEHOLDER); // 图谱
|
jsonObject.set("tpfj", NULL_PLACEHOLDER); // 图谱
|
||||||
jsonObject.set("wtdw", entrustInfo.getEntrustDepartment());
|
jsonObject.set("wtdw", entrustInfo.getEntrustDepartment());
|
||||||
jsonObject.set("swmbw", stdStr); // 生物检测目标物
|
|
||||||
// 普通检材定性记录 非红外样品信息
|
// 普通检材定性记录 非红外样品信息
|
||||||
List<JSONObject> sampleJsonList = new ArrayList<>();
|
List<JSONObject> sampleJsonList = new ArrayList<>();
|
||||||
testDataGroupBySampleNO.forEach((sampleNo, testDataList) -> {
|
testDataGroupBySampleNO.forEach((sampleNo, testDataList) -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user