Commit 44068f8e by 泽锋 李

fix

parent fa11d014
......@@ -668,7 +668,7 @@ GROUP BY t1.bailun_sku,t3.hq_type
// 如果是永久停止,则清理历史采购建议
if (time_type == 2)
{
_connection.Execute(" update dc_auto_purchase_advise_detailed set `status`=-1 where bailun_sku_warehouse_codes in @bailun_sku_warehouse_codes ", new
_connection.Execute(" update dc_auto_purchase_advise_detailed set `status`=-1 where bailun_sku_warehouse_code in @bailun_sku_warehouse_codes ", new
{
bailun_sku_warehouse_codes = datas.Select(s => $"{s.bailun_sku}{s.warehouse_code}").ToList()
});
......
......@@ -418,7 +418,16 @@ namespace AutoTurnOver.Services
public string BatchMonitorStatus(string ids, int monitor_status, int time_type, UserData user)
{
return DB.db_config.BatchMonitorStatus(ids, monitor_status,time_type, user);
try
{
return DB.db_config.BatchMonitorStatus(ids, monitor_status, time_type, user);
}
catch (Exception ex)
{
throw;
}
}
public string BatchReturnGoodsStatus(string ids, int monitor_status, UserData user)
{
......
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