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
7c569771
Commit
7c569771
authored
Mar 16, 2019
by
kevin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#
parent
acb91a82
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
FormulaAgent.java
.../java/pwc/taxtech/atms/vat/service/impl/FormulaAgent.java
+1
-0
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+1
-1
cit-report-view.ctrl.js
...pp/app/cit/report/cit-report-view/cit-report-view.ctrl.js
+1
-1
vat-report-view.ctrl.js
...p/common/controls/vat-report-view/vat-report-view.ctrl.js
+1
-1
cellComment.svc.js
...src/main/webapp/app/common/webservices/cellComment.svc.js
+2
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/FormulaAgent.java
View file @
7c569771
...
...
@@ -177,6 +177,7 @@ public class FormulaAgent {
public
static
String
_buildSql
(
String
getField
,
String
tableName
,
String
filter
,
String
filterValue
,
Integer
period
,
FormulaContext
formulaContext
,
String
year
,
boolean
bool
,
boolean
getSql
)
throws
Exception
{
String
sql
=
""
;
if
(
getSql
){
tableName
=
tableName
.
toLowerCase
();
sql
=
"select * from "
+
tableName
+
" where 1=1 and "
+
filter
+
filterValue
;
return
sql
;
}
else
{
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
7c569771
...
...
@@ -60,7 +60,7 @@ public class ReportServiceImpl extends BaseService {
private
final
static
Logger
logger
=
LoggerFactory
.
getLogger
(
ReportServiceImpl
.
class
);
private
BlockingQueue
<
PeriodJob
>
queue
=
new
LinkedBlockingQueue
<>();
private
final
static
String
[]
functions
=
{
"SGSR"
,
"FSJZ"
,
"ND"
,
"BB"
,
"XXFP"
,
"GZSD"
,
"PC"
,
"JXFPMX"
,
"JXFP"
,
"PSUM"
,
"DFFS"
,
"JFFS"
,
"WPSR"
,
"WPNAME"
,
"WPTYPE"
,
"SUM2"
,
"RSUMIF"
,
"
TABLESUMIF"
,
"
SUM"
};
"JXFP"
,
"PSUM"
,
"DFFS"
,
"JFFS"
,
"WPSR"
,
"WPNAME"
,
"WPTYPE"
,
"SUM2"
,
"RSUMIF"
,
"SUM"
};
@Autowired
private
ReportGeneratorImpl
reportGenerator
;
...
...
atms-web/src/main/webapp/app/cit/report/cit-report-view/cit-report-view.ctrl.js
View file @
7c569771
...
...
@@ -274,7 +274,7 @@
case
enums
.
formulaDataSourceType
.
InvoiceFilter
:
break
;
case
enums
.
formulaDataSourceType
.
CIT_TBAM
:
obj
.
relSql
=
sourceData
.
rel
S
ql
;
obj
.
relSql
=
sourceData
.
rel
_s
ql
;
}
if
(
sourceData
.
type
===
0
&&
sourceData
.
dataSourceType
===
enums
.
cellDataSourceType
.
RelatedModel
)
{
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
7c569771
...
...
@@ -274,7 +274,7 @@
case
enums
.
formulaDataSourceType
.
InvoiceFilter
:
break
;
case
enums
.
formulaDataSourceType
.
CIT_TBAM
:
obj
.
relSql
=
sourceData
.
rel
S
ql
;
obj
.
relSql
=
sourceData
.
rel
_s
ql
;
}
...
...
atms-web/src/main/webapp/app/common/webservices/cellComment.svc.js
View file @
7c569771
...
...
@@ -12,7 +12,7 @@ webservices.factory('cellCommentService', ['$http', 'apiConfig', function ($http
return
$http
.
post
(
'/CellComment/Delete/'
+
commentId
,
{},
apiConfig
.
createVat
());
},
getCellInformation
:
function
(
data
){
return
$http
.
get
(
'/CellComment/getCellInformation?sql='
+
data
.
relSql
,
apiConfig
.
v
at
());
return
$http
.
get
(
'/CellComment/getCellInformation?sql='
+
data
.
relSql
,
apiConfig
.
createV
at
());
}
};
}]);
\ No newline at end of file
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