Commit 2092dc92 by lizefeng

fix

parent c1bf12ec
......@@ -324,6 +324,10 @@ namespace AutoTurnOver.Services
public void AnaReport()
{
var ana_task = MyMySqlConnection._connection.QueryFirstOrDefault<dc_base_amazon_fee_report_log>(" select * from dc_base_amazon_fee_report_log where ana_status=0 order by id desc limit 1 ");
if (ana_task == null)
{
return null;l
}
try
{
var pamsAccount = ApiServices.GetAmazonAccountList().FirstOrDefault(s => s.Id == ana_task.pams_account_id);
......
......@@ -19,7 +19,7 @@
<NeutralLanguage>en-US</NeutralLanguage>
<Description>.Net C# library for the new Amazon Selling Partner API</Description>
<RepositoryType>git</RepositoryType>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<UserSecretsId>2ff602c6-a213-4df0-88f2-cf1a1df95fbc</UserSecretsId>
</PropertyGroup>
......
......@@ -56,6 +56,8 @@ namespace ResetOutofstock
//{
// new AmazonDataSynchroService().AnaReport();
//}
}
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