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
c12f3101
Commit
c12f3101
authored
Nov 02, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决同步wms物流基础数据服务逻辑问题
parent
caf9fa7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Services.cs
Bailun.DC.SyncLogisticInfo/Services.cs
+7
-2
No files found.
Bailun.DC.SyncLogisticInfo/Services.cs
View file @
c12f3101
...
@@ -67,11 +67,16 @@ namespace Bailun.DC.SyncLogisticInfo
...
@@ -67,11 +67,16 @@ namespace Bailun.DC.SyncLogisticInfo
if
(
m
!=
null
&&
m
.
HasValue
)
if
(
m
!=
null
&&
m
.
HasValue
)
{
{
starttime
=
m
.
Value
.
AddMinutes
(-
2
);
starttime
=
m
.
Value
.
AddMinutes
(-
2
);
endtime
=
starttime
.
AddHours
(
2
);
endtime
=
starttime
.
AddHours
(
1
);
}
}
}
}
if
(
starttime
>=
DateTime
.
Now
)
{
starttime
=
DateTime
.
Now
.
AddMinutes
(-
2
);
}
//starttime = DateTime.Parse("2020-09-05");
//starttime = DateTime.Parse("2020-09-05");
//endtime = starttime.AddDays(1);
//endtime = starttime.AddDays(1);
if
(
endtime
>
DateTime
.
Now
)
if
(
endtime
>
DateTime
.
Now
)
...
@@ -106,7 +111,7 @@ namespace Bailun.DC.SyncLogisticInfo
...
@@ -106,7 +111,7 @@ namespace Bailun.DC.SyncLogisticInfo
{
{
page
=
1
;
page
=
1
;
total
=
0
;
total
=
0
;
endtime
=
endtime
.
AddDays
(
1
);
}
}
}
}
...
...
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