From c95812b953a54e60c916c8ca375101376f58de57 Mon Sep 17 00:00:00 2001
From: Administrator <1101184511@qq.com>
Date: 星期日, 20 四月 2025 17:24:09 +0800
Subject: [PATCH] 基础功能的单元测试完成

---
 src/main/java/com/taoke/autopay/service/impl/UserSettingServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/taoke/autopay/service/impl/UserSettingServiceImpl.java b/src/main/java/com/taoke/autopay/service/impl/UserSettingServiceImpl.java
index 70ec18a..6587964 100644
--- a/src/main/java/com/taoke/autopay/service/impl/UserSettingServiceImpl.java
+++ b/src/main/java/com/taoke/autopay/service/impl/UserSettingServiceImpl.java
@@ -57,7 +57,7 @@
     @Override
     public int getLimitCountByTotalCount(int orderType, long beforeCount, OrderChannelEnum orderChannel) {
         List<UserSubmitKeyLimitDto> list = getUserSubmitKeyCountList(true);
-        if (list.size() == 0) {
+        if (list.isEmpty()) {
             return Integer.MAX_VALUE;
         }
         for (UserSubmitKeyLimitDto t : list) {

--
Gitblit v1.8.0