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
475ddaa9
Commit
475ddaa9
authored
Jul 20, 2021
by
GhostUI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bd7ac948
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
FinanceService.cs
Bailun.DC.Services/WebApiService/FinanceService.cs
+2
-2
No files found.
Bailun.DC.Services/WebApiService/FinanceService.cs
View file @
475ddaa9
...
...
@@ -201,7 +201,7 @@ and s1.pay_time >= @PaymentTimeStart and s1.pay_time < @PaymentTimeEnd
and s2.company_type = @CorporateEntity "
;
var
para
=
new
DynamicParameters
();
para
.
Add
(
"PaymentTimeStart"
,
input
.
PaymentTimeStart
.
Date
);
para
.
Add
(
"PaymentTimeEnd"
,
input
.
PaymentTimeEnd
.
Date
);
para
.
Add
(
"PaymentTimeEnd"
,
input
.
PaymentTimeEnd
.
AddDays
(
1
).
Date
);
para
.
Add
(
"CorporateEntity"
,
input
.
CorporateEntity
);
if
(!
string
.
IsNullOrWhiteSpace
(
input
.
CompanyName
)
&&
!
string
.
IsNullOrWhiteSpace
(
input
.
FeeType
))
...
...
@@ -246,7 +246,7 @@ and s2.company_type = @CorporateEntity ";
var
dto
=
data
.
Select
(
x
=>
new
FinanceDetailsDto
{
Amount
=
Convert
.
ToDecimal
(
x
.
amount
),
AmountRmb
=
Convert
.
ToDecimal
(
x
.
amount
),
AmountRmb
=
Convert
.
ToDecimal
(
x
.
amount
_rmb
),
CompanyName
=
x
.
company_name
,
Currency
=
x
.
dic
,
DepartmentName
=
x
.
department_name
,
...
...
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