From 92e01d90e56241dea49bef83cde63a6ae6d3b376 Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 25 Sep 2024 09:19:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=BC=82=E5=B8=B8=E7=9A=84=E7=9F=AD=E4=BF=A1=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alarm/pom.xml | 1 + .../java/com/yingji/mapper/AlarmMapper.java | 7 ++++ .../java/com/yingji/quartz/AlarmQuartz.java | 30 +++++++++++++++-- .../java/com/yingji/service/AlarmService.java | 7 ++++ .../yingji/service/impl/AlarmServiceImpl.java | 13 ++++++++ .../resources/mapper/yingji/AlarmMapper.xml | 7 ++++ fire/pom.xml | 1 + .../java/com/yingji/mapper/FireMapper.java | 8 +++++ .../java/com/yingji/quartz/FireQuartz.java | 26 +++++++++++++-- .../java/com/yingji/service/FireService.java | 9 +++++- .../yingji/service/impl/FireServiceImpl.java | 13 ++++++++ .../com/yingji/mapper/FireMapper.xml | 7 ++++ page/pom.xml | 1 + .../com/yingji/controller/FireController.java | 10 ++++++ pom.xml | 32 ------------------- rescue/pom.xml | 1 + .../com/yingji/quartz/AccidentQuartz.java | 19 ++++++++++- .../com/yingji/service/AccidentService.java | 9 +++++- .../java/com/yingji/service/EventService.java | 8 +++++ .../service/impl/AccidentServiceImpl.java | 18 ++++++----- .../yingji/service/impl/EventServiceImpl.java | 15 +++++++++ utils/pom.xml | 11 +------ utils/src/main/java/com/utils/SmsUtil.java | 13 ++++++-- 23 files changed, 206 insertions(+), 60 deletions(-) diff --git a/alarm/pom.xml b/alarm/pom.xml index 9ef63ba..7aac696 100644 --- a/alarm/pom.xml +++ b/alarm/pom.xml @@ -22,6 +22,7 @@ com.yingji utils + 0.0.1-SNAPSHOT diff --git a/alarm/src/main/java/com/yingji/mapper/AlarmMapper.java b/alarm/src/main/java/com/yingji/mapper/AlarmMapper.java index 6208218..15e24c6 100644 --- a/alarm/src/main/java/com/yingji/mapper/AlarmMapper.java +++ b/alarm/src/main/java/com/yingji/mapper/AlarmMapper.java @@ -28,5 +28,12 @@ public interface AlarmMapper extends BaseMapper { * @param list 数据 */ int saveAll(List list); + + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ + LocalDateTime findNewTime(); } diff --git a/alarm/src/main/java/com/yingji/quartz/AlarmQuartz.java b/alarm/src/main/java/com/yingji/quartz/AlarmQuartz.java index 1dad5b4..d556e22 100644 --- a/alarm/src/main/java/com/yingji/quartz/AlarmQuartz.java +++ b/alarm/src/main/java/com/yingji/quartz/AlarmQuartz.java @@ -6,6 +6,7 @@ import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.StrUtil; import cn.hutool.http.HttpRequest; import cn.hutool.json.JSONUtil; +import com.utils.SmsUtil; import com.yingji.entity.Alarm; import com.yingji.entity.QuartzLog; import com.yingji.entity.dto.request.AlarmRequest; @@ -18,6 +19,7 @@ import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Scheduled; import javax.annotation.Resource; +import java.time.Duration; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; @@ -62,14 +64,23 @@ public class AlarmQuartz { addList(idList, token); // 110算法接口 if (CollectionUtil.isNotEmpty(idList)) { - emergencyAlgorithm(); + try { + emergencyAlgorithm(); + } catch (Exception e) { + // 调用短信接口 + SmsUtil.sendSms("110调用算法接口异常", null); + } } quartzLog.setStatus(1); } else { quartzLog.setStatus(2); - log.error("============110算法接口获取token失败============="); + // 调用短信接口 + SmsUtil.sendSms("110原始接口获取token失败", null); + log.error("============110原始接口获取token失败============="); } } catch (Exception e) { + // 调用短信接口 + SmsUtil.sendSms("110原始接口调用失败", null); quartzLog.setStatus(2); e.printStackTrace(); } finally { @@ -148,6 +159,17 @@ public class AlarmQuartz { if (StrUtil.isEmpty(token)) { return idList; } + // 获取数据库中最新的创建时间 + LocalDateTime newTime = alarmService.findNewTime(); + // 获取当前时间 + LocalDateTime currentTime = LocalDateTime.now(); + // 计算两者之间的持续时间 + Duration duration = Duration.between(newTime, currentTime); + // 判断时间差是否大于一小时 + if (duration.toHours() > 1) { + // 调用短信接口 + SmsUtil.sendSms("110原始接口超过1小时无数据", null); + } // 获取数据库中最新的时间 LocalDateTime nowTime = alarmService.findNowTime(); log.info("==========================获取数据库中最新的时间{}", nowTime); @@ -167,7 +189,9 @@ public class AlarmQuartz { req.setPageIndex(pageIndex); req.setPageSize(pageSize); List data = alarmService.findDataIdList(req, token); - idList.addAll(data); + if (CollectionUtil.isNotEmpty(data)) { + idList.addAll(data); + } /* while (true) { List data = alarmService.findDataIdList(req, token); if (data == null) { diff --git a/alarm/src/main/java/com/yingji/service/AlarmService.java b/alarm/src/main/java/com/yingji/service/AlarmService.java index 36b5314..3e091f7 100644 --- a/alarm/src/main/java/com/yingji/service/AlarmService.java +++ b/alarm/src/main/java/com/yingji/service/AlarmService.java @@ -54,5 +54,12 @@ public interface AlarmService extends IService { * @param list 数据 */ int saveAll(List list); + + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ + LocalDateTime findNewTime(); } diff --git a/alarm/src/main/java/com/yingji/service/impl/AlarmServiceImpl.java b/alarm/src/main/java/com/yingji/service/impl/AlarmServiceImpl.java index 574ef92..b5fe5d0 100644 --- a/alarm/src/main/java/com/yingji/service/impl/AlarmServiceImpl.java +++ b/alarm/src/main/java/com/yingji/service/impl/AlarmServiceImpl.java @@ -72,6 +72,9 @@ public class AlarmServiceImpl extends ServiceImpl implements .execute().body(); log.info("==========================================="); log.info("++++++++++++++++" + body + "++++++++++++++"); + if (body.contains("Time-out")) { + return null; + } JSONObject json = JSONObject.parse(body); Object response = json.get("response"); if (BeanUtil.isNotEmpty(response)) { @@ -183,5 +186,15 @@ public class AlarmServiceImpl extends ServiceImpl implements public int saveAll(List list) { return baseMapper.saveAll(list); } + + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ + @Override + public LocalDateTime findNewTime() { + return baseMapper.findNewTime(); + } } diff --git a/alarm/src/main/resources/mapper/yingji/AlarmMapper.xml b/alarm/src/main/resources/mapper/yingji/AlarmMapper.xml index 786e4e2..0b020d1 100644 --- a/alarm/src/main/resources/mapper/yingji/AlarmMapper.xml +++ b/alarm/src/main/resources/mapper/yingji/AlarmMapper.xml @@ -35,4 +35,11 @@ limit 1 + + \ No newline at end of file diff --git a/fire/pom.xml b/fire/pom.xml index 608d744..f8225b4 100644 --- a/fire/pom.xml +++ b/fire/pom.xml @@ -22,6 +22,7 @@ com.yingji utils + 0.0.1-SNAPSHOT diff --git a/fire/src/main/java/com/yingji/mapper/FireMapper.java b/fire/src/main/java/com/yingji/mapper/FireMapper.java index 168da15..8970e59 100644 --- a/fire/src/main/java/com/yingji/mapper/FireMapper.java +++ b/fire/src/main/java/com/yingji/mapper/FireMapper.java @@ -3,6 +3,7 @@ package com.yingji.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.yingji.entity.Fire; +import java.time.LocalDateTime; import java.util.List; /** @@ -20,5 +21,12 @@ public interface FireMapper extends BaseMapper { * @param list 数据 */ void saveAll(List list); + + /** + * 获取最新一条数据的时间 + * + * @return 最新一条数据的时间 + */ + LocalDateTime findNewTime(); } diff --git a/fire/src/main/java/com/yingji/quartz/FireQuartz.java b/fire/src/main/java/com/yingji/quartz/FireQuartz.java index 8c4ec7b..5c39a4f 100644 --- a/fire/src/main/java/com/yingji/quartz/FireQuartz.java +++ b/fire/src/main/java/com/yingji/quartz/FireQuartz.java @@ -4,6 +4,7 @@ import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.StrUtil; import cn.hutool.http.HttpRequest; import cn.hutool.json.JSONUtil; +import com.utils.SmsUtil; import com.yingji.entity.Fire; import com.yingji.entity.QuartzLog; import com.yingji.service.FireService; @@ -15,6 +16,7 @@ import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Scheduled; import javax.annotation.Resource; +import java.time.Duration; import java.time.LocalDateTime; import java.util.HashMap; import java.util.List; @@ -45,6 +47,17 @@ public class FireQuartz { @Scheduled(cron = "0 */5 * * * ? ") public void savaData() { log.info("119接口开始" + LocalDateTime.now()); + // 获取数据库中最新的创建时间 + LocalDateTime newTime = fireService.findNewTime(); + // 获取当前时间 + LocalDateTime currentTime = LocalDateTime.now(); + // 计算两者之间的持续时间 + Duration duration = Duration.between(newTime, currentTime); + // 判断时间差是否大于6小时 + if (duration.toHours() > 6) { + // 调用短信接口 + SmsUtil.sendSms("119原始接口超过6小时无数据", null); + } QuartzLog quartzLog = new QuartzLog(); quartzLog.setInterfaceName(2); quartzLog.setCreateTime(LocalDateTime.now()); @@ -57,18 +70,27 @@ public class FireQuartz { // 110算法接口 if (CollectionUtil.isNotEmpty(list)) { fireService.saveAll(list); - for (Fire fire : list) { - link119Algorithm(fire.getId()); + try { + for (Fire fire : list) { + link119Algorithm(fire.getId()); + } + } catch (Exception e) { + // 调用短信接口 + SmsUtil.sendSms("119调用算法接口异常", null); } } quartzLog.setStatus(1); log.info("119接口结束" + LocalDateTime.now()); } else { quartzLog.setStatus(2); + // 调用短信接口 + SmsUtil.sendSms("119原始接口获取token失败", null); log.error("============119算法接口获取token失败119接口结束============="); } } catch (Exception e) { quartzLog.setStatus(2); + // 调用短信接口 + SmsUtil.sendSms("119原始接口调用失败", null); } finally { quartzLogService.save(quartzLog); } diff --git a/fire/src/main/java/com/yingji/service/FireService.java b/fire/src/main/java/com/yingji/service/FireService.java index 5dbbb68..49ba189 100644 --- a/fire/src/main/java/com/yingji/service/FireService.java +++ b/fire/src/main/java/com/yingji/service/FireService.java @@ -3,6 +3,7 @@ package com.yingji.service; import com.baomidou.mybatisplus.extension.service.IService; import com.yingji.entity.Fire; +import java.time.LocalDateTime; import java.util.List; /** @@ -17,7 +18,6 @@ public interface FireService extends IService { /** * 查询数据 * - * @param req 查询条件 * @param token token * @return 数据List */ @@ -37,5 +37,12 @@ public interface FireService extends IService { * @param list 数据 */ void saveAll(List list); + + /** + * 获取最新一条数据的时间 + * + * @return 最新一条数据的时间 + */ + LocalDateTime findNewTime(); } diff --git a/fire/src/main/java/com/yingji/service/impl/FireServiceImpl.java b/fire/src/main/java/com/yingji/service/impl/FireServiceImpl.java index a5127bf..e574d7b 100644 --- a/fire/src/main/java/com/yingji/service/impl/FireServiceImpl.java +++ b/fire/src/main/java/com/yingji/service/impl/FireServiceImpl.java @@ -70,6 +70,9 @@ public class FireServiceImpl extends ServiceImpl implements Fi .execute().body(); log.info("==============================="); log.info("119body数据为:" + body); + if (body.contains("Time-out")) { + return null; + } try { JSONObject json = JSONObject.parse(body); Object response = json.get("response"); @@ -135,5 +138,15 @@ public class FireServiceImpl extends ServiceImpl implements Fi public void saveAll(List list) { baseMapper.saveAll(list); } + + /** + * 获取最新一条数据的时间 + * + * @return 最新一条数据的时间 + */ + @Override + public LocalDateTime findNewTime() { + return baseMapper.findNewTime(); + } } diff --git a/fire/src/main/resources/com/yingji/mapper/FireMapper.xml b/fire/src/main/resources/com/yingji/mapper/FireMapper.xml index 62172ec..141629f 100644 --- a/fire/src/main/resources/com/yingji/mapper/FireMapper.xml +++ b/fire/src/main/resources/com/yingji/mapper/FireMapper.xml @@ -18,4 +18,11 @@ + + \ No newline at end of file diff --git a/page/pom.xml b/page/pom.xml index d278003..db0dbdf 100644 --- a/page/pom.xml +++ b/page/pom.xml @@ -22,6 +22,7 @@ com.yingji utils + 0.0.1-SNAPSHOT diff --git a/page/src/main/java/com/yingji/controller/FireController.java b/page/src/main/java/com/yingji/controller/FireController.java index 2d659df..edda0ab 100644 --- a/page/src/main/java/com/yingji/controller/FireController.java +++ b/page/src/main/java/com/yingji/controller/FireController.java @@ -3,6 +3,7 @@ package com.yingji.controller; import cn.dev33.satoken.stp.StpUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.utils.SmsUtil; import com.yingji.base.controller.BaseController; import com.yingji.base.domain.AjaxResult; import com.yingji.entity.Fire; @@ -66,6 +67,15 @@ public class FireController extends BaseController { return success(fireService.getById(id)); } + /** + * 发送短信 + */ + @GetMapping("/sendSms") + @ApiOperation(value = "发送短信") + public AjaxResult sendSms() { + SmsUtil.sendSms("发送短信测试", "17638176947"); + return success(); + } } diff --git a/pom.xml b/pom.xml index b694479..78fae65 100644 --- a/pom.xml +++ b/pom.xml @@ -92,36 +92,4 @@ - - - algorithms - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - UTF-8 - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - com.yingji.YingjiAlgorithmsApplication - - - - repackage - - repackage - - - - - - \ No newline at end of file diff --git a/rescue/pom.xml b/rescue/pom.xml index a8a4777..bd58434 100644 --- a/rescue/pom.xml +++ b/rescue/pom.xml @@ -22,6 +22,7 @@ com.yingji utils + 0.0.1-SNAPSHOT diff --git a/rescue/src/main/java/com/yingji/quartz/AccidentQuartz.java b/rescue/src/main/java/com/yingji/quartz/AccidentQuartz.java index 9b9fc21..1e6b89f 100644 --- a/rescue/src/main/java/com/yingji/quartz/AccidentQuartz.java +++ b/rescue/src/main/java/com/yingji/quartz/AccidentQuartz.java @@ -1,6 +1,7 @@ package com.yingji.quartz; import cn.hutool.core.util.StrUtil; +import com.utils.SmsUtil; import com.yingji.entity.QuartzLog; import com.yingji.service.AccidentService; import com.yingji.service.QuartzLogService; @@ -11,6 +12,7 @@ import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Scheduled; import javax.annotation.Resource; +import java.time.Duration; import java.time.LocalDateTime; /** @@ -31,8 +33,19 @@ public class AccidentQuartz { private QuartzLogService quartzLogService; @Async - @Scheduled(cron = "*/10 * * * * ? ") + @Scheduled(cron = "0 */1 * * * ? ") public void savaData() { + // 获取数据库中最新的创建时间 + LocalDateTime newTime = accidentService.findNewTime(); + // 获取当前时间 + LocalDateTime currentTime = LocalDateTime.now(); + // 计算两者之间的持续时间 + Duration duration = Duration.between(newTime, currentTime); + // 判断时间差是否大于24小时 + if (duration.toHours() > 24) { + // 调用短信接口 + SmsUtil.sendSms("120原始接口超过24小时无数据", null); + } QuartzLog quartzLog = new QuartzLog(); quartzLog.setInterfaceName(3); quartzLog.setCreateTime(LocalDateTime.now()); @@ -44,9 +57,13 @@ public class AccidentQuartz { log.info("=================120定时任务结束==============="); } else { quartzLog.setStatus(2); + // 调用短信接口 + SmsUtil.sendSms("120原始接口获取token失败", null); log.info("=================120定时任务获取token失败==============="); } } catch (Exception e) { + // 调用短信接口 + SmsUtil.sendSms("120原始接口调用失败", null); e.printStackTrace(); quartzLog.setStatus(2); } finally { diff --git a/rescue/src/main/java/com/yingji/service/AccidentService.java b/rescue/src/main/java/com/yingji/service/AccidentService.java index 2052f2f..87f515d 100644 --- a/rescue/src/main/java/com/yingji/service/AccidentService.java +++ b/rescue/src/main/java/com/yingji/service/AccidentService.java @@ -1,5 +1,7 @@ package com.yingji.service; +import java.time.LocalDateTime; + /** * 120获取数据 * @@ -26,5 +28,10 @@ public interface AccidentService { void getAccidentUrl(String accessToken); - void text(); + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ + LocalDateTime findNewTime(); } diff --git a/rescue/src/main/java/com/yingji/service/EventService.java b/rescue/src/main/java/com/yingji/service/EventService.java index a21a4fe..4822538 100644 --- a/rescue/src/main/java/com/yingji/service/EventService.java +++ b/rescue/src/main/java/com/yingji/service/EventService.java @@ -7,6 +7,7 @@ import com.yingji.entity.dto.response.EventPageRequest; import com.yingji.entity.dto.response.EventsFindResponse; import java.io.Serializable; +import java.time.LocalDateTime; /** * 事故(Event)表服务接口 @@ -32,5 +33,12 @@ public interface EventService extends IService { * @return 数据 */ EventsFindResponse findById(Serializable id); + + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ + LocalDateTime findNewTime(); } diff --git a/rescue/src/main/java/com/yingji/service/impl/AccidentServiceImpl.java b/rescue/src/main/java/com/yingji/service/impl/AccidentServiceImpl.java index 40635ad..fbce837 100644 --- a/rescue/src/main/java/com/yingji/service/impl/AccidentServiceImpl.java +++ b/rescue/src/main/java/com/yingji/service/impl/AccidentServiceImpl.java @@ -160,6 +160,9 @@ public class AccidentServiceImpl implements AccidentService { String parse = JSONUtil.toJsonStr(map); String body = HttpRequest.post(getAccidentUrl).header("Authorization", "Bearer " + accessToken).body(parse).execute().body(); log.error("120接收到的数据为=======================" + body); + if (body.contains("Time-out")) { + return ; + } JSONObject json = JSONObject.parse(body); Object data = json.get("data"); if (BeanUtil.isNotEmpty(data)) { @@ -258,14 +261,13 @@ public class AccidentServiceImpl implements AccidentService { log.info("============120和110对比算法接口结束" + LocalDateTime.now() + "============="); } + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ @Override - public void text() { - String s = "{\n" + " \"data\": [{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"13915517391\",\n" + "\t\t\"DiseaseJudge\": \"29D02l,撞车/交通事故,严重事故(k到t),机动车撞自行车/机动车撞摩托车(急救车联动110)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"改派派车\",\n" + "\t\t\"ResponsibleRecipient\": \"杨宏涛\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-13T07:37:48\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-13T07:34:56\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-13T07:37:54\",\n" + "\t\t\"EventAddress\": \"宝带西路和龙西路 国家电网门口\",\n" + "\t\t\"AcceptId\": \"20240513073206060000000032050003\",\n" + "\t\t\"EventId\": \"202405130732060600000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"13915517391\",\n" + "\t\t\"DiseaseJudge\": \"29D02l,撞车/交通事故,严重事故(k到t),机动车撞自行车/机动车撞摩托车(急救车联动110)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"杨宏涛\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-13T07:51:38\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-13T07:48:43\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-13T07:51:41\",\n" + "\t\t\"EventAddress\": \"宝带西路和龙西路 国家电网门口\",\n" + "\t\t\"AcceptId\": \"20240513073206060000000032050004\",\n" + "\t\t\"EventId\": \"202405130732060600000000320500\",\n" + "\t\t\"AcceptOrder\": \"4\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"13915517391\",\n" + "\t\t\"DiseaseJudge\": \"29D02l,撞车/交通事故,严重事故(k到t),机动车撞自行车/机动车撞摩托车(急救车联动110)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"钱卓彦\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-13T07:33:39\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-13T07:30:48\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-13T07:33:46\",\n" + "\t\t\"EventAddress\": \"宝带西路和龙西路 国家电网门口\",\n" + "\t\t\"AcceptId\": \"20240513073206060000000032050002\",\n" + "\t\t\"EventId\": \"202405130732060600000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U H638Q\",\n" + "\t\t\t\"RealSign\": \"H638Q\",\n" + "\t\t\t\"AmbCode\": \"32050020197\",\n" + "\t\t\t\"StationName\": \"中医医院\",\n" + "\t\t\t\"AmbType\": \"现代\",\n" + "\t\t\t\"AmbPhone\": \"1440737287210\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-13T07:37:54\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-13T07:37:56\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-13T07:39:34\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-13T07:45:59\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-13T07:49:17\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-13T08:04:36\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"王明杰\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"中医医院\",\n" + "\t\t\t\"TaskId\": \"2024051307320606000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240513073206060000000032050003\",\n" + "\t\t\t\"EventId\": \"202405130732060600000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U Z956F\",\n" + "\t\t\t\"RealSign\": \"Z956F\",\n" + "\t\t\t\"AmbCode\": \"32050020235\",\n" + "\t\t\t\"StationName\": \"吴中医院\",\n" + "\t\t\t\"AmbType\": \"富康\",\n" + "\t\t\t\"AmbPhone\": \"13915428120\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-13T07:51:41\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-13T07:51:42\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-13T07:54:16\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-13T08:00:18\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-13T08:03:28\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"苏简华\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"吴中医院\",\n" + "\t\t\t\"TaskId\": \"2024051307320606000000003205000401\",\n" + "\t\t\t\"AcceptOrder\": \"4\",\n" + "\t\t\t\"AcceptId\": \"20240513073206060000000032050004\",\n" + "\t\t\t\"EventId\": \"202405130732060600000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U Z956F\",\n" + "\t\t\t\"RealSign\": \"Z956F\",\n" + "\t\t\t\"AmbCode\": \"32050020235\",\n" + "\t\t\t\"StationName\": \"吴中医院\",\n" + "\t\t\t\"AmbType\": \"富康\",\n" + "\t\t\t\"AmbPhone\": \"13915428120\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": false,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-13T07:33:46\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-13T07:33:47\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-13T07:35:05\",\n" + "\t\t\t\"ComplatedDateTime\": \"2024-05-13T07:37:54\",\n" + "\t\t\t\"IsNormalOver\": false,\n" + "\t\t\t\"Driver\": \"苏简华\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"吴中医院\",\n" + "\t\t\t\"TaskId\": \"2024051307320606000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240513073206060000000032050002\",\n" + "\t\t\t\"EventId\": \"202405130732060600000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"宝带西路和龙西路 国家电网门口——车祸\",\n" + "\t\"EventType\": \"救治\",\n" + "\t\"EventDateTime\": \"2024-05-13T07:32:06\",\n" + "\t\"EventArea\": \"吴中区\",\n" + "\t\"EventAddress\": \"宝带西路和龙西路 国家电网门口\",\n" + "\t\"EventLongitude\": 120.613857231315,\n" + "\t\"EventLatitude\": 31.2689514636758,\n" + "\t\"SendAmbCount\": 3,\n" + "\t\"EventId\": \"202405130732060600000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"潘丽安\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-13T04:45:07\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-13T04:43:45\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-13T04:45:20\",\n" + "\t\t\"EventAddress\": \"星塘街莲香北区89幢1单元\",\n" + "\t\t\"AcceptId\": \"20240513042806050000000032050003\",\n" + "\t\t\"EventId\": \"202405130428060500000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"潘丽安\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-13T04:28:53\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-13T04:26:29\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-13T04:28:58\",\n" + "\t\t\"EventAddress\": \"星塘街莲香北区89幢1单元\",\n" + "\t\t\"AcceptId\": \"20240513042806050000000032050002\",\n" + "\t\t\"EventId\": \"202405130428060500000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏E 1795X\",\n" + "\t\t\t\"RealSign\": \"1795X\",\n" + "\t\t\t\"AmbCode\": \"32050002202\",\n" + "\t\t\t\"StationName\": \"禧华分站\",\n" + "\t\t\t\"AmbType\": \"雪佛兰\",\n" + "\t\t\t\"AmbPhone\": \"15850383051\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-13T04:45:20\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-13T04:47:36\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-13T04:47:38\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-13T05:03:49\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-13T05:04:25\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-13T05:12:31\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"张建华\",\n" + "\t\t\t\"Doctor\": \"陈永明\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"臧千朋\",\n" + "\t\t\t\"StationName\": \"禧华分站\",\n" + "\t\t\t\"TaskId\": \"2024051304280605000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240513042806050000000032050003\",\n" + "\t\t\t\"EventId\": \"202405130428060500000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U Z920C\",\n" + "\t\t\t\"RealSign\": \"Z920C\",\n" + "\t\t\t\"AmbCode\": \"32050020220\",\n" + "\t\t\t\"StationName\": \"星塘分站\",\n" + "\t\t\t\"AmbType\": \"金杯\",\n" + "\t\t\t\"AmbPhone\": \"17706213289\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-13T04:28:58\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-13T04:28:59\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-13T04:29:40\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-13T04:46:20\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-13T04:46:26\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-13T04:51:59\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"陆子亿\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"星塘分站\",\n" + "\t\t\t\"TaskId\": \"2024051304280605000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240513042806050000000032050002\",\n" + "\t\t\t\"EventId\": \"202405130428060500000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"星塘街莲香北区89幢1单元——冒烟\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-13T04:28:06\",\n" + "\t\"EventArea\": \"苏州工业园区\",\n" + "\t\"EventAddress\": \"星塘街莲香北区89幢1单元\",\n" + "\t\"EventLongitude\": 120.7383324628,\n" + "\t\"EventLatitude\": 31.3023800964134,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405130428060500000000320500\"\n" + "},{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"19962116073\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T00:35:01\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T00:32:07\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T00:35:03\",\n" + "\t\t\"EventAddress\": \"吴中区碧波街吴中银座大厦门口\",\n" + "\t\t\"AcceptId\": \"20240512002214030000000032050003\",\n" + "\t\t\"EventId\": \"202405120022140300000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"19962116073\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T00:23:31\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T00:20:44\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T00:23:41\",\n" + "\t\t\"EventAddress\": \"吴中区碧波街吴中银座大厦门口\",\n" + "\t\t\"AcceptId\": \"20240512002214030000000032050002\",\n" + "\t\t\"EventId\": \"202405120022140300000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U H638Q\",\n" + "\t\t\t\"RealSign\": \"H638Q\",\n" + "\t\t\t\"AmbCode\": \"32050020197\",\n" + "\t\t\t\"StationName\": \"中医医院\",\n" + "\t\t\t\"AmbType\": \"现代\",\n" + "\t\t\t\"AmbPhone\": \"1440737287210\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T00:35:03\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T00:35:05\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"邵坚\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"中医医院\",\n" + "\t\t\t\"TaskId\": \"2024051200221403000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512002214030000000032050003\",\n" + "\t\t\t\"EventId\": \"202405120022140300000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U Z956F\",\n" + "\t\t\t\"RealSign\": \"Z956F\",\n" + "\t\t\t\"AmbCode\": \"32050020235\",\n" + "\t\t\t\"StationName\": \"吴中医院\",\n" + "\t\t\t\"AmbType\": \"富康\",\n" + "\t\t\t\"AmbPhone\": \"13915428120\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T00:23:41\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T00:23:42\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T00:24:56\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T00:28:58\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"殷传峰\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"吴中医院\",\n" + "\t\t\t\"TaskId\": \"2024051200221403000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512002214030000000032050002\",\n" + "\t\t\t\"EventId\": \"202405120022140300000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"吴中区碧波街吴中银座大厦门口——醉酒晕倒\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-12T00:22:14\",\n" + "\t\"EventArea\": \"吴中区\",\n" + "\t\"EventAddress\": \"吴中区碧波街吴中银座大厦门口\",\n" + "\t\"EventLongitude\": 120.626024229052,\n" + "\t\"EventLatitude\": 31.2585715103977,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405120022140300000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"18739256097\",\n" + "\t\t\"DiseaseJudge\": \"37B02,转院转运,转运(急救车)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"吴亚\",\n" + "\t\t\"WaitAddress\": \"尹山湖医院急诊\",\n" + "\t\t\"SendAddress\": \"市立医院东区\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T21:43:35\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T21:40:53\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T21:43:50\",\n" + "\t\t\"EventAddress\": \"尹山湖医院急诊\",\n" + "\t\t\"AcceptId\": \"20240512214002050000000032050003\",\n" + "\t\t\"EventId\": \"202405122140020500000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"18739256097\",\n" + "\t\t\"DiseaseJudge\": \"37B02,转院转运,转运(急救车)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"吴亚\",\n" + "\t\t\"WaitAddress\": \"尹山湖医院急诊\",\n" + "\t\t\"SendAddress\": \"市立医院东区\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T21:40:55\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T21:37:59\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T21:40:56\",\n" + "\t\t\"EventAddress\": \"尹山湖医院急诊\",\n" + "\t\t\"AcceptId\": \"20240512214002050000000032050002\",\n" + "\t\t\"EventId\": \"202405122140020500000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U X9107\",\n" + "\t\t\t\"RealSign\": \"X9107\",\n" + "\t\t\t\"AmbCode\": \"32050020213\",\n" + "\t\t\t\"StationName\": \"星海分站\",\n" + "\t\t\t\"AmbType\": \"凌特\",\n" + "\t\t\t\"AmbPhone\": \"17715186010\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T21:43:50\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T21:43:52\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T21:44:17\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T21:59:10\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"张晓华\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"星海分站\",\n" + "\t\t\t\"TaskId\": \"2024051221400205000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512214002050000000032050003\",\n" + "\t\t\t\"EventId\": \"202405122140020500000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏E 6WG50\",\n" + "\t\t\t\"RealSign\": \"6WG50\",\n" + "\t\t\t\"AmbCode\": \"32050002216\",\n" + "\t\t\t\"StationName\": \"尹山湖医院\",\n" + "\t\t\t\"AmbType\": \"金杯\",\n" + "\t\t\t\"AmbPhone\": \"15250017322\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T21:40:56\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T21:40:58\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T21:41:41\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T21:47:16\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T21:47:54\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"何建华\",\n" + "\t\t\t\"Doctor\": \"王福龙\",\n" + "\t\t\t\"Stretcher\": \"居金福\",\n" + "\t\t\t\"Nurse\": \"钱思忆\",\n" + "\t\t\t\"StationName\": \"尹山湖医院\",\n" + "\t\t\t\"TaskId\": \"2024051221400205000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512214002050000000032050002\",\n" + "\t\t\t\"EventId\": \"202405122140020500000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"尹山湖医院急诊——骨折\",\n" + "\t\"EventType\": \"转院\",\n" + "\t\"EventDateTime\": \"2024-05-12T21:40:02\",\n" + "\t\"EventArea\": \"吴中区\",\n" + "\t\"EventAddress\": \"尹山湖医院急诊\",\n" + "\t\"EventLongitude\": 120.67612775656,\n" + "\t\"EventLatitude\": 31.2514232332648,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405122140020500000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"13151160656\",\n" + "\t\t\"DiseaseJudge\": \"29D02l,机动车撞摩托车,严重事故(k到t),机动车撞自行车/机动车撞摩托车(急救车联动110)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"吴亚\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T19:06:10\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T19:04:23\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T19:07:21\",\n" + "\t\t\"EventAddress\": \"尹中南路1318号 苏州希望纺织印染公司 苏EFH672\",\n" + "\t\t\"AcceptId\": \"20240512185131020000000032050003\",\n" + "\t\t\"EventId\": \"202405121851310200000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"13151160656\",\n" + "\t\t\"DiseaseJudge\": \"29D02l,机动车撞摩托车,严重事故(k到t),机动车撞自行车/机动车撞摩托车(急救车联动110)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"不详\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"吴亚\",\n" + "\t\t\"WaitAddress\": \"-东门 苏州市吴中区尹中南路1318号\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T18:52:20\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T18:49:23\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T18:52:21\",\n" + "\t\t\"EventAddress\": \"尹中南路1318号 苏州希望纺织印染公司 苏EFH672\",\n" + "\t\t\"AcceptId\": \"20240512185131020000000032050002\",\n" + "\t\t\"EventId\": \"202405121851310200000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏E 27S5U\",\n" + "\t\t\t\"RealSign\": \"93-27S5U\",\n" + "\t\t\t\"AmbCode\": \"32050020156\",\n" + "\t\t\t\"StationName\": \"运西分站\",\n" + "\t\t\t\"AmbType\": \"金杯\",\n" + "\t\t\t\"AmbPhone\": \"18261812038\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T19:07:21\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T19:07:24\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T19:08:08\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"崔金林\",\n" + "\t\t\t\"Doctor\": \"施世强\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"周文静\",\n" + "\t\t\t\"StationName\": \"运西分站\",\n" + "\t\t\t\"TaskId\": \"2024051218513102000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512185131020000000032050003\",\n" + "\t\t\t\"EventId\": \"202405121851310200000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏E 6WG50\",\n" + "\t\t\t\"RealSign\": \"6WG50\",\n" + "\t\t\t\"AmbCode\": \"32050002216\",\n" + "\t\t\t\"StationName\": \"尹山湖医院\",\n" + "\t\t\t\"AmbType\": \"金杯\",\n" + "\t\t\t\"AmbPhone\": \"15250017322\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T18:52:21\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T18:52:22\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T18:52:59\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T19:04:47\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T19:10:39\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-12T19:20:09\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"何建华\",\n" + "\t\t\t\"Doctor\": \"王福龙\",\n" + "\t\t\t\"Stretcher\": \"居金福\",\n" + "\t\t\t\"Nurse\": \"钱思忆\",\n" + "\t\t\t\"StationName\": \"尹山湖医院\",\n" + "\t\t\t\"TaskId\": \"2024051218513102000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512185131020000000032050002\",\n" + "\t\t\t\"EventId\": \"202405121851310200000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"尹中南路1318号 苏州希望纺织印染公司 苏EFH672——车祸\",\n" + "\t\"EventType\": \"救治\",\n" + "\t\"EventDateTime\": \"2024-05-12T18:51:31\",\n" + "\t\"EventArea\": \"吴中区\",\n" + "\t\"EventAddress\": \"尹中南路1318号 苏州希望纺织印染公司 苏EFH672\",\n" + "\t\"EventLongitude\": 120.662178583068,\n" + "\t\"EventLatitude\": 31.2106246386407,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405121851310200000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"改派派车\",\n" + "\t\t\"ResponsibleRecipient\": \"吴亚\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T17:15:28\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T17:12:38\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T17:15:35\",\n" + "\t\t\"EventAddress\": \"渭塘镇湘渭路澄阳路到底右拐\",\n" + "\t\t\"AcceptId\": \"20240512171005050000000032050003\",\n" + "\t\t\"EventId\": \"202405121710050500000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"吴亚\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T17:12:33\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T17:09:51\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T17:12:49\",\n" + "\t\t\"EventAddress\": \"渭塘镇湘渭路澄阳路到底右拐\",\n" + "\t\t\"AcceptId\": \"20240512171005050000000032050002\",\n" + "\t\t\"EventId\": \"202405121710050500000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 7Y359\",\n" + "\t\t\t\"RealSign\": \"7Y359\",\n" + "\t\t\t\"AmbCode\": \"32050020139\",\n" + "\t\t\t\"StationName\": \"渭塘分站\",\n" + "\t\t\t\"AmbType\": \"蒙迪欧\",\n" + "\t\t\t\"AmbPhone\": \"15250476092\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T17:15:35\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T17:15:36\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T17:15:39\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T17:22:19\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T17:29:56\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-12T17:54:27\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"王振伟\",\n" + "\t\t\t\"Doctor\": \"曹海波\",\n" + "\t\t\t\"Stretcher\": \"李福根\",\n" + "\t\t\t\"Nurse\": \"许嘉晨\",\n" + "\t\t\t\"StationName\": \"渭塘分站\",\n" + "\t\t\t\"TaskId\": \"2024051217100505000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512171005050000000032050003\",\n" + "\t\t\t\"EventId\": \"202405121710050500000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 0Z279\",\n" + "\t\t\t\"RealSign\": \"0Z279\",\n" + "\t\t\t\"AmbCode\": \"32050020145\",\n" + "\t\t\t\"StationName\": \"阳澄湖分站\",\n" + "\t\t\t\"AmbType\": \"雪佛兰\",\n" + "\t\t\t\"AmbPhone\": \"13584851924\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T17:12:49\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T17:12:50\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T17:13:27\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"吴正华\",\n" + "\t\t\t\"Doctor\": \"李雨晴\",\n" + "\t\t\t\"Stretcher\": \"严银根\",\n" + "\t\t\t\"Nurse\": \"闵书芹\",\n" + "\t\t\t\"StationName\": \"阳澄湖分站\",\n" + "\t\t\t\"TaskId\": \"2024051217100505000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512171005050000000032050002\",\n" + "\t\t\t\"EventId\": \"202405121710050500000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"渭塘镇湘渭路澄阳路到底右拐——两辆电动车事故\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-12T17:10:05\",\n" + "\t\"EventArea\": \"相城区\",\n" + "\t\"EventAddress\": \"渭塘镇湘渭路澄阳路到底右拐\",\n" + "\t\"EventLongitude\": 120.671745190585,\n" + "\t\"EventLatitude\": 31.4912853732818,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405121710050500000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"65433842\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"太平邻里中心1楼\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T03:40:08\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T03:37:20\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T03:40:10\",\n" + "\t\t\"EventAddress\": \"太平邻里中心1楼\",\n" + "\t\t\"AcceptId\": \"20240512031812060000000032050003\",\n" + "\t\t\"EventId\": \"202405120318120600000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"65433842\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"太平邻里中心1楼\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T03:20:13\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T03:17:22\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T03:20:17\",\n" + "\t\t\"EventAddress\": \"太平邻里中心1楼\",\n" + "\t\t\"AcceptId\": \"20240512031812060000000032050002\",\n" + "\t\t\"EventId\": \"202405120318120600000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 2B690\",\n" + "\t\t\t\"RealSign\": \"2B690\",\n" + "\t\t\t\"AmbCode\": \"32050002222\",\n" + "\t\t\t\"StationName\": \"苏州五院\",\n" + "\t\t\t\"AmbType\": \"蒙迪欧\",\n" + "\t\t\t\"AmbPhone\": \"1440737287208\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T03:40:10\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T03:40:12\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T03:40:15\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T03:52:12\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T04:01:37\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"王建明\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"苏州五院\",\n" + "\t\t\t\"TaskId\": \"2024051203181206000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512031812060000000032050003\",\n" + "\t\t\t\"EventId\": \"202405120318120600000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 0Z279\",\n" + "\t\t\t\"RealSign\": \"0Z279\",\n" + "\t\t\t\"AmbCode\": \"32050020145\",\n" + "\t\t\t\"StationName\": \"阳澄湖分站\",\n" + "\t\t\t\"AmbType\": \"雪佛兰\",\n" + "\t\t\t\"AmbPhone\": \"13584851924\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T03:20:17\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T03:23:10\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T03:23:13\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T03:37:32\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T03:37:39\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-12T04:01:47\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"朱超\",\n" + "\t\t\t\"Doctor\": \"潘龙虎\",\n" + "\t\t\t\"Stretcher\": \"叶文卫\",\n" + "\t\t\t\"Nurse\": \"姜佳利\",\n" + "\t\t\t\"StationName\": \"阳澄湖分站\",\n" + "\t\t\t\"TaskId\": \"2024051203181206000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512031812060000000032050002\",\n" + "\t\t\t\"EventId\": \"202405120318120600000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"太平邻里中心1楼——打架\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-12T03:18:12\",\n" + "\t\"EventArea\": \"相城区\",\n" + "\t\"EventAddress\": \"太平邻里中心1楼\",\n" + "\t\"EventLongitude\": 120.696049694974,\n" + "\t\"EventLatitude\": 31.4331932157755,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405120318120600000000320500\"\n" + "},{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"62960110\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T01:21:52\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T01:19:00\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T01:21:57\",\n" + "\t\t\"EventAddress\": \"亭南路唯胜路\",\n" + "\t\t\"AcceptId\": \"20240512005415010000000032050003\",\n" + "\t\t\"EventId\": \"202405120054150100000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"62960110\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"唯胜路/亭南路(路口) 苏州市苏州工业园区唯胜路\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T00:54:53\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T00:52:02\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T00:54:58\",\n" + "\t\t\"EventAddress\": \"亭南路唯胜路\",\n" + "\t\t\"AcceptId\": \"20240512005415010000000032050002\",\n" + "\t\t\"EventId\": \"202405120054150100000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 37901\",\n" + "\t\t\t\"RealSign\": \"37901\",\n" + "\t\t\t\"AmbCode\": \"32050020151\",\n" + "\t\t\t\"StationName\": \"星浦分站\",\n" + "\t\t\t\"AmbType\": \"金杯\",\n" + "\t\t\t\"AmbPhone\": \"18013100138\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T01:21:57\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T01:21:57\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T01:23:26\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T01:38:21\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T01:45:42\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"仲卫东\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"星浦分站\",\n" + "\t\t\t\"TaskId\": \"2024051200541501000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512005415010000000032050003\",\n" + "\t\t\t\"EventId\": \"202405120054150100000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏E 1795X\",\n" + "\t\t\t\"RealSign\": \"1795X\",\n" + "\t\t\t\"AmbCode\": \"32050002202\",\n" + "\t\t\t\"StationName\": \"禧华分站\",\n" + "\t\t\t\"AmbType\": \"雪佛兰\",\n" + "\t\t\t\"AmbPhone\": \"15850383051\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T00:54:58\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T00:54:59\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T00:56:15\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T01:13:46\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T01:23:49\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"金建青\",\n" + "\t\t\t\"Doctor\": \"王园园\",\n" + "\t\t\t\"Stretcher\": \"蒋保新\",\n" + "\t\t\t\"Nurse\": \"潘国放\",\n" + "\t\t\t\"StationName\": \"禧华分站\",\n" + "\t\t\t\"TaskId\": \"2024051200541501000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512005415010000000032050002\",\n" + "\t\t\t\"EventId\": \"202405120054150100000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"亭南路唯胜路——醉酒2人\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-12T00:54:15\",\n" + "\t\"EventArea\": \"苏州工业园区\",\n" + "\t\"EventAddress\": \"亭南路唯胜路\",\n" + "\t\"EventLongitude\": 120.798333662215,\n" + "\t\"EventLatitude\": 31.3522368314446,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405120054150100000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"62749120\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"瑞华路瑞华四季公寓门口\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T00:19:37\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T00:16:43\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T00:19:39\",\n" + "\t\t\"EventAddress\": \"瑞华路瑞华四季公寓门口\",\n" + "\t\t\"AcceptId\": \"20240512001602030000000032050002\",\n" + "\t\t\"EventId\": \"202405120016020300000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"62749120\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"改派派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"瑞华路瑞华四季公寓门口\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-12T00:25:31\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-12T00:22:38\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-12T00:25:33\",\n" + "\t\t\"EventAddress\": \"瑞华路瑞华四季公寓门口\",\n" + "\t\t\"AcceptId\": \"20240512001602030000000032050003\",\n" + "\t\t\"EventId\": \"202405120016020300000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U Y826Y\",\n" + "\t\t\t\"RealSign\": \"Y826Y\",\n" + "\t\t\t\"AmbCode\": \"32050020269\",\n" + "\t\t\t\"StationName\": \"疾控分站\",\n" + "\t\t\t\"AmbType\": \"菲亚特\",\n" + "\t\t\t\"AmbPhone\": \"15962144186\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T00:19:39\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T00:19:40\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T00:22:48\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"金佳\",\n" + "\t\t\t\"Doctor\": \"\",\n" + "\t\t\t\"Stretcher\": \"孙刚峰\",\n" + "\t\t\t\"Nurse\": \"\",\n" + "\t\t\t\"StationName\": \"疾控分站\",\n" + "\t\t\t\"TaskId\": \"2024051200160203000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240512001602030000000032050002\",\n" + "\t\t\t\"EventId\": \"202405120016020300000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 3079M\",\n" + "\t\t\t\"RealSign\": \"3079M\",\n" + "\t\t\t\"AmbCode\": \"32050020166\",\n" + "\t\t\t\"StationName\": \"星湖医院\",\n" + "\t\t\t\"AmbType\": \"菲亚特\",\n" + "\t\t\t\"AmbPhone\": \"13401433694\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-12T00:25:33\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-12T00:25:35\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-12T00:25:38\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-12T00:32:44\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-12T00:35:59\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-12T00:44:29\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"袁晓春\",\n" + "\t\t\t\"Doctor\": \"孙仰庆\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"朱怡晨\",\n" + "\t\t\t\"StationName\": \"星湖医院\",\n" + "\t\t\t\"TaskId\": \"2024051200160203000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240512001602030000000032050003\",\n" + "\t\t\t\"EventId\": \"202405120016020300000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"瑞华路瑞华四季公寓门口——醉酒\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-12T00:16:02\",\n" + "\t\"EventArea\": \"苏州工业园区\",\n" + "\t\"EventAddress\": \"瑞华路瑞华四季公寓门口\",\n" + "\t\"EventLongitude\": 120.699508132368,\n" + "\t\"EventLatitude\": 31.3489828626144,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405120016020300000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"15755631279\",\n" + "\t\t\"DiseaseJudge\": \"31D04,无意识/晕厥(接近),神志不清(急救车)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"男\",\n" + "\t\t\"PatientAge\": \"49岁\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"松陵三里桥东5弄12号\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-10T21:30:15\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-10T21:27:32\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-10T21:30:25\",\n" + "\t\t\"EventAddress\": \"松陵三里桥东5弄12号\",\n" + "\t\t\"AcceptId\": \"20240510212730050000000032050002\",\n" + "\t\t\"EventId\": \"202405102127300500000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"15755631279\",\n" + "\t\t\"DiseaseJudge\": \"31D04,无意识/晕厥(接近),神志不清(急救车)\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"男\",\n" + "\t\t\"PatientAge\": \"49岁\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"松陵三里桥东5弄12号\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-10T21:47:07\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-10T21:44:16\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-10T21:47:10\",\n" + "\t\t\"EventAddress\": \"松陵三里桥东5弄12号\",\n" + "\t\t\"AcceptId\": \"20240510212730050000000032050003\",\n" + "\t\t\"EventId\": \"202405102127300500000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏E 27S5U\",\n" + "\t\t\t\"RealSign\": \"93-27S5U\",\n" + "\t\t\t\"AmbCode\": \"32050020156\",\n" + "\t\t\t\"StationName\": \"运西分站\",\n" + "\t\t\t\"AmbType\": \"金杯\",\n" + "\t\t\t\"AmbPhone\": \"18261812038\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-10T21:30:25\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-10T21:30:26\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-10T21:31:07\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"黄邵峰\",\n" + "\t\t\t\"Doctor\": \"林军\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"王嘉懿\",\n" + "\t\t\t\"StationName\": \"运西分站\",\n" + "\t\t\t\"TaskId\": \"2024051021273005000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240510212730050000000032050002\",\n" + "\t\t\t\"EventId\": \"202405102127300500000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 920B7\",\n" + "\t\t\t\"RealSign\": \"920B7\",\n" + "\t\t\t\"AmbCode\": \"32050020155\",\n" + "\t\t\t\"StationName\": \"苏州九院流虹路分站\",\n" + "\t\t\t\"AmbType\": \"雪佛兰\",\n" + "\t\t\t\"AmbPhone\": \"19951328150\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-10T21:47:10\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-10T21:47:12\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-10T21:48:07\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-10T21:55:53\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-10T22:09:19\",\n" + "\t\t\t\"ArriveHospitalDateTime\": \"2024-05-10T22:09:34\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"瞿顺军\",\n" + "\t\t\t\"Doctor\": \"孟云鹏\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"俞思颜\",\n" + "\t\t\t\"StationName\": \"苏州九院流虹路分站\",\n" + "\t\t\t\"TaskId\": \"2024051021273005000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240510212730050000000032050003\",\n" + "\t\t\t\"EventId\": \"202405102127300500000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"松陵三里桥东5弄12号——喊不醒\",\n" + "\t\"EventType\": \"救治\",\n" + "\t\"EventDateTime\": \"2024-05-10T21:27:30\",\n" + "\t\"EventArea\": \"吴江区\",\n" + "\t\"EventAddress\": \"松陵三里桥东5弄12号\",\n" + "\t\"EventLongitude\": 120.656996221998,\n" + "\t\"EventLatitude\": 31.1690985641772,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405102127300500000000320500\"\n" + "},\n" + "{\n" + "\t\"AcceptEvents\": [{\n" + "\t\t\"AlarmTelephone\": \"\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"唤醒派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-10T18:50:22\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-10T18:47:33\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-10T18:50:24\",\n" + "\t\t\"EventAddress\": \"西环路福马小区门口\",\n" + "\t\t\"AcceptId\": \"20240510184936050000000032050002\",\n" + "\t\t\"EventId\": \"202405101849360500000000320500\",\n" + "\t\t\"AcceptOrder\": \"2\"\n" + "\t}, {\n" + "\t\t\"AlarmTelephone\": \"\",\n" + "\t\t\"DiseaseJudge\": \"\",\n" + "\t\t\"PatientName\": \"\",\n" + "\t\t\"PatientSex\": \"\",\n" + "\t\t\"PatientAge\": \"不详\",\n" + "\t\t\"AcceptType\": \"增援派车\",\n" + "\t\t\"ResponsibleRecipient\": \"顾毅骏\",\n" + "\t\t\"WaitAddress\": \"\",\n" + "\t\t\"SendAddress\": \"\",\n" + "\t\t\"StartAcceptDateTime\": \"2024-05-10T19:08:41\",\n" + "\t\t\"EndAcceptDateTime\": \"2024-05-10T19:05:49\",\n" + "\t\t\"SendOrderDateTime\": \"2024-05-10T19:08:43\",\n" + "\t\t\"EventAddress\": \"西环路福马小区门口\",\n" + "\t\t\"AcceptId\": \"20240510184936050000000032050003\",\n" + "\t\t\"EventId\": \"202405101849360500000000320500\",\n" + "\t\t\"AcceptOrder\": \"3\"\n" + "\t}],\n" + "\t\"TaskInfos\": [{\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 25W91\",\n" + "\t\t\t\"RealSign\": \"25W91\",\n" + "\t\t\t\"AmbCode\": \"32050002104\",\n" + "\t\t\t\"StationName\": \"附二医院\",\n" + "\t\t\t\"AmbType\": \"尼桑\",\n" + "\t\t\t\"AmbPhone\": \"1440737287201\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-10T18:50:24\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-10T18:50:26\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-10T18:51:31\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-10T19:01:10\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-10T19:05:37\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"黄松鹤\",\n" + "\t\t\t\"Doctor\": \"孟甦\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"范玲玲\",\n" + "\t\t\t\"StationName\": \"附二医院\",\n" + "\t\t\t\"TaskId\": \"2024051018493605000000003205000201\",\n" + "\t\t\t\"AcceptOrder\": \"2\",\n" + "\t\t\t\"AcceptId\": \"20240510184936050000000032050002\",\n" + "\t\t\t\"EventId\": \"202405101849360500000000320500\"\n" + "\t\t}\n" + "\t}, {\n" + "\t\t\"Amb\": {\n" + "\t\t\t\"PlateNumber\": \"苏U 25W91\",\n" + "\t\t\t\"RealSign\": \"25W91\",\n" + "\t\t\t\"AmbCode\": \"32050002104\",\n" + "\t\t\t\"StationName\": \"附二医院\",\n" + "\t\t\t\"AmbType\": \"尼桑\",\n" + "\t\t\t\"AmbPhone\": \"1440737287201\"\n" + "\t\t},\n" + "\t\t\"Task\": {\n" + "\t\t\t\"IsOver\": true,\n" + "\t\t\t\"TaskCreatedDateTime\": \"2024-05-10T19:08:43\",\n" + "\t\t\t\"AcceptOrderDateTime\": \"2024-05-10T19:08:44\",\n" + "\t\t\t\"OutAmbDateTime\": \"2024-05-10T19:08:46\",\n" + "\t\t\t\"ArriveSceneDateTime\": \"2024-05-10T19:08:52\",\n" + "\t\t\t\"LeaveSceneDateTime\": \"2024-05-10T19:12:40\",\n" + "\t\t\t\"IsNormalOver\": true,\n" + "\t\t\t\"Driver\": \"黄松鹤\",\n" + "\t\t\t\"Doctor\": \"孟甦\",\n" + "\t\t\t\"Stretcher\": \"\",\n" + "\t\t\t\"Nurse\": \"范玲玲\",\n" + "\t\t\t\"StationName\": \"附二医院\",\n" + "\t\t\t\"TaskId\": \"2024051018493605000000003205000301\",\n" + "\t\t\t\"AcceptOrder\": \"3\",\n" + "\t\t\t\"AcceptId\": \"20240510184936050000000032050003\",\n" + "\t\t\t\"EventId\": \"202405101849360500000000320500\"\n" + "\t\t}\n" + "\t}],\n" + "\t\"EventName\": \"西环路福马小区门口——两电瓶车\",\n" + "\t\"EventType\": \"110联动\",\n" + "\t\"EventDateTime\": \"2024-05-10T18:49:36\",\n" + "\t\"EventArea\": \"姑苏区\",\n" + "\t\"EventAddress\": \"西环路福马小区门口\",\n" + "\t\"EventLongitude\": 120.569326318179,\n" + "\t\"EventLatitude\": 31.3161364062648,\n" + "\t\"SendAmbCount\": 2,\n" + "\t\"EventId\": \"202405101849360500000000320500\"\n" + "}\n" + "],\n" + " \"msg\": null,\n" + " \"code\": 200\n" + "}"; - JSONObject json = JSONObject.parse(s); - Object data = json.get("data"); - List list; - if (BeanUtil.isNotEmpty(data)) { - saveResponseData(data); - } + public LocalDateTime findNewTime() { + return eventService.findNewTime(); } } \ No newline at end of file diff --git a/rescue/src/main/java/com/yingji/service/impl/EventServiceImpl.java b/rescue/src/main/java/com/yingji/service/impl/EventServiceImpl.java index fa5339a..5ef867d 100644 --- a/rescue/src/main/java/com/yingji/service/impl/EventServiceImpl.java +++ b/rescue/src/main/java/com/yingji/service/impl/EventServiceImpl.java @@ -22,6 +22,7 @@ import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.io.Serializable; +import java.time.LocalDateTime; import java.util.List; import java.util.stream.Collectors; @@ -102,6 +103,20 @@ public class EventServiceImpl extends ServiceImpl implements return res; } + /** + * 获取数据库最新创建时间 + * + * @return 数据库最新创建时间 + */ + @Override + public LocalDateTime findNewTime() { + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.orderByDesc("create_time") + .last("LIMIT 1"); + Event event = this.getOne(wrapper); + return event.getCreateTime(); + } + } diff --git a/utils/pom.xml b/utils/pom.xml index 155d365..87e9d82 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -2,20 +2,11 @@ - 4.0.0 com.yingji yingjiAlgorithms 0.0.1-SNAPSHOT - + 4.0.0 utils - - - 8 - 8 - UTF-8 - - - \ No newline at end of file diff --git a/utils/src/main/java/com/utils/SmsUtil.java b/utils/src/main/java/com/utils/SmsUtil.java index f9dd42c..c484fee 100644 --- a/utils/src/main/java/com/utils/SmsUtil.java +++ b/utils/src/main/java/com/utils/SmsUtil.java @@ -4,6 +4,8 @@ import cn.hutool.core.util.StrUtil; import cn.hutool.http.HttpRequest; import cn.hutool.json.JSONObject; import cn.hutool.json.JSONUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import java.util.HashMap; import java.util.Map; @@ -15,6 +17,8 @@ import java.util.Map; * @since 2024/9/24 10:18 */ public class SmsUtil { + public static final Logger log = LoggerFactory.getLogger(SmsUtil.class); + /** * 获取短信接口token @@ -31,6 +35,8 @@ public class SmsUtil { .execute() .body(); JSONObject responseJson = JSONUtil.parseObj(responseStr); + log.error("----------------------------短信token======================"); + log.error("短信token: " + JSONUtil.toJsonStr(responseJson)); return (String) responseJson.get("data"); } @@ -52,13 +58,16 @@ public class SmsUtil { } else { bodyMap.put("tel", "18870257135,18261462112,15850922852,18112760590"); } - bodyMap.put("content", "市应急局提醒: " + content); + bodyMap.put("content", "市应急局提醒:" + content); String bodyJson = JSONUtil.toJsonStr(bodyMap); + log.error("bodyJson: " + bodyJson); String responseStr = HttpRequest.post("http://2.46.42.43:80/admin-api/sms/send") - .header("Authorization", token) + .header("Authorization", "Bearer " + token) .body(bodyJson) .execute() .body(); + log.error("----------------------------短信响应======================"); + log.error("短信: " + JSONUtil.toJsonStr(responseStr)); return JSONUtil.parseObj(responseStr); } }