Commit 182b630b by 泽锋 李

周转表支持产品类型筛选

parent 92b7640e
......@@ -179,6 +179,11 @@ from dc_auto_turnover as dat
sql += " and dat.buyer_name = " + $"'{m.buyer_name}'";
sqlCount += " and dat.buyer_name = " + $"'{m.buyer_name}'";
}
if (!string.IsNullOrWhiteSpace(m.product_type))
{
sql += " and t4.product_type = " + $"'{m.product_type}'";
sqlCount += " and t4.product_type = " + $"'{m.product_type}'";
}
if (m.monitor_status == 1)
{
sql += " and t5.`status`=1 ";
......
......@@ -402,6 +402,9 @@ namespace AutoTurnOver.Models
[Description("日均(最大)")]
public int? avg_sales_max { get; set; }
[Description("产品类型")]
public string product_type { get; set; }
}
public class dc_auto_turnover_Extend : dc_auto_turnover
......
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