varinbound_data=_connection.QueryFirstOrDefault<dc_auto_inbound>(" select * from dc_auto_inbound where bailun_sku=@bailun_sku and warehouse_code=@warehouse_code ",new{bailun_sku=sku,warehouse_code=warehouse_code});
varinbound_data=_connection.QueryFirstOrDefault<dc_auto_inbound>(" select * from dc_auto_inbound where bailun_sku=@bailun_sku and warehouse_code=@warehouse_code ",new{bailun_sku=sku,warehouse_code=warehouse_code});
vartemp_data=_connection.QueryFirstOrDefault<dc_estimated_arrival_dto>(@"select t1.transporttype,t2.storagecount,t2.transitcount,t2.deliverycount from dc_base_transfer_info as t1
left join dc_base_transfer_info_skus as t2 on t1.dataid =t2.dataid
where t1.`code`=@code and t2.sku=@sku ",new{code=item.no,sku=sku});