Commit 73af4bce by 泽锋 李

fix

parent 6acbdbd4
......@@ -562,10 +562,11 @@ count(DISTINCT case when t3.transport_type=1 then t1.`code` else null end) as 'o
from dc_base_transfer_info as t1
left join dc_base_transfer_info_skus as t2 on t1.dataid = t2.dataid
inner join dc_base_lms_channel as t3 on t1.channelname = t3.`name`
where t2.sku=@sku and t1.targetwareno=@targetwareno and t3.transport_type in (1,2,3)
where t2.sku=@sku and t1.targetwareno=@targetwareno and t3.transport_type in (1,2,3) and t1.creationtime>=@btime
", new {
sku= data.bailun_sku,
targetwareno = data.targetwareno
targetwareno = data.targetwareno,
btime = DateTime.Now.AddDays(-90).ToDayHome()
}).ToList();
//try
//{
......
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