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
9c9feceb
Commit
9c9feceb
authored
Apr 06, 2021
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决无法查看其它明细的问题
parent
df535080
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
FinanceReportServices.cs
Bailun.DC.Services/FinanceReportServices.cs
+6
-2
No files found.
Bailun.DC.Services/FinanceReportServices.cs
View file @
9c9feceb
...
...
@@ -7002,9 +7002,13 @@ group by currency";
{
var
sql
=
$"select t1.*,t2.origin_order_id,t2.bailun_order_id from dc_month_sales_profit_orderdetail t1 join dc_base_oms_sku t2 on t1.orderskuid=t2.id where t1.month='
{
month
}
' "
;
if
(!
string
.
IsNullOrEmpty
(
financecategory
)
)
if
(!
string
.
IsNullOrEmpty
(
financecategory
)
&&
financecategory
!=
"其他"
)
{
sql
+=
$" and t1.financecategoryname like '
{
financecategory
.
Replace
(
"产品"
,
""
)}
%'"
;
sql
+=
$" and t1.financecategoryname like '
{
financecategory
.
Replace
(
"产品"
,
""
)}
%'"
;
}
else
if
(
financecategory
==
"其他"
)
{
sql
+=
$" and t1.financecategoryname ='' "
;
}
using
(
var
cn
=
new
MySqlConnection
(
Common
.
GlobalConfig
.
ConnectionString_read
))
...
...
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