知识学堂 > 课程 >
按照 id in 的顺序输出
按照 id in 的顺序输出
发布日期:2019/11/2
来源:聚恒【返回】
ProductType_List2 = ProductType_bll.Query_ProductType(" * ", " and id in (" + Message.content.Substring(1) + ")", " order by charindex(','+rtrim(cast(id as varchar(10)))+',','," + Message.content.Substring(1) + ",') ");