Commit cc26dd1a by 泽锋 李

fix

parent 5f7fa463
...@@ -217,6 +217,10 @@ where t1.`code`=@code limit 1 ...@@ -217,6 +217,10 @@ where t1.`code`=@code limit 1
} }
} }
else
{
data_log.formula = $" ( 在途总运费 {Math.Round(data_log.freight)} + 在库总运费 0 ) / ( 在途总数量 {sum_quantity} + 在库总数量 0 )";
}
_connection.Insert(data_log); _connection.Insert(data_log);
var mainData = new dc_base_transfer_freight var mainData = new dc_base_transfer_freight
......
...@@ -24,7 +24,8 @@ namespace ResetOutofstock ...@@ -24,7 +24,8 @@ namespace ResetOutofstock
//dc_base_trans_temp_schedule_dao.SynchroTransTempScheduleData(true); //dc_base_trans_temp_schedule_dao.SynchroTransTempScheduleData(true);
//dc_auto_turnover.CalculationProfitAnalysis("LM-EO-007", "MMDUSFBA"); //dc_auto_turnover.CalculationProfitAnalysis("LM-EO-007", "MMDUSFBA");
//dc_auto_turnover.SynchroCalculationProfitAnalysis(); //dc_auto_turnover.SynchroCalculationProfitAnalysis();
//dc_base_transfer_freight_dao.CalculationSingle("LM-EO-007", "MMDUSFBA");
//dc_base_transfer_freight_dao.CalculationSingle("944913201", "MMDUSFBA");
//dc_base_transfer_freight_dao.Init(); //dc_base_transfer_freight_dao.Init();
} }
catch (Exception ex) 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