Commit 0117c214 by 泽锋 李

推送记录查询,支持英文半角逗号分隔

parent 137247db
......@@ -598,9 +598,9 @@ where 1=1 ";
}
if (!string.IsNullOrWhiteSpace(bailun_sku))
{
sql += " and t1.bailun_sku=@bailun_sku ";
countSql += " and t1.bailun_sku=@bailun_sku ";
parameters.Add("bailun_sku", bailun_sku);
sql += " and t1.bailun_sku in @bailun_sku ";
countSql += " and t1.bailun_sku in @bailun_sku ";
parameters.Add("bailun_sku", bailun_sku.Split(','));
}
sql += " order by t1.id desc ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment