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
18124cd8
Commit
18124cd8
authored
Oct 31, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BugFix] fixed select period datasource errro
parent
74d13e98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
DataSourceExtendsMapper.xml
.../taxtech/atms/vat/dao/extends/DataSourceExtendsMapper.xml
+4
-4
PeriodDataSourceExtendsMapper.xml
...ch/atms/vat/dao/extends/PeriodDataSourceExtendsMapper.xml
+5
-4
No files found.
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/DataSourceExtendsMapper.xml
View file @
18124cd8
...
...
@@ -289,20 +289,20 @@
</association>
<association
property=
"cellDataSource"
javaType=
"pwc.taxtech.atms.vat.entity.CellDataSource"
>
<id
column=
"CELL_DATA_SOURCE_ID"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"
CELL_DATA_SOURCE_
OPERATION_TYPE"
property=
"operationType"
javaType=
"java.lang.Integer"
<result
column=
"OPERATION_TYPE"
property=
"operationType"
javaType=
"java.lang.Integer"
jdbcType=
"INTEGER"
/>
</association>
</resultMap>
<select
id=
"getManualDataSource2"
parameterType=
"java.lang.Long"
resultMap=
"dataSourceCellDataDto"
>
SELECT
CELL
_DATA_
SOURCE.ID AS ID,
CELL
DATA
SOURCE.ID AS ID,
CELLDATA.ID AS CELL_DATA_ID,
CELLDATA.DATA AS CELL_DATA_DATA,
CELLDATA.CELL_TEMPLATE_ID AS CELL_DATA_TEMPLATE_ID,
CELLDATA.REPORT_ID AS CELL_DATA_REPORT_ID,
CELLDATASOURCE.ID AS CELL_DATA_SOURCE_ID,
CELLDATASOURCE.OPERATION_TYPE AS
CELL_DATA_SOURCE_
OPERATION_TYPE
CELLDATASOURCE.OPERATION_TYPE AS OPERATION_TYPE
FROM
CELL_DATA CELLDATA
JOIN
...
...
@@ -310,7 +310,7 @@
ON
CELLDATA.ID = CELLDATASOURCE.CELL_DATA_ID
WHERE
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT}
LIMIT
1
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT}
AND ROWNUM =
1
</select>
<!--DELETE FROM period_tax_rule_setting WHERE period=#{period,jdbcType=INTEGER};-->
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/extends/PeriodDataSourceExtendsMapper.xml
View file @
18124cd8
...
...
@@ -316,19 +316,19 @@
</association>
<association
property=
"cellDataSource"
javaType=
"pwc.taxtech.atms.vat.entity.CellDataSource"
>
<id
column=
"CELL_DATA_SOURCE_ID"
jdbcType=
"BIGINT"
property=
"id"
/>
<result
column=
"
CELL_DATA_SOURCE_
OPERATION_TYPE"
property=
"operationType"
javaType=
"java.lang.Integer"
jdbcType=
"INTEGER"
/>
<result
column=
"OPERATION_TYPE"
property=
"operationType"
javaType=
"java.lang.Integer"
jdbcType=
"INTEGER"
/>
</association>
</resultMap>
<select
id=
"getManualDataSource2"
parameterType=
"java.lang.Long"
resultMap=
"dataSourceCellDataDto"
>
SELECT
CELL
_DATA_
SOURCE.ID AS ID,
CELL
DATA
SOURCE.ID AS ID,
CELLDATA.ID AS CELL_DATA_ID,
CELLDATA.DATA AS CELL_DATA_DATA,
CELLDATA.CELL_TEMPLATE_ID AS CELL_DATA_TEMPLATE_ID,
CELLDATA.REPORT_ID AS CELL_DATA_REPORT_ID,
CELLDATASOURCE.ID AS CELL_DATA_SOURCE_ID,
CELLDATASOURCE.OPERATION_TYPE AS
CELL_DATA_SOURCE_
OPERATION_TYPE
CELLDATASOURCE.OPERATION_TYPE AS OPERATION_TYPE
FROM
PERIOD_CELL_DATA CELLDATA
JOIN
...
...
@@ -336,6 +336,6 @@
ON
CELLDATA.ID = CELLDATASOURCE.CELL_DATA_ID AND CELLDATA.PROJECT_ID = CELLDATASOURCE.PROJECT_ID
WHERE
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT}
LIMIT
1
CELLDATASOURCE.DATA_SOURCE_ID = #{dataSourceID,jdbcType=BIGINT}
AND ROWNUM =
1
</select>
</mapper>
\ 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