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
50c786df
Commit
50c786df
authored
Jul 03, 2019
by
Eddie.Wu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql_chase_bug_1' into 'dev_mysql'
fix bug See merge request root/atms!443
parents
d295d6fc
22508b10
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TrialBalanceFinalExtendsMapper.xml
...h/atms/vat/dao/extends/TrialBalanceFinalExtendsMapper.xml
+2
-1
No files found.
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/TrialBalanceFinalExtendsMapper.xml
View file @
50c786df
...
...
@@ -25,7 +25,6 @@
when tbf.segment3 like '4010%' and rc.id is null then 1
when tbf.segment3 like '800201%' and rc.id is null then 1
when tbf.segment3 like '800209%' and rc.id is null then 1
<![CDATA[WHEN rc.id IS NOT NULL and (rc.start_date > #{queryDate} or rc.end_date < #{queryDate}) then 1]]>
<![CDATA[WHEN rc.id IS NOT NULL and rc.start_date <= #{queryDate} and rc.end_date >= #{queryDate} THEN 2]]>
else 3 end as emptyCode
from trial_balance_final as tbf
...
...
@@ -39,6 +38,8 @@
rc.tb_segment5 = tbf.segment5
and
rc.tb_segment6 = tbf.segment6
<![CDATA[ and rc.start_date <= #{queryDate}]]>
and rc.end_date >= #{queryDate}
where
tbf.project_id = #{projectId}
and tbf.period = #{period}
...
...
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