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
d86323f8
Commit
d86323f8
authored
Nov 27, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BugFixe] fixed period report join tempate
parent
836bf1e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
PeriodReportMapper.java
...ain/java/pwc/taxtech/atms/vat/dao/PeriodReportMapper.java
+3
-1
vat-report-layout.ctrl.js
...pp/vat/report/vat-report-layout/vat-report-layout.ctrl.js
+1
-1
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/vat/dao/PeriodReportMapper.java
View file @
d86323f8
...
...
@@ -127,7 +127,9 @@ public interface PeriodReportMapper extends MyVatMapper {
" LEFT JOIN PERIOD_TEMPLATE pt ON r.TEMPLATE_ID = pt.TEMPLATE_ID "
+
"WHERE "
+
" r.PROJECT_ID = #{projectId} "
+
" AND r.PERIOD = #{period} "
+
" AND r.PERIOD = #{period}"
+
" AND pt.PROJECT_ID = r.PROJECT_ID "
+
" AND pt.PERIOD = r.PERIOD "
+
"ORDER BY "
+
" pt.ORDER_INDEX"
+
""
)
...
...
atms-web/src/main/webapp/app/vat/report/vat-report-layout/vat-report-layout.ctrl.js
View file @
d86323f8
...
...
@@ -18,7 +18,7 @@
//房地产
//projectID = '0cf0945f-d41c-4df3-8235-ae693d5e724d';
$q
.
all
([
templateGroupService
.
getGroupTemplateByGroupID
(
48372654336679936
,
projectID
),
templateGroupService
.
getGroupTemplateByGroupID
(
vatSessionService
.
project
.
templateGroupID
,
projectID
),
vatReportService
.
getFilterTemplate
(
vatSessionService
.
project
.
id
,
constant
.
serviceType
.
VAT
,
vatSessionService
.
month
)
]).
then
(
function
(
result
)
{
if
(
!
_
.
isEmpty
(
result
[
0
])
&&
!
_
.
isEmpty
(
result
[
0
].
data
)
&&
!
_
.
isEmpty
(
result
[
0
].
data
.
data
)
...
...
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