list 转String

 List<String> companyIds = hsePreventRiskVO.getCompanyIds();
//      拼接sql
        String collect = String.join(",", companyIds);

 

posted @ 2022-02-16 15:38  ±小马哥  阅读(95)  评论(0)    收藏  举报