查询订单无名称赋默认值
This commit is contained in:
@@ -906,7 +906,7 @@ public class OrderService {
|
||||
}
|
||||
orderInfo.setSkuInfos(skuInfoPos);
|
||||
orderInfo.setZdNo("POS");
|
||||
orderInfo.setNames(orderInfo.getProductName().split(","));
|
||||
orderInfo.setNames(orderInfo.getProductName() == null ? new String[]{""} : orderInfo.getProductName().split(","));
|
||||
}
|
||||
PageInfo pageInfo = new PageInfo(list);
|
||||
log.info("获取订单:{}", JSONUtil.toJSONString(pageInfo));
|
||||
|
||||
Reference in New Issue
Block a user