标签:from nbsp sele sel sql app string ram 拼接
param.ids为String[] 数组
StringBuilder sql = new StringBuilder();
sql.Append($" select * from school_relation where id in (‘{string.Join("‘,‘", param.ids)}‘) ;");
标签:from nbsp sele sel sql app string ram 拼接
原文地址:https://www.cnblogs.com/personblog/p/13202701.html