Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
0ae68e3b
Commit
0ae68e3b
authored
Jul 03, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时器调整
parent
e54b1288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
FinanceModule.cs
Mall.WindowsService/Module/FinanceModule.cs
+13
-2
No files found.
Mall.WindowsService/Module/FinanceModule.cs
View file @
0ae68e3b
...
...
@@ -831,7 +831,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
foreach
(
var
Order
in
OrderList
)
{
var
omodel
=
goods_OrderRepository
.
GetEntity
(
Order
.
OrderId
);
if
(
omodel
.
ReceivingTime
.
HasValue
)
if
(
omodel
.
ReceivingTime
.
HasValue
&&
omodel
.
OrderId
>
80622
)
{
if
(
item
.
AfterTime
>
0
)
{
...
...
@@ -995,7 +995,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
if
(
Convert
.
ToDateTime
(
item
.
StartTime
.
Value
.
AddDays
(
item
.
IntervalDay
??
0
).
ToString
(
"yyyy-MM-dd 00:00:00"
))
<=
Convert
.
ToDateTime
(
System
.
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd 00:00:00"
)))
//判断开始时间加上执行周期是否等于当前日期
{
//startDate = item.StartTime.Value;
startDate
=
Convert
.
ToDateTime
(
"2020-07-0
1
"
);
startDate
=
Convert
.
ToDateTime
(
"2020-07-0
3
"
);
addFinance
=
true
;
}
}
...
...
@@ -1018,6 +1018,17 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
{
OrderRefundFinanceModule
(
olist
,
afterlist
);
}
else
{
//没有 创建一条记录 财务单据为0的记录
RB_Finance_Record_Extend
record
=
new
RB_Finance_Record_Extend
();
record
.
MallBaseId
=
item
.
MallBaseId
;
record
.
TenantId
=
item
.
TenantId
;
record
.
Type
=
3
;
record
.
CreateDate
=
System
.
DateTime
.
Now
;
record
.
FinanceId
=
0
;
record
.
RecordDetailList
=
new
List
<
RB_Finance_RecordDetail
>();
int
recordId
=
financeRecordRepository
.
Insert
(
record
);
}
}
}
}
...
...
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