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
e513ff23
Commit
e513ff23
authored
Jul 04, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add function FSJZ(Not finished yet)
parent
986664f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
161 additions
and
7 deletions
+161
-7
FormulaContext.java
...tms/vat/service/impl/report/functions/FormulaContext.java
+161
-7
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/report/functions/FormulaContext.java
View file @
e513ff23
package
pwc
.
taxtech
.
atms
.
vat
.
service
.
impl
.
report
.
functions
;
import
lombok.Getter
;
import
lombok.Setter
;
import
pwc.taxtech.atms.utils.FormulaResult
;
import
pwc.taxtech.atms.vat.dao.PeriodTemplateMapper
;
import
java.util.Map
;
@Setter
@Getter
public
class
FormulaContext
{
private
String
projectID
;
private
String
reportTemplateGroupID
;
...
...
@@ -21,7 +21,7 @@ public class FormulaContext {
private
Boolean
isDetailed
;
private
Boolean
isIndexAnalysis
;
private
Boolean
cacheHasIndexCode
;
private
FormulaAgent
formulaAgent
;
// <summary>
// 如果BB公式在cache中取上期失败,是否去上期取
...
...
@@ -31,7 +31,161 @@ public class FormulaContext {
// 如果为99,则实时计算;如果为-1,则不用于判断是否实时计算;其他情况会在对应时机计算并保存
// </summary>
private
Integer
calculateStatus
;
// private Map<String, FormulaResult> replaceSpecialCellFormulaDic;
private
FormulaAgent
formulaAgent
;
private
Map
<
String
,
FormulaResult
>
replaceSpecialCellFormulaDic
;
public
String
getProjectID
()
{
return
projectID
;
}
public
void
setProjectID
(
String
projectID
)
{
this
.
projectID
=
projectID
;
}
public
String
getReportTemplateGroupID
()
{
return
reportTemplateGroupID
;
}
public
void
setReportTemplateGroupID
(
String
reportTemplateGroupID
)
{
this
.
reportTemplateGroupID
=
reportTemplateGroupID
;
}
public
String
getReportID
()
{
return
reportID
;
}
public
void
setReportID
(
String
reportID
)
{
this
.
reportID
=
reportID
;
}
public
String
getOrganizationID
()
{
return
organizationID
;
}
public
void
setOrganizationID
(
String
organizationID
)
{
this
.
organizationID
=
organizationID
;
}
public
Integer
getPeriod
()
{
return
period
;
}
public
void
setPeriod
(
Integer
period
)
{
this
.
period
=
period
;
}
public
Integer
getYear
()
{
return
year
;
}
public
void
setYear
(
Boolean
year
)
{
isYear
=
year
;
}
public
String
getIndexResultId
()
{
return
indexResultId
;
}
public
void
setIndexResultId
(
String
indexResultId
)
{
this
.
indexResultId
=
indexResultId
;
}
public
Integer
getYearBeginPeriod
()
{
return
yearBeginPeriod
;
}
public
void
setYearBeginPeriod
(
Integer
yearBeginPeriod
)
{
this
.
yearBeginPeriod
=
yearBeginPeriod
;
}
public
Integer
getYearEndPeriod
()
{
return
yearEndPeriod
;
}
public
void
setYearEndPeriod
(
Integer
yearEndPeriod
)
{
this
.
yearEndPeriod
=
yearEndPeriod
;
}
public
Boolean
getIfRound
()
{
return
ifRound
;
}
public
void
setIfRound
(
Boolean
ifRound
)
{
this
.
ifRound
=
ifRound
;
}
public
Boolean
getValidation
()
{
return
isValidation
;
}
public
void
setValidation
(
Boolean
validation
)
{
isValidation
=
validation
;
}
public
Boolean
getDetailed
()
{
return
isDetailed
;
}
public
void
setDetailed
(
Boolean
detailed
)
{
isDetailed
=
detailed
;
}
public
Boolean
getIndexAnalysis
()
{
return
isIndexAnalysis
;
}
public
void
setIndexAnalysis
(
Boolean
indexAnalysis
)
{
isIndexAnalysis
=
indexAnalysis
;
}
public
Boolean
getCacheHasIndexCode
()
{
return
cacheHasIndexCode
;
}
public
void
setCacheHasIndexCode
(
Boolean
cacheHasIndexCode
)
{
this
.
cacheHasIndexCode
=
cacheHasIndexCode
;
}
public
Boolean
getIfCalcStackValue
()
{
return
ifCalcStackValue
;
}
public
void
setIfCalcStackValue
(
Boolean
ifCalcStackValue
)
{
this
.
ifCalcStackValue
=
ifCalcStackValue
;
}
public
Integer
getCalculateStatus
()
{
return
calculateStatus
;
}
public
void
setCalculateStatus
(
Integer
calculateStatus
)
{
this
.
calculateStatus
=
calculateStatus
;
}
public
Map
<
String
,
FormulaResult
>
getReplaceSpecialCellFormulaDic
()
{
return
replaceSpecialCellFormulaDic
;
}
public
void
setReplaceSpecialCellFormulaDic
(
Map
<
String
,
FormulaResult
>
replaceSpecialCellFormulaDic
)
{
this
.
replaceSpecialCellFormulaDic
=
replaceSpecialCellFormulaDic
;
}
public
void
setYear
(
Integer
year
)
{
this
.
year
=
year
;
}
public
Boolean
getIsYear
()
{
return
isYear
;
}
public
void
setIsYear
(
Boolean
isYear
)
{
isYear
=
isYear
;
}
public
FormulaAgent
getFormulaAgent
()
{
return
formulaAgent
;
}
public
void
setFormulaAgent
(
FormulaAgent
formulaAgent
)
{
this
.
formulaAgent
=
formulaAgent
;
}
}
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