Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
data-center-auto
Commits
4a31ba63
Commit
4a31ba63
authored
Mar 16, 2021
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bc880a41
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
daily.cs
AutoTurnOver.DB/daily.cs
+5
-5
Program.cs
ResetOutofstock/Program.cs
+2
-1
ResetOutofstockBackgrounService.cs
ResetOutofstock/ResetOutofstockBackgrounService.cs
+4
-4
No files found.
AutoTurnOver.DB/daily.cs
View file @
4a31ba63
...
@@ -1364,11 +1364,11 @@ sales_reset_date = now()
...
@@ -1364,11 +1364,11 @@ sales_reset_date = now()
where id=@id
where id=@id
"
,
new
"
,
new
{
{
amount_sales_usd_month_1
=
tempData
.
amount_sales_usd_month_1
,
amount_sales_usd_month_1
=
temp
Month
Data
.
amount_sales_usd_month_1
,
bailun_sku_quantity_ordered_month_1
=
tempData
.
bailun_sku_quantity_ordered_month_1
,
bailun_sku_quantity_ordered_month_1
=
temp
Month
Data
.
bailun_sku_quantity_ordered_month_1
,
amount_sales_usd_month_2
=
tempData
.
amount_sales_usd_month_2
,
amount_sales_usd_month_2
=
temp
Month
Data
.
amount_sales_usd_month_2
,
bailun_sku_quantity_ordered_month_2
=
tempData
.
bailun_sku_quantity_ordered_month_2
,
bailun_sku_quantity_ordered_month_2
=
temp
Month
Data
.
bailun_sku_quantity_ordered_month_2
,
amount_sales_usd_30
=
tempData
.
amount_sales_usd_30
,
amount_sales_usd_30
=
temp
Month
Data
.
amount_sales_usd_30
,
id
=
item
.
id
id
=
item
.
id
});
});
}
}
...
...
ResetOutofstock/Program.cs
View file @
4a31ba63
...
@@ -28,7 +28,8 @@ namespace ResetOutofstock
...
@@ -28,7 +28,8 @@ namespace ResetOutofstock
//dc_base_transfer_freight_dao.CalculationSingle("946549801", "GB4PXBL");
//dc_base_transfer_freight_dao.CalculationSingle("946549801", "GB4PXBL");
//dc_base_transfer_freight_dao.Init();
//dc_base_transfer_freight_dao.Init();
//daily.ResetFbaExtendSales(DateTime.Now);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
...
...
ResetOutofstock/ResetOutofstockBackgrounService.cs
View file @
4a31ba63
...
@@ -19,14 +19,14 @@ namespace ResetOutofstock
...
@@ -19,14 +19,14 @@ namespace ResetOutofstock
{
{
try
try
{
{
Console
.
WriteLine
(
$"
init
开始 ,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
Console
.
WriteLine
(
$"
fba 1/2 月销量
开始 ,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
daily
.
ResetFbaExtendSales
(
DateTime
.
Now
);
daily
.
ResetFbaExtendSales
(
DateTime
.
Now
);
Console
.
WriteLine
(
$"
init
结束,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
Console
.
WriteLine
(
$"
fba 1/2 月销量
结束,线程Id:
{
Thread
.
CurrentThread
.
ManagedThreadId
}
,
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
"
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
Console
.
WriteLine
(
ex
.
Message
);
Console
.
WriteLine
(
" fba 1/2 月销量 异常 :"
+
ex
.
Message
);
Console
.
WriteLine
(
ex
.
StackTrace
);
Console
.
WriteLine
(
" fba 1/2 月销量 异常: "
+
ex
.
StackTrace
);
}
}
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment