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
9c90afd2
Commit
9c90afd2
authored
Dec 07, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复Shopify广告费不一致问题
parent
d7006e26
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OrdersServices.cs
Bailun.DC.Services/OrdersServices.cs
+2
-2
No files found.
Bailun.DC.Services/OrdersServices.cs
View file @
9c90afd2
...
@@ -6728,7 +6728,7 @@ namespace Bailun.DC.Services
...
@@ -6728,7 +6728,7 @@ namespace Bailun.DC.Services
if
(
start
.
HasValue
)
if
(
start
.
HasValue
)
{
{
//转美东时间
//转美东时间
start
=
TimeZoneInfo
.
ConvertTimeFromUtc
(
start
.
Value
.
Date
.
ToUniversalTime
(),
easternZone
);
start
=
start
.
Value
.
Date
.
AddHours
(-
12
);
sql
+=
" and bdate >= @bdate"
;
sql
+=
" and bdate >= @bdate"
;
sqlparam
.
Add
(
"bdate"
,
start
.
Value
);
sqlparam
.
Add
(
"bdate"
,
start
.
Value
);
}
}
...
@@ -6736,7 +6736,7 @@ namespace Bailun.DC.Services
...
@@ -6736,7 +6736,7 @@ namespace Bailun.DC.Services
if
(
end
.
HasValue
)
if
(
end
.
HasValue
)
{
{
//转美东时间
//转美东时间
end
=
TimeZoneInfo
.
ConvertTimeFromUtc
(
end
.
Value
.
Date
.
AddDays
(
1
).
ToUniversalTime
(),
easternZone
);
end
=
end
.
Value
.
Date
.
AddDays
(
1
).
AddHours
(-
12
);
sql
+=
" and bdate < @edate"
;
sql
+=
" and bdate < @edate"
;
sqlparam
.
Add
(
"edate"
,
end
.
Value
);
sqlparam
.
Add
(
"edate"
,
end
.
Value
);
}
}
...
...
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