Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
ef170d92
Commit
ef170d92
authored
Apr 22, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复jff跟dffs公式取值错误
parent
7059de95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
DFFS.java
.../taxtech/atms/vat/service/impl/report/functions/DFFS.java
+2
-2
JFFS.java
.../taxtech/atms/vat/service/impl/report/functions/JFFS.java
+2
-2
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/report/functions/DFFS.java
View file @
ef170d92
...
@@ -186,13 +186,13 @@ public class DFFS extends FunctionBase implements FreeRefFunction {
...
@@ -186,13 +186,13 @@ public class DFFS extends FunctionBase implements FreeRefFunction {
for
(
TrialBalanceFinal
balance
:
temp
)
{
for
(
TrialBalanceFinal
balance
:
temp
)
{
ReportCellDataSourceDto
dto
=
new
ReportCellDataSourceDto
();
ReportCellDataSourceDto
dto
=
new
ReportCellDataSourceDto
();
dto
.
setAmount
(
balance
.
getPeriodCr
());
dto
.
setAmount
(
balance
.
getPeriodCr
Beq
());
dto
.
setPeriod
(
period
);
dto
.
setPeriod
(
period
);
dto
.
setIsOnlyManualInput
(
Boolean
.
FALSE
);
dto
.
setIsOnlyManualInput
(
Boolean
.
FALSE
);
dto
.
setName
(
Constant
.
DataSourceName
.
ReportDataSource
);
dto
.
setName
(
Constant
.
DataSourceName
.
ReportDataSource
);
dto
.
setType
(
FormulaDataSourceType
.
Report
.
getCode
());
dto
.
setType
(
FormulaDataSourceType
.
Report
.
getCode
());
contain
.
add
(
dto
);
contain
.
add
(
dto
);
}
}
return
temp
.
stream
().
mapToDouble
(
a
->
a
.
getPeriodCr
().
doubleValue
()).
sum
();
return
temp
.
stream
().
mapToDouble
(
a
->
a
.
getPeriodCr
Beq
().
doubleValue
()).
sum
();
}
}
}
}
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/report/functions/JFFS.java
View file @
ef170d92
...
@@ -183,13 +183,13 @@ public class JFFS extends FunctionBase implements FreeRefFunction {
...
@@ -183,13 +183,13 @@ public class JFFS extends FunctionBase implements FreeRefFunction {
for
(
TrialBalanceFinal
balance
:
temp
)
{
for
(
TrialBalanceFinal
balance
:
temp
)
{
ReportCellDataSourceDto
dto
=
new
ReportCellDataSourceDto
();
ReportCellDataSourceDto
dto
=
new
ReportCellDataSourceDto
();
dto
.
setAmount
(
balance
.
getPeriodDr
());
dto
.
setAmount
(
balance
.
getPeriodDr
Beq
());
dto
.
setPeriod
(
period
);
dto
.
setPeriod
(
period
);
dto
.
setIsOnlyManualInput
(
Boolean
.
FALSE
);
dto
.
setIsOnlyManualInput
(
Boolean
.
FALSE
);
dto
.
setName
(
Constant
.
DataSourceName
.
ReportDataSource
);
dto
.
setName
(
Constant
.
DataSourceName
.
ReportDataSource
);
dto
.
setType
(
FormulaDataSourceType
.
Report
.
getCode
());
dto
.
setType
(
FormulaDataSourceType
.
Report
.
getCode
());
contain
.
add
(
dto
);
contain
.
add
(
dto
);
}
}
return
temp
.
stream
().
mapToDouble
(
a
->
a
.
getPeriodDr
().
doubleValue
()).
sum
();
return
temp
.
stream
().
mapToDouble
(
a
->
a
.
getPeriodDr
Beq
().
doubleValue
()).
sum
();
}
}
}
}
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