mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
方法判空
This commit is contained in:
@@ -50,10 +50,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.*;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
@@ -1574,6 +1571,9 @@ public class AdapayService {
|
|||||||
* @return 未分帐paymentIdList
|
* @return 未分帐paymentIdList
|
||||||
*/
|
*/
|
||||||
public List<String> getSplitInfoByPaymentIdList(List<String> paymentIdList) throws BaseAdaPayException {
|
public List<String> getSplitInfoByPaymentIdList(List<String> paymentIdList) throws BaseAdaPayException {
|
||||||
|
if (CollectionUtils.isEmpty(paymentIdList)) {
|
||||||
|
return new ArrayList<>();
|
||||||
|
}
|
||||||
List<String> unSplitList = Lists.newArrayList(); // 未分帐
|
List<String> unSplitList = Lists.newArrayList(); // 未分帐
|
||||||
List<String> splitList = Lists.newArrayList(); // 已分帐
|
List<String> splitList = Lists.newArrayList(); // 已分帐
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user