From 82431554568c5af04e588575fbc9fd93063d2d96 Mon Sep 17 00:00:00 2001 From: donqi Date: Sun, 13 Nov 2022 17:54:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=94=B9=E4=BB=B7=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=85=A5=E5=8F=82=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/FinancialChangeRecordServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghy-payment/src/main/java/com/ghy/payment/service/impl/FinancialChangeRecordServiceImpl.java b/ghy-payment/src/main/java/com/ghy/payment/service/impl/FinancialChangeRecordServiceImpl.java index aa9c0189..fcbeb39a 100644 --- a/ghy-payment/src/main/java/com/ghy/payment/service/impl/FinancialChangeRecordServiceImpl.java +++ b/ghy-payment/src/main/java/com/ghy/payment/service/impl/FinancialChangeRecordServiceImpl.java @@ -4,9 +4,11 @@ import com.ghy.common.core.text.Convert; import com.ghy.payment.domain.FinancialChangeRecord; import com.ghy.payment.mapper.FinancialChangeRecordMapper; import com.ghy.payment.service.FinancialChangeRecordService; +import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.ArrayList; import java.util.List; /** @@ -49,6 +51,9 @@ public class FinancialChangeRecordServiceImpl implements FinancialChangeRecordSe @Override public List selectByDetailIds(String ids) { + if (StringUtils.isBlank(ids)) { + return new ArrayList(); + } return financialChangeRecordMapper.selectByDetailIds(ids); }