From 6473a400231d272c4e8f1b65e31674f506f9924c Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 7 Nov 2025 14:38:58 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-07=20=E6=8E=A5=E5=8F=A3=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=AE=A1=E7=90=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/gaotao/modules/sys/entity/ApiLogEntity.java | 3 +++ src/main/resources/mapper/sys/InterfaceLogDao.xml | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/main/java/com/gaotao/modules/sys/entity/ApiLogEntity.java b/src/main/java/com/gaotao/modules/sys/entity/ApiLogEntity.java index d51496e..adbf795 100644 --- a/src/main/java/com/gaotao/modules/sys/entity/ApiLogEntity.java +++ b/src/main/java/com/gaotao/modules/sys/entity/ApiLogEntity.java @@ -82,6 +82,9 @@ public class ApiLogEntity implements Serializable { // 上次返回内容 private String lastResponseData; + // 仓库ID + private String warehouseId; + // 创建人 private String createdBy; diff --git a/src/main/resources/mapper/sys/InterfaceLogDao.xml b/src/main/resources/mapper/sys/InterfaceLogDao.xml index e1f95bc..712be12 100644 --- a/src/main/resources/mapper/sys/InterfaceLogDao.xml +++ b/src/main/resources/mapper/sys/InterfaceLogDao.xml @@ -26,6 +26,7 @@ retry_interval AS retryInterval, next_retry_time AS nextRetryTime, last_retry_time AS lastRetryTime, + warehouse_id AS warehouseId, created_by AS createdBy, created_date AS createdDate FROM api_log @@ -54,6 +55,9 @@ AND need_retry_flag = #{needRetryFlag} + + AND warehouse_id = #{warehouseId} + AND CONVERT(varchar(10), created_date, 23) >= #{startDate} @@ -97,6 +101,9 @@ AND need_retry_flag = #{needRetryFlag} + + AND warehouse_id = #{warehouseId} + AND CONVERT(varchar(10), created_date, 23) >= #{startDate}