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}