Commit 62b98eda by 泽锋 李

第三方仓的调拨在途也自己计算

parent e460b7f6
......@@ -4166,7 +4166,7 @@ left join ( select * from dc_lms_order_transfer_current_node GROUP BY data_id,s
where t2.isdeleted=0 and t2.stateid not in (5,11,12)
and t1.deliverycount > t1.storagecount
and t2.isexception = 0
and t3.hq_type='fba仓' and t2.expectarrivaltime >='1991-01-01'").ToList();
and t3.hq_type in ('fba仓','第三方仓库') and t2.expectarrivaltime >='1991-01-01'").ToList();
// 计算国内入库,还没有调拨单的数据
var temp_p_datas = _connection.Query<dc_base_trans_expectarrivaltime_temp>(@"select
......@@ -4178,7 +4178,7 @@ t1.target_ware_no as 'warehouse_code' ,
'1991-01-01' as 'expectarrivaltime'
from dc_base_trans_temp_schedule as t1
left join dc_base_warehouse as t2 on t1.target_ware_no = t2.warehouse_code
where t1.is_delete=0 and t1.is_temp_data=1 and t1.is_exception=0 and t2.hq_type='fba仓' and t1.create_state in (0,1)
where t1.is_delete=0 and t1.is_temp_data=1 and t1.is_exception=0 and t2.hq_type in ('fba仓') and t1.create_state in (0,1)
").ToList();
// 查询计划单
......
......@@ -25,7 +25,7 @@ namespace AutoTurnOver.Purchase.AverageTarget
{
//report.ResetTransExpectArrivaltime();
//PurchaseAverageTargetServices.CalculationTransfer("LM-EO-007", days: (360 * 3));
//PurchaseAverageTargetServices.Calculation("945326702", days: (360 * 3));
//PurchaseAverageTargetServices.Calculation("243903601", days: (360 * 3));
}
catch (Exception ex)
{
......
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