Commit 7045f25e by lizefeng

fix

parent 7dfac367
......@@ -938,9 +938,9 @@ namespace AutoTurnOver.Services
var reportData = DownloadReportData(pamsAccount, ana_task.report_id);
if(string.IsNullOrWhiteSpace(reportData.ReportDocumentId))
{
if(reportData.ProcessingStatus== Report.ProcessingStatusEnum.CANCELLED)
if(reportData.ProcessingStatus == Report.ProcessingStatusEnum.FATAL|| reportData.ProcessingStatus == Report.ProcessingStatusEnum.CANCELLED)
{
ana_task.ana_status =2;
ana_task.ana_status =-2;
MyMySqlConnection._connection.Update(ana_task);
return;
}
......
......@@ -65,10 +65,10 @@ namespace ResetOutofstock
//new AmazonDataSynchroService().AnaFbaStorageFeeReport(status:-1);
//new AmazonDataSynchroService().AnaFbaLongTermStorageFeeReport();
//new AmazonDataSynchroService().AnaFbaOverageStorageFeeReport(report_id: "937084019471");
// while (true)
// {
// new AmazonDataSynchroService().AnaFbaLongTermStorageFeeReport();
//}
while (true)
{
new AmazonDataSynchroService().AnaFbaLongTermStorageFeeReport();
}
//new AmazonDataSynchroService().AnaReport(data_id: "17339571721");
}
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