Commit bf7d8583 by 泽锋 李

重置最快到货表

parent 3f72a98b
......@@ -27,7 +27,10 @@ t1.logisticsname
from dc_base_transfer_info as t1
left join dc_base_transfer_info_skus as t2 on t1.dataid =t2.dataid
left join (select system_order_no,max(expectarrivaltime) as 'expectarrivaltime' from dc_lms_order_transfer_current_node GROUP BY system_order_no ) as t3 on t1.`code` = t3.system_order_no
where t1.stateid!=5 and t1.isdeleted=0 and t2.deliverycount>t2.storagecount ").ToList();
where t1.isdeleted=0 and t1.stateid not in (5,11,12)
and t2.deliverycount > t2.storagecount
and t1.isexception = 0
and t1.expectarrivaltime >='1991-01-01' ",commandTimeout:0).ToList();
if (temp_trans_order_datas != null && temp_trans_order_datas.Count>=1)
{
var db_datas = new List<dc_base_transfer_extend>();
......
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