List<ProductInfoVO> list = dao.queryDocesByCondition(condition);
String value = list.stream().map(productInfoVO -> String.valueOf(productInfoVO.getReqType())).collect(Collectors.joining(","));
拼接的符号使用的是 “,”
mb647eeee548bfc 博主文章分类:Java基础 ©著作权
List<ProductInfoVO> list = dao.queryDocesByCondition(condition);
String value = list.stream().map(productInfoVO -> String.valueOf(productInfoVO.getReqType())).collect(Collectors.joining(","));
拼接的符号使用的是 “,”
这一节,我们从 基础知识、简单实践、小结 三个方面来学习。实践1-内容比较判断。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M