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
debb3883
Commit
debb3883
authored
Sep 19, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] delelte mapper extend used annotation
parent
c4d10197
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
30 deletions
+24
-30
KeyValueConfigMapper.java
.../main/java/pwc/taxtech/atms/dao/KeyValueConfigMapper.java
+24
-0
KeyValueConfigExtendsMapper.xml
.../taxtech/atms/dao/extends/KeyValueConfigExtendsMapper.xml
+0
-30
No files found.
atms-dao/src/main/java/pwc/taxtech/atms/dao/KeyValueConfigMapper.java
View file @
debb3883
...
...
@@ -3,6 +3,7 @@ package pwc.taxtech.atms.dao;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyMapper
;
import
pwc.taxtech.atms.entity.KeyValueConfig
;
...
...
@@ -106,5 +107,27 @@ public interface KeyValueConfigMapper extends MyMapper {
*/
int
updateByPrimaryKey
(
KeyValueConfig
record
);
@Select
(
"SELECT "
+
" KEY_VALUE_CONFIG.ID AS id, "
+
" KEY_VALUE_CONFIG.KEY_CODE AS keyCode, "
+
" KEY_VALUE_CONFIG.NAME AS name, "
+
" KEY_VALUE_CONFIG.KEY_VALUE_TYPE AS keyValueType, "
+
" KEY_VALUE_CONFIG.FORMULA AS formula, "
+
" KEY_VALUE_CONFIG.IS_CONSTANT AS isConstant, "
+
" KEY_VALUE_CONFIG.CALCULATE_STATUS AS calculateStatus, "
+
" KEY_VALUE_CONFIG.RESULT_TYPE AS resultType, "
+
" KEY_VALUE_CONFIG.SERVICE_TYPE_IDS AS serviceTypeIds, "
+
" KEY_VALUE_CONFIG.INDUSTRY_IDS AS industryIds, "
+
" KEY_VALUE_CONFIG.DESCRIPTION AS description, "
+
" KEY_VALUE_CONFIG.CREATOR AS creator, "
+
" KEY_VALUE_CONFIG.CREATE_TIME AS createTime, "
+
" KEY_VALUE_CONFIG.UPDATOR AS updator, "
+
" KEY_VALUE_CONFIG.UPDATE_TIME AS updateTime, "
+
" KEY_VALUE_CONFIG.DATA_SOURCE AS dataSource "
+
" FROM "
+
" TAX_ADMIN.KEY_VALUE_CONFIG "
+
" ORDER BY "
+
" KEY_VALUE_CONFIG.CREATE_TIME"
+
""
)
List
<
KeyValueConfig
>
selectKeyValueConfigsByOrderByCreateTime
();
}
\ No newline at end of file
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/KeyValueConfigExtendsMapper.xml
deleted
100644 → 0
View file @
c4d10197
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.entity.KeyValueConfig"
>
<select
id=
"selectKEY_VALUE_CONFIGsByOrderByCreateTime"
resultMap=
"BaseResultMap"
>
SELECT
KEY_VALUE_CONFIG.ID,
KEY_VALUE_CONFIG.KEY_CODE,
KEY_VALUE_CONFIG.NAME,
KEY_VALUE_CONFIG.KEY_VALUE_TYPE,
KEY_VALUE_CONFIG.FORMULA,
KEY_VALUE_CONFIG.IS_CONSTANT,
KEY_VALUE_CONFIG.CALCULATE_STATUS,
KEY_VALUE_CONFIG.RESULT_TYPE,
KEY_VALUE_CONFIG.SERVICE_TYPE_IDS,
KEY_VALUE_CONFIG.INDUSTRY_IDS,
KEY_VALUE_CONFIG.DESCRIPTION,
KEY_VALUE_CONFIG.CREATOR,
KEY_VALUE_CONFIG.CREATE_TIME,
KEY_VALUE_CONFIG.UPDATOR,
KEY_VALUE_CONFIG.UPDATE_TIME,
KEY_VALUE_CONFIG.DATA_SOURCE
FROM
TAX_ADMIN.KEY_VALUE_CONFIG
ORDER BY
KEY_VALUE_CONFIG.CREATETIME
</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