From bdeb314fc9f81d444547fdd9fa7eabea4cb39a68 Mon Sep 17 00:00:00 2001 From: "zhenghaiyang@ele-cloud.com" Date: Mon, 17 Apr 2023 21:27:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E9=87=87=E9=9B=86-?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dmybatis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/dxhy/core/task/SnEmailGatherTask.java | 2 +- .../main/resources/mapper/mailGather/MailGatherLogMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java b/dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java index 32d6e59d..ad3675ff 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java +++ b/dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java @@ -180,7 +180,7 @@ public class SnEmailGatherTask { hashMap.put("Authorization",md5Encode); log.info("调用影像票夹接口,调用地址:{},请求头:{},请求参数:{}",snyxPjurl,snyxPjurl,JSONObject.toJSONString(ocrResult)); String body = HttpRequest.post(snyxPjurl).addHeaders(hashMap).body(JSONObject.toJSONString(ocrResult)).timeout(300000).execute().body(); - log.info("d调用影像票夹接口返回参数:{}",body); + log.info("调用影像票夹接口返回参数:{}",body); Map resultMap = JSONObject.parseObject(body, Map.class); Object status = resultMap.get("status"); if(status != null && "200".equals(String.valueOf(status))){ diff --git a/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml b/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml index 16ebd4b3..981e8515 100644 --- a/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml +++ b/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml @@ -27,7 +27,7 @@ - SELECT m.create_time, e.dept_name, e.username, m.from_address, m.file_name, m.file_type, m.ocr_type, m.error_msg FROM From 374857200fe374cf9d18a5212cfb88ca48aaeece Mon Sep 17 00:00:00 2001 From: "zhenghaiyang@ele-cloud.com" Date: Tue, 18 Apr 2023 09:24:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E9=87=87=E9=9B=86-?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/mailGather/MailGatherLogMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml b/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml index 981e8515..eb3bf18f 100644 --- a/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml +++ b/dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml @@ -27,7 +27,7 @@ - SELECT m.create_time, e.dept_name, e.username, m.from_address, m.file_name, m.file_type, m.ocr_type, m.error_msg FROM @@ -49,10 +49,10 @@ and m.ocr_type = #{ocrType} - + and m.create_time >= #{startTime} - + and #{endTime} >= m.create_time