| 
					
				 | 
			
			
				@@ -1,102 +0,0 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<?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="com.jjt.out.mapper.SyncOutDataMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <resultMap type="SyncOutData" id="SyncOutDataResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="ID"    column="ID"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="isSync"    column="IS_SYNC"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="isDel"    column="IS_DEL"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="tableName"    column="TABLE_NAME"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="tablePkValue"    column="TABLE_PK_VALUE"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="tableOp"    column="TABLE_OP"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="dataDetail"    column="DATA_DETAIL"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="createdTime"    column="CREATED_TIME"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="updatedTime"    column="UPDATED_TIME"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="syncTime"    column="SYNC_TIME"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <result property="delTime"    column="DEL_TIME"    /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <sql id="selectSyncOutDataVo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        select ID, IS_SYNC, IS_DEL, TABLE_NAME, TABLE_PK_VALUE, TABLE_OP, DATA_DETAIL, CREATED_TIME, UPDATED_TIME, SYNC_TIME, DEL_TIME from sync_out_data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <select id="selectSyncOutDataList" parameterType="SyncOutData" resultMap="SyncOutDataResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <include refid="selectSyncOutDataVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <where>   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isSync != null  and isSync != ''"> and IS_SYNC = #{isSync}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isDel != null  and isDel != ''"> and IS_DEL = #{isDel}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableName != null  and tableName != ''"> and TABLE_NAME like concat('%', #{tableName}, '%')</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tablePkValue != null "> and TABLE_PK_VALUE = #{tablePkValue}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableOp != null  and tableOp != ''"> and TABLE_OP = #{tableOp}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="dataDetail != null  and dataDetail != ''"> and DATA_DETAIL = #{dataDetail}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createdTime != null "> and CREATED_TIME = #{createdTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updatedTime != null "> and UPDATED_TIME = #{updatedTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="syncTime != null "> and SYNC_TIME = #{syncTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delTime != null "> and DEL_TIME = #{delTime}</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <select id="selectSyncOutDataByID" parameterType="Long" resultMap="SyncOutDataResult"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <include refid="selectSyncOutDataVo"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        where ID = #{ID} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <insert id="insertSyncOutData" parameterType="SyncOutData" useGeneratedKeys="true" keyProperty="ID"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        insert into sync_out_data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isSync != null">IS_SYNC,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isDel != null">IS_DEL,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableName != null">TABLE_NAME,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tablePkValue != null">TABLE_PK_VALUE,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableOp != null">TABLE_OP,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="dataDetail != null">DATA_DETAIL,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createdTime != null">CREATED_TIME,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updatedTime != null">UPDATED_TIME,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="syncTime != null">SYNC_TIME,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delTime != null">DEL_TIME,</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isSync != null">#{isSync},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isDel != null">#{isDel},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableName != null">#{tableName},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tablePkValue != null">#{tablePkValue},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableOp != null">#{tableOp},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="dataDetail != null">#{dataDetail},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createdTime != null">#{createdTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updatedTime != null">#{updatedTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="syncTime != null">#{syncTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delTime != null">#{delTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <update id="updateSyncOutData" parameterType="SyncOutData"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        update sync_out_data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <trim prefix="SET" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isSync != null">IS_SYNC = #{isSync},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="isDel != null">IS_DEL = #{isDel},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableName != null">TABLE_NAME = #{tableName},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tablePkValue != null">TABLE_PK_VALUE = #{tablePkValue},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="tableOp != null">TABLE_OP = #{tableOp},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="dataDetail != null">DATA_DETAIL = #{dataDetail},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="createdTime != null">CREATED_TIME = #{createdTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="updatedTime != null">UPDATED_TIME = #{updatedTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="syncTime != null">SYNC_TIME = #{syncTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <if test="delTime != null">DEL_TIME = #{delTime},</if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        where ID = #{ID} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <delete id="deleteSyncOutDataByID" parameterType="Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        delete from sync_out_data where ID = #{ID} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <delete id="deleteSyncOutDataByIDs" parameterType="String"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        delete from sync_out_data where ID in  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <foreach item="ID" collection="array" open="(" separator="," close=")"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            #{ID} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </foreach> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </delete> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-</mapper> 
			 |