Commit fa72b175 by lizefeng

采购建议推送,支持根据id查询

parent c878bfa2
......@@ -2176,6 +2176,11 @@ where 1=1 ";
sql += $" and t1.main_id in @main_ids ";
parameters.Add("main_ids", m.main_ids.Split(',').Select(s => int.Parse(s)).ToList());
}
if (!string.IsNullOrWhiteSpace(m.ids))
{
sql += $" and t1.id in @ids ";
parameters.Add("ids", m.ids.Split(',').Select(s => int.Parse(s)).ToList());
}
if (!string.IsNullOrWhiteSpace(m.sku))
{
sql += $" and t1.bailun_sku in @bailun_skus ";
......
......@@ -575,6 +575,9 @@ namespace AutoTurnOver.Models
[Description("采购建议批次")]
public string main_ids { get; set; }
[Description("采购建议ID")]
public string ids { get; set; }
[Description("建议单号")]
public string order_no { get; set; }
......
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