20250403 更新

1.推送普通检材定性记录 非红外报告数据
master
陈江保 2 weeks ago
parent 6a364cdcea
commit 090e1c4709
  1. 3
      dlp-drugtesting-biz/src/main/java/digital/laboratory/platform/inspection/service/impl/PushDataToLabsCareServiceImpl.java

@ -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) -> {

Loading…
Cancel
Save