From 92bce1a11f09c4bea15eef2e3ab1e3bdd99dee84 Mon Sep 17 00:00:00 2001 From: chen <2710907404@qq.com> Date: Tue, 11 Mar 2025 17:54:07 +0800 Subject: [PATCH] =?UTF-8?q?20250311=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PushDataToLabsCareEventListener.java | 22 ++++++++++++------- src/main/resources/bootstrap.yml | 15 ++++++------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/main/java/digital/laboratory/platform/entrustment/listener/PushDataToLabsCareEventListener.java b/src/main/java/digital/laboratory/platform/entrustment/listener/PushDataToLabsCareEventListener.java index fd38eb0..35eb11b 100644 --- a/src/main/java/digital/laboratory/platform/entrustment/listener/PushDataToLabsCareEventListener.java +++ b/src/main/java/digital/laboratory/platform/entrustment/listener/PushDataToLabsCareEventListener.java @@ -46,7 +46,10 @@ public class PushDataToLabsCareEventListener implements ApplicationListener dataMap) { JSONObject jsonObject = new JSONObject(); - jsonObject.set("afsj", entrustVO.getHappenTime()); - jsonObject.set("ajmc", entrustVO.getCaseName()); - jsonObject.set("jyaq", entrustVO.getCaseBrief()); - jsonObject.set("sjr1", entrustVO.getDeliverer1Name()); + jsonObject.set("afsj", entrustVO.getHappenTime()); // 案发时间 + jsonObject.set("ajmc", entrustVO.getCaseName()); // 案事件名称 + jsonObject.set("dwgz", NULL_PLACEHOLDER); // 单位盖章 + jsonObject.set("jyaq", entrustVO.getCaseBrief()); // 简要案情 + jsonObject.set("sjdwfzr", NULL_PLACEHOLDER); // 单位负责人签名 + jsonObject.set("sjr1", entrustVO.getDeliverer1Name()); // 送检人 jsonObject.set("sjr2", entrustVO.getDeliverer2Name()); jsonObject.set("sjr1dh", entrustVO.getDeliverer1Phone()); jsonObject.set("sjr2dh", entrustVO.getDeliverer2Phone()); jsonObject.set("slrq", entrustVO.getAcceptTime().format(formatter)); + jsonObject.set("type", NULL_PLACEHOLDER); jsonObject.set("wtdw", entrustVO.getClientOrgName()); jsonObject.set("wtsj", entrustVO.getEntrustmentTime().format(formatter)); jsonObject.set("yjdqk", entrustVO.getOldIdentificationResult()); diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml index 5687530..754f228 100644 --- a/src/main/resources/bootstrap.yml +++ b/src/main/resources/bootstrap.yml @@ -79,11 +79,10 @@ config: pub-sub-domain: true msgListener: hardwareTopicName: hardware -countryDrugSystem: - apiPath: - tokenPath: /api/token - taskListPath: /api/sample/environment/sample # 污水样品列表查询 - receivePath: /api/sample/environment/receive # 样品签收 - rejectPath: /api/sample/environment/reject # 样品拒收 - returnPath: /api/sample/environment/return # 样品退回 - closePath: /api/sample/environment/close # 样品作废申请 +# 贵阳禁毒情报平台推送数据配置 +gyjd: + labscare: + api: + host: http://lc2203.cdn.labscare.com + entrust-letter: /thirdparty/report-generate/jianDingWeiTuoShuReport/v1 + confirm-letter: /thirdparty/report-generate/jianDingShiXiangQueRenShuReport/v1