摘要: 第一种begindeclare @strid nvarchar(max)='296,297' declare @temp Table (a varchar(100)) --创建临时表 --把参数@strid分割成int数组并插入临时表@tempDeclare @i IntSet @strid = R 阅读全文
posted @ 2018-07-17 16:25 ITMrRight 阅读(205) 评论(0) 推荐(0) 编辑
摘要: var code = string.Join(",", ProductionLineListCode.Select(item => $"'{item}'")); string sql = string.Format("select * from mes_Resources where ResCode 阅读全文
posted @ 2018-07-17 14:28 ITMrRight 阅读(2378) 评论(0) 推荐(0) 编辑