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
fb28e93e
Commit
fb28e93e
authored
Jan 09, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决管理成本 广州电子服装仓利息明细不对的问题
parent
de43b8c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+12
-2
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
fb28e93e
...
...
@@ -1005,7 +1005,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
var
listInterest
=
new
List
<
Models
.
Api
.
mInterestExpense
>();
if
(
paycompanyid
.
HasValue
&&
paycompanyid
.
Value
>
0
)
if
(
paycompanyid
.
HasValue
&&
paycompanyid
.
Value
>
0
&&
paycompanyid
.
Value
==
1
)
{
cwurl
+=
"&CompanyVal="
+
paycompanyid
.
Value
;
}
...
...
@@ -1014,6 +1014,11 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{
//利息支出
listInterest
=
new
Services
.
FinanceReportServices
().
ListInterestExpense
(
cwurl
);
if
(
paycompanyid
.
HasValue
&&
paycompanyid
.
Value
>
0
&&
paycompanyid
.
Value
!=
1
)
//如果不是广州百伦的,则汇总显示为电子仓的
{
listInterest
=
listInterest
.
Where
(
a
=>
a
.
CompanyVal
!=
1
).
ToList
();
}
}
if
(
listInterest
.
Count
>
0
)
...
...
@@ -1047,7 +1052,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
var
listInterest
=
new
List
<
Models
.
Api
.
mInterestExpense
>();
if
(
paycompanyid
.
HasValue
&&
paycompanyid
.
Value
>
0
)
if
(
paycompanyid
.
HasValue
&&
paycompanyid
.
Value
>
0
&&
paycompanyid
.
Value
==
1
)
{
cwurl
+=
"&CompanyVal="
+
paycompanyid
.
Value
;
}
...
...
@@ -1056,6 +1061,11 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{
//利息支出
listInterest
=
new
Services
.
FinanceReportServices
().
ListInterestExpense
(
cwurl
);
if
(
paycompanyid
.
HasValue
&&
paycompanyid
.
Value
>
0
&&
paycompanyid
.
Value
!=
1
)
//如果不是广州百伦的,则汇总显示为电子仓的
{
listInterest
=
listInterest
.
Where
(
a
=>
a
.
CompanyVal
!=
1
).
ToList
();
}
}
var
colNames
=
new
List
<
string
>
{
"借入公司主体名称"
,
"借款帐号"
,
"借款银行名称"
,
"借款银行持卡人"
,
"债权方"
,
...
...
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