mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
过滤为空的数据
This commit is contained in:
@@ -1558,6 +1558,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
// 从stationReportList中去除orderCodes并根据逗号切割组成List<String> orderCodeList
|
||||
List<String> orderCodeList = stationReportList.stream()
|
||||
.map(SettleOrderReport::getOrderCodes)
|
||||
.filter(StringUtils::isNotBlank)
|
||||
.flatMap(orderCodes -> Arrays.stream(orderCodes.split(",")))
|
||||
.collect(Collectors.toList());
|
||||
logger.info("生成运营商日账单, 运营商id:{}, 交易日期:{}, 订单数量:{}, orderCodeList:{}", merchantId, tradeDate, orderCodeList.size(), orderCodeList);
|
||||
|
||||
Reference in New Issue
Block a user