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
e16d8360
Commit
e16d8360
authored
Jan 15, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决每日供应商应付账款生成的数据异常的问题
parent
42d9cb15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
Program.cs
Bailun.DC.HappenAmount/Program.cs
+9
-6
FinanceReportServices.cs
Bailun.DC.Services/FinanceReportServices.cs
+1
-1
No files found.
Bailun.DC.HappenAmount/Program.cs
View file @
e16d8360
...
@@ -20,12 +20,15 @@ namespace Bailun.DC.HappenAmount
...
@@ -20,12 +20,15 @@ namespace Bailun.DC.HappenAmount
//static void Main(string[] args)
//static void Main(string[] args)
//{
//{
// var start = DateTime.Parse("2019-11-01");
// //var start = DateTime.Parse("2019-11-01");
// while (start.AddDays(1) < DateTime.Now)
// //while (start.AddDays(1) < DateTime.Now)
// {
// //{
// new Services().Init(start, start.AddDays(1));
// // new Services().Init(start, start.AddDays(1));
// start = start.AddDays(1);
// // start = start.AddDays(1);
// }
// //}
// new Bailun.DC.Services.FinanceReportServices().AddLogisticsWaitPay(DateTime.Parse("2020-01-15"), 0);
//}
//}
}
}
}
}
Bailun.DC.Services/FinanceReportServices.cs
View file @
e16d8360
...
@@ -325,7 +325,7 @@ namespace Bailun.DC.Services
...
@@ -325,7 +325,7 @@ namespace Bailun.DC.Services
lastupdatetime
=
DateTime
.
Now
,
lastupdatetime
=
DateTime
.
Now
,
lastupdateuserid
=
0
,
lastupdateuserid
=
0
,
lastupdateusername
=
"admin"
,
lastupdateusername
=
"admin"
,
day
=
date
day
=
DateTime
.
Parse
(
date
.
ToString
(
"yyyy-MM-dd"
))
};
};
obj
.
amount_end
=
obj
.
amount_start
+
obj
.
amount_happen
+
obj
.
amount_happen_adjust
-
obj
.
amount_payed
-
obj
.
amount_payed_adjust
;
obj
.
amount_end
=
obj
.
amount_start
+
obj
.
amount_happen
+
obj
.
amount_happen_adjust
-
obj
.
amount_payed
-
obj
.
amount_payed_adjust
;
...
...
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