From c3a5a9ae94e5604160f0ba4ac6148934db84f26b Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期日, 27 六月 2021 15:58:50 +0800 Subject: [PATCH] [新增]走访任务向市平台推送。推送市平台测环境 --- springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/serviceapi/biz/impl/LcApiServiceImplTest.java | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/service_api/biz/impl/LcApiServiceImplTest.java b/springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/serviceapi/biz/impl/LcApiServiceImplTest.java similarity index 90% rename from springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/service_api/biz/impl/LcApiServiceImplTest.java rename to springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/serviceapi/biz/impl/LcApiServiceImplTest.java index 710acb4..c7759f4 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/service_api/biz/impl/LcApiServiceImplTest.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_api/src/test/java/com/panzhihua/serviceapi/biz/impl/LcApiServiceImplTest.java @@ -1,4 +1,4 @@ -package com.panzhihua.service_api.biz.impl; +package com.panzhihua.serviceapi.biz.impl; import cn.hutool.core.util.RandomUtil; import com.alibaba.fastjson.JSONArray; @@ -100,7 +100,7 @@ eventFile.setType("mp4"); eventFile.setModule("event"); eventFile.setFileName("4f843ad2d756456e900d5f24b419aa7c.mp4"); - R result = lcApiService.submitEventRelationFile(eventFile); + R result = lcApiService.submitEventOrVisitRecordRelationFile(eventFile); log.info(JSONObject.toJSONString(result)); } @@ -117,7 +117,7 @@ EventGridDataDetailsVO gridData = (EventGridDataDetailsVO) grid.getData(); eventInfo.setGridName(gridData.getGridName()); eventInfo.setCaseTypeCode(LocalEventToLangChaoEventTypeEnum.getCodeByName(eventInfoVo.getEventType())); - String caseTypeName= LocalEventToLangChaoEventTypeEnum.getEventNameByCode(eventInfoVo.getEventType()); + String caseTypeName = LocalEventToLangChaoEventTypeEnum.getEventNameByCode(eventInfoVo.getEventType()); eventInfo.setCaseTypeName(caseTypeName); eventInfo.setHappenTime(String.valueOf(eventInfoVo.getHappenTime().getTime())); eventInfo.setHappenAddress(eventInfoVo.getHappenAddress()); @@ -144,7 +144,7 @@ eventFile.setType("png"); eventFile.setModule("event"); eventFile.setFileName(eventResourceVO.getResourceName()); - lcApiService.submitEventRelationFile(eventFile); + lcApiService.submitEventOrVisitRecordRelationFile(eventFile); }); List<EventResourceVO> audiosList = eventInfoVo.getAudios(); audiosList.forEach(eventResourceVO -> { @@ -154,7 +154,7 @@ eventFile.setType("mp3"); eventFile.setModule("event"); eventFile.setFileName(eventResourceVO.getResourceName()); - lcApiService.submitEventRelationFile(eventFile); + lcApiService.submitEventOrVisitRecordRelationFile(eventFile); }); List<EventResourceVO> videoList = eventInfoVo.getVideos(); videoList.forEach(eventResourceVO -> { @@ -164,7 +164,7 @@ eventFile.setType("mp4"); eventFile.setModule("event"); eventFile.setFileName(eventResourceVO.getResourceName()); - lcApiService.submitEventRelationFile(eventFile); + lcApiService.submitEventOrVisitRecordRelationFile(eventFile); }); log.info("结束上传附件图片信息"); } @@ -178,4 +178,20 @@ SerializerFeature.WriteDateUseDateFormat); log.info(pretty); } + + @Test + void requestLcFlowPersonVisitRecord() { + } + + @Test + void automationUploadVisitRecord() { + lcApiService.automationUploadVisitRecord(); + } + + @Test + void getGridMemberListByAreaIdOrName() { + String data = lcApiService.getGridMemberListByAreaIdOrName("jhRxqEQp"); + log.info(data); + } + } \ No newline at end of file -- Gitblit v1.7.1