Commit 2bcf8d22 by zhouminghui

fix

parent 20ab0b02
...@@ -1022,7 +1022,7 @@ ORDER BY t1.createtime DESC "; ...@@ -1022,7 +1022,7 @@ ORDER BY t1.createtime DESC ";
#if DEBUG #if DEBUG
time = date.ToString("yyyy-MM"); time = date.ToString("yyyy-MM");
#else #else
time = DateTime.Now.AddMonths(-1).ToString("yyyy-MM") time = DateTime.Now.AddMonths(-1).ToString("yyyy-MM");
#endif #endif
var sql = $"select * from dc_month_sales_profit where isedit != 1 and month = '{time}'"; var sql = $"select * from dc_month_sales_profit where isedit != 1 and month = '{time}'";
var oldData = SimpleCRUD.Query<dc_month_sales_profit_v2>(sql, null, GlobalConfig.ConnectionString).FirstOrDefault(); var oldData = SimpleCRUD.Query<dc_month_sales_profit_v2>(sql, null, GlobalConfig.ConnectionString).FirstOrDefault();
......
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