JAVA8 map转list
List<CommonListVO> list = new ArrayList<>();
Map<String, String> map = WxECShopConstant.WxECShopWarnConstant.WARN_ORDER_NAME;
if (CollUtil.isNotEmpty(map)) {
list = map.entrySet().stream().map(entry -> {
CommonListVO vo = new CommonListVO();
vo.setValue(entry.getKey());
vo.setLabel(entry.getValue());
return vo;
}).collect(Collectors.toList());
}