Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
DataCenter_Core2.1_20190520
Commits
bd70436b
Commit
bd70436b
authored
Sep 22, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重跑逻辑仓库数据
parent
b27dde27
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
18 deletions
+7
-18
Program.cs
Bailun.DC.LogicWareHouse/Program.cs
+6
-15
Services.cs
Bailun.DC.LogicWareHouse/Services.cs
+1
-3
No files found.
Bailun.DC.LogicWareHouse/Program.cs
View file @
bd70436b
...
@@ -20,26 +20,17 @@ namespace Bailun.DC.LogicWareHouse
...
@@ -20,26 +20,17 @@ namespace Bailun.DC.LogicWareHouse
//static void Main(string[] args)
//static void Main(string[] args)
//{
//{
// //new Services().Save();
// var _service = new Services();
// //半成品库存
// //new Services().SemiStock();
// //半成品销量
// //半成品销量
// //new Services().UpdateSemiSale();
// //_service.UpdateSemiSale();
// // 更新缺货数和待发货数据
// //new Services().UpdateOutStockAndNoShipping();
// //更新30天现金流
// //new Services().UpdateCash30Days();
// //new Services().UpdateLogicWareHouseSemiSale();
// //更新半成品销量和现金流
// //_service.UpdateLogicWareHouseSemiSale();
// //new Services().SaleWHDailySnaps();
// new Services().UpdateAvailableDays();
// //保存每日数据快照
// //_service.SaleWHDailySnaps();
//}
//}
}
}
}
}
Bailun.DC.LogicWareHouse/Services.cs
View file @
bd70436b
...
@@ -387,8 +387,6 @@ namespace Bailun.DC.LogicWareHouse
...
@@ -387,8 +387,6 @@ namespace Bailun.DC.LogicWareHouse
cn
.
Open
();
cn
.
Open
();
}
}
cn
.
Execute
(
"update dc_skuwarehouse_stock_sales set cash_in_30days=0,cash_out_30days=0,cash_net = 0"
);
cn
.
Execute
(
"update dc_skuwarehouse_stock_sales set cash_in_30days=0,cash_out_30days=0,cash_net = 0"
);
cn
.
Execute
(
"TRUNCATE dc_base_stock_cash;"
);
cn
.
Execute
(
"TRUNCATE dc_base_stock_cash;"
);
...
@@ -481,7 +479,7 @@ select DATE_SUB(curdate(),INTERVAL 1 DAY) as day,t1.* from (select t1.hq_type,t1
...
@@ -481,7 +479,7 @@ select DATE_SUB(curdate(),INTERVAL 1 DAY) as day,t1.* from (select t1.hq_type,t1
{
{
cn
.
Open
();
cn
.
Open
();
}
}
cn
.
Execute
(
"delete from dc_daily_logic_wh_statistic where day='"
+
DateTime
.
Now
.
AddDays
(-
1
).
ToString
(
"yyyy-MM-dd"
)+
"'"
);
cn
.
Execute
(
sql
,
null
,
null
,
6
*
60
);
cn
.
Execute
(
sql
,
null
,
null
,
6
*
60
);
}
}
...
...
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