Commit 54795b71 by 泽锋 李

fix

parent 808083de
......@@ -444,8 +444,8 @@ namespace AutoTurnOver.DB
});
var remarks = "";
item4.occur_time_year_month_no = $"{item4.occur_time.Year}-{item4.occur_time.Month}-{item4.bailun_sku}";
item4.pay_time_year_month_no = $"{item4.pay_time.Year}-{item4.pay_time.Month}-{item4.bailun_sku}";
item4.pay_time = CalculationLogisticsPayTime(logisticsList, logistics_company_list, item4.occur_time, pick_data_logistics_order_id, out remarks);
item4.pay_time_year_month_no = $"{item4.pay_time.Year}-{item4.pay_time.Month}-{item4.bailun_sku}";
item4.remarks = remarks;
item4.id = conn.QuerySingleOrDefault<int?>(" select id from dc_report_cash_flow_log where data_type=@data_type and bailun_sku=@bailun_sku and item_no=@item_no ", new
{
......@@ -455,12 +455,12 @@ namespace AutoTurnOver.DB
}) ?? 0;
if (item4.id > 0)
{
addList.Add(item4);
updateList.Add(item4);
//conn.Update(item4);
}
else
{
updateList.Add(item4);
addList.Add(item4);
//conn.Insert(item4);
}
......
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