Commit df46084a by 泽锋 李

优化采购单推送

parent 5a49f551
......@@ -28,7 +28,10 @@ namespace AutoTurnOver.DB
/// <returns></returns>
public static int? Add(dc_auto_purchase_advise data)
{
data.buy_sys_plan_no = "";
if (string.IsNullOrWhiteSpace(data.buy_sys_plan_no))
{
data.buy_sys_plan_no = "";
}
data.push_time = null;
return _connection.Insert<dc_auto_purchase_advise>(data);
}
......
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