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
56f7bef8
Commit
56f7bef8
authored
Jul 25, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed static cell has no value issue
parent
82784386
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
ManualDataSourceDto.java
...java/pwc/taxtech/atms/dto/vatdto/ManualDataSourceDto.java
+1
-0
ReportGeneratorImpl.java
...wc/taxtech/atms/vat/service/impl/ReportGeneratorImpl.java
+2
-2
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+1
-0
vat-report-view.ctrl.js
...p/common/controls/vat-report-view/vat-report-view.ctrl.js
+1
-0
common.js
atms-web/src/main/webapp/bundles/common.js
+1
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/ManualDataSourceDto.java
View file @
56f7bef8
...
...
@@ -15,4 +15,5 @@ public class ManualDataSourceDto {
BigDecimal
amount
;
String
projectId
;
String
serviceTypeId
;
Integer
period
;
}
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportGeneratorImpl.java
View file @
56f7bef8
...
...
@@ -259,9 +259,9 @@ public class ReportGeneratorImpl extends VatAbstractService implements ReportGen
String
colStr
=
mm
.
group
();
int
colNum
=
FormulaHelper
.
excelColStrToNum
(
colStr
,
colStr
.
length
());
int
rowNum
=
Integer
.
parseInt
(
StringUtils
.
removeStart
(
findStr
,
colStr
));
Row
row
=
sheet
.
getRow
(
rowNum
);
Row
row
=
sheet
.
getRow
(
rowNum
-
1
);
if
(
row
!=
null
)
{
Cell
cell
=
row
.
getCell
(
colNum
);
Cell
cell
=
row
.
getCell
(
colNum
-
1
);
if
(
cell
!=
null
)
{
//开始取值然后存放到DataSource
DataSource
dataSource
=
new
DataSource
();
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
56f7bef8
...
...
@@ -593,6 +593,7 @@ public class ReportServiceImpl extends VatAbstractService implements ReportServi
dataSourceModel
.
setUpdateTime
(
new
Date
());
dataSourceModel
.
setCreateBy
(
"admin"
);
dataSourceModel
.
setUpdateBy
(
"admin"
);
dataSourceModel
.
setPeriod
(
data
.
getPeriod
());
CellDataSource
cellDataSource
=
new
CellDataSource
();
cellDataSource
.
setId
(
distributedIDService
.
nextId
());
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
56f7bef8
...
...
@@ -1426,6 +1426,7 @@
$scope
.
handInputModel
.
description
=
$scope
.
taxCellDetail
.
inputMemo
;
$scope
.
handInputModel
.
projectID
=
vatSessionService
.
project
.
id
;
$scope
.
handInputModel
.
serviceTypeID
=
vatSessionService
.
project
.
serviceTypeID
;
$scope
.
handInputModel
.
period
=
vatSessionService
.
month
;
if
(
$scope
.
handInputModel
.
amount
||
$scope
.
handInputModel
.
name
)
{
//日志对象
...
...
atms-web/src/main/webapp/bundles/common.js
View file @
56f7bef8
...
...
@@ -34885,6 +34885,7 @@ commonModule.controller('VatReportViewController', ['$scope', '$rootScope', '$lo
$scope
.
handInputModel
.
description
=
$scope
.
taxCellDetail
.
inputMemo
;
$scope
.
handInputModel
.
projectID
=
vatSessionService
.
project
.
id
;
$scope
.
handInputModel
.
serviceTypeID
=
vatSessionService
.
project
.
serviceTypeID
;
$scope
.
handInputModel
.
period
=
vatSessionService
.
month
;
if
(
$scope
.
handInputModel
.
amount
||
$scope
.
handInputModel
.
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