Commit a80949f4 by lizefeng

fix

parent 514cfe35
......@@ -69,7 +69,7 @@ namespace AutoTurnOver.DB
sku = item.skuCode,
sku_name = "",
warehouse_type = "海外仓,第三方仓库",
id = _connection.QueryFirstOrDefault<int?>(" select id from dc_report_invest_return_sku where sku=@sku ", new { sku = item.skuCode }) ?? 0
id = _connection.QueryFirstOrDefault<int?>(" select id from dc_report_invest_return_sku where sku=@sku limit 1 ", new { sku = item.skuCode }) ?? 0
};
if (dbSku.id <= 0)
{
......
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