From 4356029f74f35f4df426f223e1c774f4912984a6 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期一, 26 二月 2024 22:44:24 +0800
Subject: [PATCH] 优化结束时间
---
service-fee/src/main/java/com/java110/fee/cmd/oweFeeCallable/SaveOweFeeCallableCmd.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/service-fee/src/main/java/com/java110/fee/cmd/oweFeeCallable/SaveOweFeeCallableCmd.java b/service-fee/src/main/java/com/java110/fee/cmd/oweFeeCallable/SaveOweFeeCallableCmd.java
index 5c51e3a..58996a3 100644
--- a/service-fee/src/main/java/com/java110/fee/cmd/oweFeeCallable/SaveOweFeeCallableCmd.java
+++ b/service-fee/src/main/java/com/java110/fee/cmd/oweFeeCallable/SaveOweFeeCallableCmd.java
@@ -33,6 +33,7 @@
import com.java110.utils.exception.CmdException;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
+import com.java110.utils.util.ListUtil;
import com.java110.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.slf4j.Logger;
@@ -73,7 +74,7 @@
JSONArray roomIds = reqJson.getJSONArray("roomIds");
- if (roomIds == null || roomIds.size() < 1) {
+ if (ListUtil.isNull(roomIds)) {
throw new CmdException("鏈寘鍚埧灞嬩俊鎭�");
}
--
Gitblit v1.8.0