网站首页
编程语言
数据库
系统相关
其他分享
编程问答
中去
2024-08-12
java中去重复的id
1.Stringprojectids="";2.if(StringHelper.isNotEmpty(gatheringinfo.getCol1())&&gatheringinfo.getCol1().length()>0){projectids+=gatheringinfo.getCol1()+",";}3.if(StringHelper.isNotEmpty(projectids)){projectids=