Commit c39779c7 by 泽锋 李

fix

parent dafaa99f
...@@ -2424,7 +2424,7 @@ order by t1.gmt_modified asc ...@@ -2424,7 +2424,7 @@ order by t1.gmt_modified asc
and bailun_order_status !='Canceled' and bailun_order_status !='Canceled'
and platform_order_type != '手工单' and platform_order_type != '手工单'
and pay_time>=@btime and pay_time<=@etime and warehouse_code='GZBLWH' GROUP BY bailun_sku,warehouse_code",new { and pay_time>=@btime and pay_time<=@etime and warehouse_code='GZBLWH' GROUP BY bailun_sku,warehouse_code",new {
btime = DateTime.Now.AddDays(-8).ToDayHome(), btime = DateTime.Now.AddDays(-7).ToDayHome(),
etime = DateTime.Now.AddDays(-1).ToDayEnd(), etime = DateTime.Now.AddDays(-1).ToDayEnd(),
},commandTimeout:0); },commandTimeout:0);
......
...@@ -4963,6 +4963,7 @@ where t1.paid_time>=@btime and t1.paid_time<=@etime "; ...@@ -4963,6 +4963,7 @@ where t1.paid_time>=@btime and t1.paid_time<=@etime ";
{ {
_connection.Execute(" delete from dc_auto_jit_inventory where type=1 and invalid_date<=@now_date ",new { now_date = DateTime.Now.ToDayEnd()}, commandTimeout:0); _connection.Execute(" delete from dc_auto_jit_inventory where type=1 and invalid_date<=@now_date ",new { now_date = DateTime.Now.ToDayEnd()}, commandTimeout:0);
} }
} }
} }
......
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