Commit ddebe670 by 徐康

判断非空

parent 06961ce3
......@@ -1148,7 +1148,7 @@ public class OrderAdapter {
responseVo.setOrderPayType(PayChannelType.WECHAT.getName());
}
}
else if (ordersBean.getOrderPayItem().size()>0) {
else if (CollectionUtils.isNotEmpty(ordersBean.getOrderPayItem())) {
responseVo.setOrderPayType(PayChannelType.COMB.getName());
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment