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
8549a9a3
Commit
8549a9a3
authored
Dec 07, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formulaExp
parent
5a51fcff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
ReportGeneratorImpl.java
...wc/taxtech/atms/vat/service/impl/ReportGeneratorImpl.java
+1
-1
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+3
-1
tax-report-cell-detail-modal.ctrl.js
...rt-cell-detail-modal/tax-report-cell-detail-modal.ctrl.js
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportGeneratorImpl.java
View file @
8549a9a3
...
...
@@ -212,7 +212,7 @@ public class ReportGeneratorImpl {
if
(
StringUtils
.
isBlank
(
resultFormula
))
{
resultFormula
=
null
;
resultFormula
=
" "
;
}
cellData
.
setFormulaExp
(
resultFormula
);
cellData
.
setCreateBy
(
"Admin"
);
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
8549a9a3
...
...
@@ -884,7 +884,7 @@ public class ReportServiceImpl {
cellData
.
setCellTemplateId
(
Long
.
parseLong
(
data
.
getCellTemplateId
()));
cellData
.
setData
(
data
.
getAmount
()
==
null
?
null
:
data
.
getAmount
().
toString
());
cellData
.
setKeyinData
(
data
.
getKeyinData
());
cellData
.
setFormulaExp
(
data
.
getAmount
()
==
null
?
null
:
data
.
getAmount
().
toString
());
cellData
.
setFormulaExp
(
data
.
getAmount
()
==
null
?
" "
:
data
.
getAmount
().
toString
());
cellData
.
setCreateBy
(
"admin"
);
cellData
.
setCreateTime
(
new
Date
());
cellData
.
setUpdateBy
(
"admin"
);
...
...
@@ -897,6 +897,8 @@ public class ReportServiceImpl {
PeriodCellData
cellData
=
periodCellDataMapper
.
selectByPrimaryKey
(
data
.
getCellId
());
if
(
StringUtils
.
isNotBlank
(
data
.
getKeyinData
())){
cellData
.
setKeyinData
(
data
.
getKeyinData
());
if
(
StringUtils
.
isEmpty
(
cellData
.
getFormulaExp
()))
cellData
.
setFormulaExp
(
data
.
getKeyinData
());
periodCellDataMapper
.
updateByPrimaryKeySelective
(
cellData
);
}
else
if
(
data
.
getAmount
()
!=
null
&&
cellData
.
getData
()
!=
data
.
getAmount
().
toString
())
{
cellData
.
setData
(
data
.
getAmount
().
toString
());
...
...
atms-web/src/main/webapp/app/common/controls/tax-report-cell-detail-modal/tax-report-cell-detail-modal.ctrl.js
View file @
8549a9a3
...
...
@@ -176,7 +176,7 @@
function
doConfirmEventHandler
()
{
var
r
=
/^00
\d
*|^
\.\d
+|
\.
$/
;
if
(
$scope
.
detail
.
inputValue
&&
parseFloat
(
$scope
.
detail
.
inputValue
).
toFixed
(
2
)
>
9999999999999
)
{
if
(
$scope
.
detail
.
inputValue
&&
parseFloat
(
$scope
.
detail
.
inputValue
).
toFixed
(
2
)
>
9999999999999
)
{
SweetAlert
.
warning
(
$translate
.
instant
(
'CheckInputValueLength'
));
return
;
}
...
...
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