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
7aac8d82
Commit
7aac8d82
authored
Mar 13, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决退款数据导出和报表不一致的问题
parent
8fa6ba9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
OrdersServices.cs
Bailun.DC.Services/OrdersServices.cs
+13
-2
No files found.
Bailun.DC.Services/OrdersServices.cs
View file @
7aac8d82
...
...
@@ -4660,7 +4660,7 @@ namespace Bailun.DC.Services
/// <param name="orderno">平台订单号</param>
/// <param name="total">符合条件的记录数</param>
/// <returns></returns>
public
List
<
dc_base_crm_refund
>
ListOrderReturn
(
DateTime
?
start
,
DateTime
?
end
,
DateTime
?
paytimestart
,
DateTime
?
paytimeend
,
int
?
companyid
,
string
platform
,
string
website
,
string
orderno
)
public
List
<
dc_base_crm_refund
>
ListOrderReturn
(
DateTime
?
start
,
DateTime
?
end
,
DateTime
?
paytimestart
,
DateTime
?
paytimeend
,
int
?
companyid
,
string
platform
,
string
website
,
string
orderno
,
int
?
shippingstatus
)
{
var
sqlparam
=
new
DynamicParameters
();
...
...
@@ -4760,7 +4760,7 @@ namespace Bailun.DC.Services
if
(
companyid
.
HasValue
&&
companyid
.
Value
!=
0
)
{
//sql += " and t1.company_id="
+
companyid.Value;
//sql += " and t1.company_id="
+
companyid.Value;
}
if
(!
string
.
IsNullOrWhiteSpace
(
platform
))
...
...
@@ -4780,6 +4780,17 @@ namespace Bailun.DC.Services
sqlparam
.
Add
(
"orderno"
,
orderno
);
}
if
(
shippingstatus
.
HasValue
)
{
if
(
shippingstatus
.
Value
==
1
)
{
sql
+=
" and t1.shipping_status!='UnShipping'"
;
}
else
{
sql
+=
" and t1.shipping_status='UnShipping'"
;
}
}
using
(
var
cn
=
new
MySqlConnection
(
Common
.
GlobalConfig
.
ConnectionString
))
{
...
...
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