From a9a8af3cd6e452cbcb8f8a046890cd5b36a61b17 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 21 八月 2024 10:34:39 +0800 Subject: [PATCH] 档查询出来有多条数据时,加上数量条件,进行匹配,如果数量也匹配不上,就默认返回第一个 --- src/main/java/com/zy/asrs/mapper/ApiLogMapper.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/ApiLogMapper.java b/src/main/java/com/zy/asrs/mapper/ApiLogMapper.java index 7f9c418..a520922 100644 --- a/src/main/java/com/zy/asrs/mapper/ApiLogMapper.java +++ b/src/main/java/com/zy/asrs/mapper/ApiLogMapper.java @@ -9,4 +9,6 @@ @Repository public interface ApiLogMapper extends BaseMapper<ApiLog> { + int clearWeekBefore(); + } -- Gitblit v1.9.1