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
4dcdbb73
Commit
4dcdbb73
authored
Sep 25, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[dev] add operation extends mapper xml"
This reverts commit
07a9c1df
.
parent
07a9c1df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
115 deletions
+0
-115
OperationLogBasicDataExtendsMapper.xml
...h/atms/dao/extends/OperationLogBasicDataExtendsMapper.xml
+0
-115
No files found.
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/OperationLogBasicDataExtendsMapper.xml
deleted
100644 → 0
View file @
07a9c1df
<?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.dao.OperationLogBasicDataMapper"
>
<!-- TODO Remove below codes about selectByLimit -->
<select
id=
"selectByLimit"
resultMap=
"BaseResultMap"
>
SELECT
*
FROM
( SELECT A.*, ROWNUM RN FROM ( SELECT * FROM OPERATION_LOG_BASIC_DATA ) A )
WHERE
RN BETWEEN (${pagesize} * (${pageindex} -1))
AND (${pagesize} * (${pageindex}))
ORDER BY
ID
</select>
<insert
id=
"insertSmart"
parameterType=
"pwc.taxtech.atms.entitiy.OperationLogSmart"
>
INSERT INTO ${tableName}
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"operationContent != null"
>
OPERATION_CONTENT,
</if>
<if
test=
"moduleName != null"
>
Module_Name,
</if>
<if
test=
"operationObject != null"
>
OPERATION_OBJECT,
</if>
<if
test=
"operationAction != null"
>
OPERATION_ACTION,
</if>
<if
test=
"originalState != null"
>
ORIGINAL_STATE,
</if>
<if
test=
"updateState != null"
>
UPDATE_STATE,
</if>
<if
test=
"operationUser != null"
>
OPERATION_USER,
</if>
<if
test=
"IP != null"
>
IP,
</if>
<if
test=
"comment != null"
>
COMMENT,
</if>
<if
test=
"createTime != null"
>
CREATE_TIME,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"operationContent != null"
>
#{operationContent,jdbcType=VARCHAR},
</if>
<if
test=
"moduleName != null"
>
#{moduleName,jdbcType=VARCHAR},
</if>
<if
test=
"operationObject != null"
>
#{operationObject,jdbcType=VARCHAR},
</if>
<if
test=
"operationAction != null"
>
#{operationAction,jdbcType=VARCHAR},
</if>
<if
test=
"originalState != null"
>
#{originalState,jdbcType=VARCHAR},
</if>
<if
test=
"updateState != null"
>
#{updateState,jdbcType=VARCHAR},
</if>
<if
test=
"operationUser != null"
>
#{operationUser,jdbcType=VARCHAR},
</if>
<if
test=
"IP != null"
>
#{IP,jdbcType=VARCHAR},
</if>
<if
test=
"comment != null"
>
#{comment,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select
id=
"countByExampleSmart"
parameterType=
"pwc.taxtech.atms.entitiy.OperationLogSmartExample"
resultType=
"java.lang.Long"
>
SELECT COUNT(*) FROM ${tableName}
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<select
id=
"selectByExampleWithRowboundsSmart"
parameterType=
"pwc.taxtech.atms.entitiy.OperationLogSmartExample"
resultMap=
"BaseResultMap"
>
SELECT
<if
test=
"distinct"
>
DISTINCT
</if>
<include
refid=
"Base_Column_List"
/>
FROM ${tableName}
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
ORDER BY ${orderByClause}
</if>
</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