Showing
17 changed files
with
45 additions
and
3167 deletions
| 1 | -package com.fedex.connect.common.dao.base; | 1 | +package com.fedex.connect.common.dao.bi; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.base.DictionaryEntries; | 3 | +import com.fedex.connect.common.model.bi.DictionaryEntries; |
| 4 | -import com.fedex.connect.common.model.base.DictionaryEntriesExample; | 4 | +import com.fedex.connect.common.model.bi.DictionaryEntriesExample; |
| 5 | import org.apache.ibatis.annotations.Param; | 5 | import org.apache.ibatis.annotations.Param; |
| 6 | 6 | ||
| 7 | import java.util.List; | 7 | import java.util.List; | ... | ... |
| 1 | -package com.fedex.connect.common.dao.base; | 1 | +package com.fedex.connect.common.dao.bi; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.base.Dictionary; | 3 | +import com.fedex.connect.common.model.bi.Dictionary; |
| 4 | -import com.fedex.connect.common.model.base.DictionaryExample; | 4 | +import com.fedex.connect.common.model.bi.DictionaryExample; |
| 5 | import java.util.List; | 5 | import java.util.List; |
| 6 | import org.apache.ibatis.annotations.Param; | 6 | import org.apache.ibatis.annotations.Param; |
| 7 | 7 | ... | ... |
| 1 | -package com.fedex.connect.common.dao.sys; | ||
| 2 | - | ||
| 3 | -import com.fedex.connect.common.model.sys.KafkaStorageHistory; | ||
| 4 | -import com.fedex.connect.common.model.sys.KafkaStorageHistoryExample; | ||
| 5 | -import java.util.List; | ||
| 6 | -import org.apache.ibatis.annotations.Param; | ||
| 7 | - | ||
| 8 | -public interface KafkaStorageHistoryMapper { | ||
| 9 | - long countByExample(KafkaStorageHistoryExample example); | ||
| 10 | - | ||
| 11 | - int deleteByExample(KafkaStorageHistoryExample example); | ||
| 12 | - | ||
| 13 | - int deleteByPrimaryKey(Long id); | ||
| 14 | - | ||
| 15 | - int insert(KafkaStorageHistory record); | ||
| 16 | - | ||
| 17 | - int insertSelective(KafkaStorageHistory record); | ||
| 18 | - | ||
| 19 | - List<KafkaStorageHistory> selectByExampleWithBLOBs(KafkaStorageHistoryExample example); | ||
| 20 | - | ||
| 21 | - List<KafkaStorageHistory> selectByExample(KafkaStorageHistoryExample example); | ||
| 22 | - | ||
| 23 | - KafkaStorageHistory selectByPrimaryKey(Long id); | ||
| 24 | - | ||
| 25 | - int updateByExampleSelective(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example); | ||
| 26 | - | ||
| 27 | - int updateByExampleWithBLOBs(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example); | ||
| 28 | - | ||
| 29 | - int updateByExample(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example); | ||
| 30 | - | ||
| 31 | - int updateByPrimaryKeySelective(KafkaStorageHistory record); | ||
| 32 | - | ||
| 33 | - int updateByPrimaryKeyWithBLOBs(KafkaStorageHistory record); | ||
| 34 | - | ||
| 35 | - int updateByPrimaryKey(KafkaStorageHistory record); | ||
| 36 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -package com.fedex.connect.common.dao.sys; | ||
| 2 | - | ||
| 3 | -import com.fedex.connect.common.model.sys.KafkaTemporaryStorage; | ||
| 4 | -import com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample; | ||
| 5 | -import java.util.List; | ||
| 6 | -import org.apache.ibatis.annotations.Param; | ||
| 7 | - | ||
| 8 | -public interface KafkaTemporaryStorageMapper { | ||
| 9 | - long countByExample(KafkaTemporaryStorageExample example); | ||
| 10 | - | ||
| 11 | - int deleteByExample(KafkaTemporaryStorageExample example); | ||
| 12 | - | ||
| 13 | - int deleteByPrimaryKey(Long id); | ||
| 14 | - | ||
| 15 | - int insert(KafkaTemporaryStorage record); | ||
| 16 | - | ||
| 17 | - int insertSelective(KafkaTemporaryStorage record); | ||
| 18 | - | ||
| 19 | - List<KafkaTemporaryStorage> selectByExampleWithBLOBs(KafkaTemporaryStorageExample example); | ||
| 20 | - | ||
| 21 | - List<KafkaTemporaryStorage> selectByExample(KafkaTemporaryStorageExample example); | ||
| 22 | - | ||
| 23 | - KafkaTemporaryStorage selectByPrimaryKey(Long id); | ||
| 24 | - | ||
| 25 | - int updateByExampleSelective(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example); | ||
| 26 | - | ||
| 27 | - int updateByExampleWithBLOBs(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example); | ||
| 28 | - | ||
| 29 | - int updateByExample(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example); | ||
| 30 | - | ||
| 31 | - int updateByPrimaryKeySelective(KafkaTemporaryStorage record); | ||
| 32 | - | ||
| 33 | - int updateByPrimaryKeyWithBLOBs(KafkaTemporaryStorage record); | ||
| 34 | - | ||
| 35 | - int updateByPrimaryKey(KafkaTemporaryStorage record); | ||
| 36 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| 3 | -<mapper namespace="com.fedex.connect.common.dao.base.DictionaryEntriesMapper"> | 3 | +<mapper namespace="com.fedex.connect.common.dao.bi.DictionaryEntriesMapper"> |
| 4 | - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.DictionaryEntries"> | 4 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> | 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> |
| 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> | 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> |
| 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> | 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> |
| ... | @@ -85,7 +85,7 @@ | ... | @@ -85,7 +85,7 @@ |
| 85 | EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, | 85 | EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, |
| 86 | MODIFY_USER_ID, MODIFY_USER_NAME | 86 | MODIFY_USER_ID, MODIFY_USER_NAME |
| 87 | </sql> | 87 | </sql> |
| 88 | - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultMap="BaseResultMap"> | 88 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample" resultMap="BaseResultMap"> |
| 89 | <include refid="OracleDialectPrefix" /> | 89 | <include refid="OracleDialectPrefix" /> |
| 90 | select | 90 | select |
| 91 | <if test="distinct"> | 91 | <if test="distinct"> |
| ... | @@ -112,13 +112,13 @@ | ... | @@ -112,13 +112,13 @@ |
| 112 | delete from T_BI_DICTIONARY_ENTRIES | 112 | delete from T_BI_DICTIONARY_ENTRIES |
| 113 | where ID = #{id,jdbcType=NUMERIC} | 113 | where ID = #{id,jdbcType=NUMERIC} |
| 114 | </delete> | 114 | </delete> |
| 115 | - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample"> | 115 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample"> |
| 116 | delete from T_BI_DICTIONARY_ENTRIES | 116 | delete from T_BI_DICTIONARY_ENTRIES |
| 117 | <if test="_parameter != null"> | 117 | <if test="_parameter != null"> |
| 118 | <include refid="Example_Where_Clause" /> | 118 | <include refid="Example_Where_Clause" /> |
| 119 | </if> | 119 | </if> |
| 120 | </delete> | 120 | </delete> |
| 121 | - <insert id="insert" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 121 | + <insert id="insert" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 122 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 122 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 123 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL | 123 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL |
| 124 | </selectKey> | 124 | </selectKey> |
| ... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
| 137 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} | 137 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} |
| 138 | ) | 138 | ) |
| 139 | </insert> | 139 | </insert> |
| 140 | - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 140 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 141 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 141 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 142 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL | 142 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL |
| 143 | </selectKey> | 143 | </selectKey> |
| ... | @@ -257,7 +257,7 @@ | ... | @@ -257,7 +257,7 @@ |
| 257 | </if> | 257 | </if> |
| 258 | </trim> | 258 | </trim> |
| 259 | </insert> | 259 | </insert> |
| 260 | - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultType="java.lang.Long"> | 260 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample" resultType="java.lang.Long"> |
| 261 | select count(*) from T_BI_DICTIONARY_ENTRIES | 261 | select count(*) from T_BI_DICTIONARY_ENTRIES |
| 262 | <if test="_parameter != null"> | 262 | <if test="_parameter != null"> |
| 263 | <include refid="Example_Where_Clause" /> | 263 | <include refid="Example_Where_Clause" /> |
| ... | @@ -353,7 +353,7 @@ | ... | @@ -353,7 +353,7 @@ |
| 353 | <include refid="Update_By_Example_Where_Clause" /> | 353 | <include refid="Update_By_Example_Where_Clause" /> |
| 354 | </if> | 354 | </if> |
| 355 | </update> | 355 | </update> |
| 356 | - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 356 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 357 | update T_BI_DICTIONARY_ENTRIES | 357 | update T_BI_DICTIONARY_ENTRIES |
| 358 | <set> | 358 | <set> |
| 359 | <if test="code != null"> | 359 | <if test="code != null"> |
| ... | @@ -413,7 +413,7 @@ | ... | @@ -413,7 +413,7 @@ |
| 413 | </set> | 413 | </set> |
| 414 | where ID = #{id,jdbcType=NUMERIC} | 414 | where ID = #{id,jdbcType=NUMERIC} |
| 415 | </update> | 415 | </update> |
| 416 | - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 416 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 417 | update T_BI_DICTIONARY_ENTRIES | 417 | update T_BI_DICTIONARY_ENTRIES |
| 418 | set CODE = #{code,jdbcType=VARCHAR}, | 418 | set CODE = #{code,jdbcType=VARCHAR}, |
| 419 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | 419 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ... | ... |
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| 3 | -<mapper namespace="com.fedex.connect.common.dao.base.DictionaryMapper"> | 3 | +<mapper namespace="com.fedex.connect.common.dao.bi.DictionaryMapper"> |
| 4 | - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.Dictionary"> | 4 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.bi.Dictionary"> |
| 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> | 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> |
| 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> | 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> |
| 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> | 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> |
| ... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
| 81 | ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME, | 81 | ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME, |
| 82 | CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME | 82 | CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME |
| 83 | </sql> | 83 | </sql> |
| 84 | - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultMap="BaseResultMap"> | 84 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample" resultMap="BaseResultMap"> |
| 85 | <include refid="OracleDialectPrefix" /> | 85 | <include refid="OracleDialectPrefix" /> |
| 86 | select | 86 | select |
| 87 | <if test="distinct"> | 87 | <if test="distinct"> |
| ... | @@ -108,13 +108,13 @@ | ... | @@ -108,13 +108,13 @@ |
| 108 | delete from T_BI_DICTIONARY | 108 | delete from T_BI_DICTIONARY |
| 109 | where ID = #{id,jdbcType=NUMERIC} | 109 | where ID = #{id,jdbcType=NUMERIC} |
| 110 | </delete> | 110 | </delete> |
| 111 | - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample"> | 111 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample"> |
| 112 | delete from T_BI_DICTIONARY | 112 | delete from T_BI_DICTIONARY |
| 113 | <if test="_parameter != null"> | 113 | <if test="_parameter != null"> |
| 114 | <include refid="Example_Where_Clause" /> | 114 | <include refid="Example_Where_Clause" /> |
| 115 | </if> | 115 | </if> |
| 116 | </delete> | 116 | </delete> |
| 117 | - <insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 117 | + <insert id="insert" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 118 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 118 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 119 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | 119 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL |
| 120 | </selectKey> | 120 | </selectKey> |
| ... | @@ -131,7 +131,7 @@ | ... | @@ -131,7 +131,7 @@ |
| 131 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} | 131 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} |
| 132 | ) | 132 | ) |
| 133 | </insert> | 133 | </insert> |
| 134 | - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 134 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 135 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 135 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 136 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | 136 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL |
| 137 | </selectKey> | 137 | </selectKey> |
| ... | @@ -233,7 +233,7 @@ | ... | @@ -233,7 +233,7 @@ |
| 233 | </if> | 233 | </if> |
| 234 | </trim> | 234 | </trim> |
| 235 | </insert> | 235 | </insert> |
| 236 | - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultType="java.lang.Long"> | 236 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample" resultType="java.lang.Long"> |
| 237 | select count(*) from T_BI_DICTIONARY | 237 | select count(*) from T_BI_DICTIONARY |
| 238 | <if test="_parameter != null"> | 238 | <if test="_parameter != null"> |
| 239 | <include refid="Example_Where_Clause" /> | 239 | <include refid="Example_Where_Clause" /> |
| ... | @@ -317,7 +317,7 @@ | ... | @@ -317,7 +317,7 @@ |
| 317 | <include refid="Update_By_Example_Where_Clause" /> | 317 | <include refid="Update_By_Example_Where_Clause" /> |
| 318 | </if> | 318 | </if> |
| 319 | </update> | 319 | </update> |
| 320 | - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 320 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 321 | update T_BI_DICTIONARY | 321 | update T_BI_DICTIONARY |
| 322 | <set> | 322 | <set> |
| 323 | <if test="code != null"> | 323 | <if test="code != null"> |
| ... | @@ -368,7 +368,7 @@ | ... | @@ -368,7 +368,7 @@ |
| 368 | </set> | 368 | </set> |
| 369 | where ID = #{id,jdbcType=NUMERIC} | 369 | where ID = #{id,jdbcType=NUMERIC} |
| 370 | </update> | 370 | </update> |
| 371 | - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 371 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 372 | update T_BI_DICTIONARY | 372 | update T_BI_DICTIONARY |
| 373 | set CODE = #{code,jdbcType=VARCHAR}, | 373 | set CODE = #{code,jdbcType=VARCHAR}, |
| 374 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | 374 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ... | ... |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 3 | -<mapper namespace="com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper"> | ||
| 4 | - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 5 | - <id column="ID" jdbcType="NUMERIC" property="id" /> | ||
| 6 | - <result column="MESSAGE_ID" jdbcType="VARCHAR" property="messageId" /> | ||
| 7 | - <result column="MESSAGE_CODE" jdbcType="VARCHAR" property="messageCode" /> | ||
| 8 | - <result column="SENDER_ID" jdbcType="VARCHAR" property="senderId" /> | ||
| 9 | - <result column="RECEIVER_ID" jdbcType="VARCHAR" property="receiverId" /> | ||
| 10 | - <result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" /> | ||
| 11 | - <result column="CONSIGNMENT_CODE" jdbcType="VARCHAR" property="consignmentCode" /> | ||
| 12 | - <result column="FREQUENCY" jdbcType="NUMERIC" property="frequency" /> | ||
| 13 | - <result column="STATUS" jdbcType="NUMERIC" property="status" /> | ||
| 14 | - <result column="REMARK" jdbcType="VARCHAR" property="remark" /> | ||
| 15 | - <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" /> | ||
| 16 | - </resultMap> | ||
| 17 | - <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 18 | - <result column="DATA" jdbcType="CLOB" property="data" /> | ||
| 19 | - </resultMap> | ||
| 20 | - <sql id="Example_Where_Clause"> | ||
| 21 | - <where> | ||
| 22 | - <foreach collection="oredCriteria" item="criteria" separator="or"> | ||
| 23 | - <if test="criteria.valid"> | ||
| 24 | - <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 25 | - <foreach collection="criteria.criteria" item="criterion"> | ||
| 26 | - <choose> | ||
| 27 | - <when test="criterion.noValue"> | ||
| 28 | - and ${criterion.condition} | ||
| 29 | - </when> | ||
| 30 | - <when test="criterion.singleValue"> | ||
| 31 | - and ${criterion.condition} #{criterion.value} | ||
| 32 | - </when> | ||
| 33 | - <when test="criterion.betweenValue"> | ||
| 34 | - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 35 | - </when> | ||
| 36 | - <when test="criterion.listValue"> | ||
| 37 | - and ${criterion.condition} | ||
| 38 | - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 39 | - #{listItem} | ||
| 40 | - </foreach> | ||
| 41 | - </when> | ||
| 42 | - </choose> | ||
| 43 | - </foreach> | ||
| 44 | - </trim> | ||
| 45 | - </if> | ||
| 46 | - </foreach> | ||
| 47 | - </where> | ||
| 48 | - </sql> | ||
| 49 | - <sql id="Update_By_Example_Where_Clause"> | ||
| 50 | - <where> | ||
| 51 | - <foreach collection="example.oredCriteria" item="criteria" separator="or"> | ||
| 52 | - <if test="criteria.valid"> | ||
| 53 | - <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 54 | - <foreach collection="criteria.criteria" item="criterion"> | ||
| 55 | - <choose> | ||
| 56 | - <when test="criterion.noValue"> | ||
| 57 | - and ${criterion.condition} | ||
| 58 | - </when> | ||
| 59 | - <when test="criterion.singleValue"> | ||
| 60 | - and ${criterion.condition} #{criterion.value} | ||
| 61 | - </when> | ||
| 62 | - <when test="criterion.betweenValue"> | ||
| 63 | - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 64 | - </when> | ||
| 65 | - <when test="criterion.listValue"> | ||
| 66 | - and ${criterion.condition} | ||
| 67 | - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 68 | - #{listItem} | ||
| 69 | - </foreach> | ||
| 70 | - </when> | ||
| 71 | - </choose> | ||
| 72 | - </foreach> | ||
| 73 | - </trim> | ||
| 74 | - </if> | ||
| 75 | - </foreach> | ||
| 76 | - </where> | ||
| 77 | - </sql> | ||
| 78 | - <sql id="Base_Column_List"> | ||
| 79 | - ID, MESSAGE_ID, MESSAGE_CODE, SENDER_ID, RECEIVER_ID, SEND_TIME, CONSIGNMENT_CODE, | ||
| 80 | - FREQUENCY, STATUS, REMARK, CREATE_TIME | ||
| 81 | - </sql> | ||
| 82 | - <sql id="Blob_Column_List"> | ||
| 83 | - DATA | ||
| 84 | - </sql> | ||
| 85 | - <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample" resultMap="ResultMapWithBLOBs"> | ||
| 86 | - select | ||
| 87 | - <if test="distinct"> | ||
| 88 | - distinct | ||
| 89 | - </if> | ||
| 90 | - 'true' as QUERYID, | ||
| 91 | - <include refid="Base_Column_List" /> | ||
| 92 | - , | ||
| 93 | - <include refid="Blob_Column_List" /> | ||
| 94 | - from T_KAFKA_STORAGE_HISTORY | ||
| 95 | - <if test="_parameter != null"> | ||
| 96 | - <include refid="Example_Where_Clause" /> | ||
| 97 | - </if> | ||
| 98 | - <if test="orderByClause != null"> | ||
| 99 | - order by ${orderByClause} | ||
| 100 | - </if> | ||
| 101 | - </select> | ||
| 102 | - <select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample" resultMap="BaseResultMap"> | ||
| 103 | - <include refid="OracleDialectPrefix" /> | ||
| 104 | - select | ||
| 105 | - <if test="distinct"> | ||
| 106 | - distinct | ||
| 107 | - </if> | ||
| 108 | - 'true' as QUERYID, | ||
| 109 | - <include refid="Base_Column_List" /> | ||
| 110 | - from T_KAFKA_STORAGE_HISTORY | ||
| 111 | - <if test="_parameter != null"> | ||
| 112 | - <include refid="Example_Where_Clause" /> | ||
| 113 | - </if> | ||
| 114 | - <if test="orderByClause != null"> | ||
| 115 | - order by ${orderByClause} | ||
| 116 | - </if> | ||
| 117 | - <include refid="OracleDialectSuffix" /> | ||
| 118 | - </select> | ||
| 119 | - <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs"> | ||
| 120 | - select | ||
| 121 | - <include refid="Base_Column_List" /> | ||
| 122 | - , | ||
| 123 | - <include refid="Blob_Column_List" /> | ||
| 124 | - from T_KAFKA_STORAGE_HISTORY | ||
| 125 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 126 | - </select> | ||
| 127 | - <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> | ||
| 128 | - delete from T_KAFKA_STORAGE_HISTORY | ||
| 129 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 130 | - </delete> | ||
| 131 | - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample"> | ||
| 132 | - delete from T_KAFKA_STORAGE_HISTORY | ||
| 133 | - <if test="_parameter != null"> | ||
| 134 | - <include refid="Example_Where_Clause" /> | ||
| 135 | - </if> | ||
| 136 | - </delete> | ||
| 137 | - <insert id="insert" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 138 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 139 | - SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL | ||
| 140 | - </selectKey> | ||
| 141 | - insert into T_KAFKA_STORAGE_HISTORY (ID, MESSAGE_ID, MESSAGE_CODE, | ||
| 142 | - SENDER_ID, RECEIVER_ID, SEND_TIME, | ||
| 143 | - CONSIGNMENT_CODE, FREQUENCY, STATUS, | ||
| 144 | - REMARK, CREATE_TIME, DATA | ||
| 145 | - ) | ||
| 146 | - values (#{id,jdbcType=NUMERIC}, #{messageId,jdbcType=VARCHAR}, #{messageCode,jdbcType=VARCHAR}, | ||
| 147 | - #{senderId,jdbcType=VARCHAR}, #{receiverId,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP}, | ||
| 148 | - #{consignmentCode,jdbcType=VARCHAR}, #{frequency,jdbcType=NUMERIC}, #{status,jdbcType=NUMERIC}, | ||
| 149 | - #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{data,jdbcType=CLOB} | ||
| 150 | - ) | ||
| 151 | - </insert> | ||
| 152 | - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 153 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 154 | - SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL | ||
| 155 | - </selectKey> | ||
| 156 | - insert into T_KAFKA_STORAGE_HISTORY | ||
| 157 | - <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 158 | - ID, | ||
| 159 | - <if test="messageId != null"> | ||
| 160 | - MESSAGE_ID, | ||
| 161 | - </if> | ||
| 162 | - <if test="messageCode != null"> | ||
| 163 | - MESSAGE_CODE, | ||
| 164 | - </if> | ||
| 165 | - <if test="senderId != null"> | ||
| 166 | - SENDER_ID, | ||
| 167 | - </if> | ||
| 168 | - <if test="receiverId != null"> | ||
| 169 | - RECEIVER_ID, | ||
| 170 | - </if> | ||
| 171 | - <if test="sendTime != null"> | ||
| 172 | - SEND_TIME, | ||
| 173 | - </if> | ||
| 174 | - <if test="consignmentCode != null"> | ||
| 175 | - CONSIGNMENT_CODE, | ||
| 176 | - </if> | ||
| 177 | - <if test="frequency != null"> | ||
| 178 | - FREQUENCY, | ||
| 179 | - </if> | ||
| 180 | - <if test="status != null"> | ||
| 181 | - STATUS, | ||
| 182 | - </if> | ||
| 183 | - <if test="remark != null"> | ||
| 184 | - REMARK, | ||
| 185 | - </if> | ||
| 186 | - <if test="createTime != null"> | ||
| 187 | - CREATE_TIME, | ||
| 188 | - </if> | ||
| 189 | - <if test="data != null"> | ||
| 190 | - DATA, | ||
| 191 | - </if> | ||
| 192 | - </trim> | ||
| 193 | - <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 194 | - #{id,jdbcType=NUMERIC}, | ||
| 195 | - <if test="messageId != null"> | ||
| 196 | - #{messageId,jdbcType=VARCHAR}, | ||
| 197 | - </if> | ||
| 198 | - <if test="messageCode != null"> | ||
| 199 | - #{messageCode,jdbcType=VARCHAR}, | ||
| 200 | - </if> | ||
| 201 | - <if test="senderId != null"> | ||
| 202 | - #{senderId,jdbcType=VARCHAR}, | ||
| 203 | - </if> | ||
| 204 | - <if test="receiverId != null"> | ||
| 205 | - #{receiverId,jdbcType=VARCHAR}, | ||
| 206 | - </if> | ||
| 207 | - <if test="sendTime != null"> | ||
| 208 | - #{sendTime,jdbcType=TIMESTAMP}, | ||
| 209 | - </if> | ||
| 210 | - <if test="consignmentCode != null"> | ||
| 211 | - #{consignmentCode,jdbcType=VARCHAR}, | ||
| 212 | - </if> | ||
| 213 | - <if test="frequency != null"> | ||
| 214 | - #{frequency,jdbcType=NUMERIC}, | ||
| 215 | - </if> | ||
| 216 | - <if test="status != null"> | ||
| 217 | - #{status,jdbcType=NUMERIC}, | ||
| 218 | - </if> | ||
| 219 | - <if test="remark != null"> | ||
| 220 | - #{remark,jdbcType=VARCHAR}, | ||
| 221 | - </if> | ||
| 222 | - <if test="createTime != null"> | ||
| 223 | - #{createTime,jdbcType=TIMESTAMP}, | ||
| 224 | - </if> | ||
| 225 | - <if test="data != null"> | ||
| 226 | - #{data,jdbcType=CLOB}, | ||
| 227 | - </if> | ||
| 228 | - </trim> | ||
| 229 | - </insert> | ||
| 230 | - <select id="countByExample" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample" resultType="java.lang.Long"> | ||
| 231 | - select count(*) from T_KAFKA_STORAGE_HISTORY | ||
| 232 | - <if test="_parameter != null"> | ||
| 233 | - <include refid="Example_Where_Clause" /> | ||
| 234 | - </if> | ||
| 235 | - </select> | ||
| 236 | - <update id="updateByExampleSelective" parameterType="map"> | ||
| 237 | - update T_KAFKA_STORAGE_HISTORY | ||
| 238 | - <set> | ||
| 239 | - <if test="record.id != null"> | ||
| 240 | - ID = #{record.id,jdbcType=NUMERIC}, | ||
| 241 | - </if> | ||
| 242 | - <if test="record.messageId != null"> | ||
| 243 | - MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR}, | ||
| 244 | - </if> | ||
| 245 | - <if test="record.messageCode != null"> | ||
| 246 | - MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR}, | ||
| 247 | - </if> | ||
| 248 | - <if test="record.senderId != null"> | ||
| 249 | - SENDER_ID = #{record.senderId,jdbcType=VARCHAR}, | ||
| 250 | - </if> | ||
| 251 | - <if test="record.receiverId != null"> | ||
| 252 | - RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR}, | ||
| 253 | - </if> | ||
| 254 | - <if test="record.sendTime != null"> | ||
| 255 | - SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 256 | - </if> | ||
| 257 | - <if test="record.consignmentCode != null"> | ||
| 258 | - CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 259 | - </if> | ||
| 260 | - <if test="record.frequency != null"> | ||
| 261 | - FREQUENCY = #{record.frequency,jdbcType=NUMERIC}, | ||
| 262 | - </if> | ||
| 263 | - <if test="record.status != null"> | ||
| 264 | - STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 265 | - </if> | ||
| 266 | - <if test="record.remark != null"> | ||
| 267 | - REMARK = #{record.remark,jdbcType=VARCHAR}, | ||
| 268 | - </if> | ||
| 269 | - <if test="record.createTime != null"> | ||
| 270 | - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 271 | - </if> | ||
| 272 | - <if test="record.data != null"> | ||
| 273 | - DATA = #{record.data,jdbcType=CLOB}, | ||
| 274 | - </if> | ||
| 275 | - </set> | ||
| 276 | - <if test="_parameter != null"> | ||
| 277 | - <include refid="Update_By_Example_Where_Clause" /> | ||
| 278 | - </if> | ||
| 279 | - </update> | ||
| 280 | - <update id="updateByExampleWithBLOBs" parameterType="map"> | ||
| 281 | - update T_KAFKA_STORAGE_HISTORY | ||
| 282 | - set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 283 | - MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR}, | ||
| 284 | - MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR}, | ||
| 285 | - SENDER_ID = #{record.senderId,jdbcType=VARCHAR}, | ||
| 286 | - RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR}, | ||
| 287 | - SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 288 | - CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 289 | - FREQUENCY = #{record.frequency,jdbcType=NUMERIC}, | ||
| 290 | - STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 291 | - REMARK = #{record.remark,jdbcType=VARCHAR}, | ||
| 292 | - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 293 | - DATA = #{record.data,jdbcType=CLOB} | ||
| 294 | - <if test="_parameter != null"> | ||
| 295 | - <include refid="Update_By_Example_Where_Clause" /> | ||
| 296 | - </if> | ||
| 297 | - </update> | ||
| 298 | - <update id="updateByExample" parameterType="map"> | ||
| 299 | - update T_KAFKA_STORAGE_HISTORY | ||
| 300 | - set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 301 | - MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR}, | ||
| 302 | - MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR}, | ||
| 303 | - SENDER_ID = #{record.senderId,jdbcType=VARCHAR}, | ||
| 304 | - RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR}, | ||
| 305 | - SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 306 | - CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 307 | - FREQUENCY = #{record.frequency,jdbcType=NUMERIC}, | ||
| 308 | - STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 309 | - REMARK = #{record.remark,jdbcType=VARCHAR}, | ||
| 310 | - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP} | ||
| 311 | - <if test="_parameter != null"> | ||
| 312 | - <include refid="Update_By_Example_Where_Clause" /> | ||
| 313 | - </if> | ||
| 314 | - </update> | ||
| 315 | - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 316 | - update T_KAFKA_STORAGE_HISTORY | ||
| 317 | - <set> | ||
| 318 | - <if test="messageId != null"> | ||
| 319 | - MESSAGE_ID = #{messageId,jdbcType=VARCHAR}, | ||
| 320 | - </if> | ||
| 321 | - <if test="messageCode != null"> | ||
| 322 | - MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR}, | ||
| 323 | - </if> | ||
| 324 | - <if test="senderId != null"> | ||
| 325 | - SENDER_ID = #{senderId,jdbcType=VARCHAR}, | ||
| 326 | - </if> | ||
| 327 | - <if test="receiverId != null"> | ||
| 328 | - RECEIVER_ID = #{receiverId,jdbcType=VARCHAR}, | ||
| 329 | - </if> | ||
| 330 | - <if test="sendTime != null"> | ||
| 331 | - SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 332 | - </if> | ||
| 333 | - <if test="consignmentCode != null"> | ||
| 334 | - CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 335 | - </if> | ||
| 336 | - <if test="frequency != null"> | ||
| 337 | - FREQUENCY = #{frequency,jdbcType=NUMERIC}, | ||
| 338 | - </if> | ||
| 339 | - <if test="status != null"> | ||
| 340 | - STATUS = #{status,jdbcType=NUMERIC}, | ||
| 341 | - </if> | ||
| 342 | - <if test="remark != null"> | ||
| 343 | - REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 344 | - </if> | ||
| 345 | - <if test="createTime != null"> | ||
| 346 | - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 347 | - </if> | ||
| 348 | - <if test="data != null"> | ||
| 349 | - DATA = #{data,jdbcType=CLOB}, | ||
| 350 | - </if> | ||
| 351 | - </set> | ||
| 352 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 353 | - </update> | ||
| 354 | - <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 355 | - update T_KAFKA_STORAGE_HISTORY | ||
| 356 | - set MESSAGE_ID = #{messageId,jdbcType=VARCHAR}, | ||
| 357 | - MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR}, | ||
| 358 | - SENDER_ID = #{senderId,jdbcType=VARCHAR}, | ||
| 359 | - RECEIVER_ID = #{receiverId,jdbcType=VARCHAR}, | ||
| 360 | - SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 361 | - CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 362 | - FREQUENCY = #{frequency,jdbcType=NUMERIC}, | ||
| 363 | - STATUS = #{status,jdbcType=NUMERIC}, | ||
| 364 | - REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 365 | - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 366 | - DATA = #{data,jdbcType=CLOB} | ||
| 367 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 368 | - </update> | ||
| 369 | - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory"> | ||
| 370 | - update T_KAFKA_STORAGE_HISTORY | ||
| 371 | - set MESSAGE_ID = #{messageId,jdbcType=VARCHAR}, | ||
| 372 | - MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR}, | ||
| 373 | - SENDER_ID = #{senderId,jdbcType=VARCHAR}, | ||
| 374 | - RECEIVER_ID = #{receiverId,jdbcType=VARCHAR}, | ||
| 375 | - SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 376 | - CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 377 | - FREQUENCY = #{frequency,jdbcType=NUMERIC}, | ||
| 378 | - STATUS = #{status,jdbcType=NUMERIC}, | ||
| 379 | - REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 380 | - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP} | ||
| 381 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 382 | - </update> | ||
| 383 | - <sql id="OracleDialectPrefix"> | ||
| 384 | - <if test="limitStart != null and limitStart>=0"> | ||
| 385 | - select * from ( select row_.*, rownum rownum_ from ( | ||
| 386 | - </if> | ||
| 387 | - </sql> | ||
| 388 | - <sql id="OracleDialectSuffix"> | ||
| 389 | - <if test="limitStart != null and limitStart>=0"> | ||
| 390 | - <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | ||
| 391 | - </if> | ||
| 392 | - </sql> | ||
| 393 | -</mapper> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 3 | -<mapper namespace="com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper"> | ||
| 4 | - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 5 | - <id column="ID" jdbcType="NUMERIC" property="id" /> | ||
| 6 | - <result column="MESSAGE_ID" jdbcType="VARCHAR" property="messageId" /> | ||
| 7 | - <result column="MESSAGE_CODE" jdbcType="VARCHAR" property="messageCode" /> | ||
| 8 | - <result column="SENDER_ID" jdbcType="VARCHAR" property="senderId" /> | ||
| 9 | - <result column="RECEIVER_ID" jdbcType="VARCHAR" property="receiverId" /> | ||
| 10 | - <result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" /> | ||
| 11 | - <result column="CONSIGNMENT_CODE" jdbcType="VARCHAR" property="consignmentCode" /> | ||
| 12 | - <result column="FREQUENCY" jdbcType="NUMERIC" property="frequency" /> | ||
| 13 | - <result column="STATUS" jdbcType="NUMERIC" property="status" /> | ||
| 14 | - <result column="REMARK" jdbcType="VARCHAR" property="remark" /> | ||
| 15 | - <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" /> | ||
| 16 | - </resultMap> | ||
| 17 | - <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 18 | - <result column="DATA" jdbcType="CLOB" property="data" /> | ||
| 19 | - </resultMap> | ||
| 20 | - <sql id="Example_Where_Clause"> | ||
| 21 | - <where> | ||
| 22 | - <foreach collection="oredCriteria" item="criteria" separator="or"> | ||
| 23 | - <if test="criteria.valid"> | ||
| 24 | - <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 25 | - <foreach collection="criteria.criteria" item="criterion"> | ||
| 26 | - <choose> | ||
| 27 | - <when test="criterion.noValue"> | ||
| 28 | - and ${criterion.condition} | ||
| 29 | - </when> | ||
| 30 | - <when test="criterion.singleValue"> | ||
| 31 | - and ${criterion.condition} #{criterion.value} | ||
| 32 | - </when> | ||
| 33 | - <when test="criterion.betweenValue"> | ||
| 34 | - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 35 | - </when> | ||
| 36 | - <when test="criterion.listValue"> | ||
| 37 | - and ${criterion.condition} | ||
| 38 | - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 39 | - #{listItem} | ||
| 40 | - </foreach> | ||
| 41 | - </when> | ||
| 42 | - </choose> | ||
| 43 | - </foreach> | ||
| 44 | - </trim> | ||
| 45 | - </if> | ||
| 46 | - </foreach> | ||
| 47 | - </where> | ||
| 48 | - </sql> | ||
| 49 | - <sql id="Update_By_Example_Where_Clause"> | ||
| 50 | - <where> | ||
| 51 | - <foreach collection="example.oredCriteria" item="criteria" separator="or"> | ||
| 52 | - <if test="criteria.valid"> | ||
| 53 | - <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 54 | - <foreach collection="criteria.criteria" item="criterion"> | ||
| 55 | - <choose> | ||
| 56 | - <when test="criterion.noValue"> | ||
| 57 | - and ${criterion.condition} | ||
| 58 | - </when> | ||
| 59 | - <when test="criterion.singleValue"> | ||
| 60 | - and ${criterion.condition} #{criterion.value} | ||
| 61 | - </when> | ||
| 62 | - <when test="criterion.betweenValue"> | ||
| 63 | - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 64 | - </when> | ||
| 65 | - <when test="criterion.listValue"> | ||
| 66 | - and ${criterion.condition} | ||
| 67 | - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 68 | - #{listItem} | ||
| 69 | - </foreach> | ||
| 70 | - </when> | ||
| 71 | - </choose> | ||
| 72 | - </foreach> | ||
| 73 | - </trim> | ||
| 74 | - </if> | ||
| 75 | - </foreach> | ||
| 76 | - </where> | ||
| 77 | - </sql> | ||
| 78 | - <sql id="Base_Column_List"> | ||
| 79 | - ID, MESSAGE_ID, MESSAGE_CODE, SENDER_ID, RECEIVER_ID, SEND_TIME, CONSIGNMENT_CODE, | ||
| 80 | - FREQUENCY, STATUS, REMARK, CREATE_TIME | ||
| 81 | - </sql> | ||
| 82 | - <sql id="Blob_Column_List"> | ||
| 83 | - DATA | ||
| 84 | - </sql> | ||
| 85 | - <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample" resultMap="ResultMapWithBLOBs"> | ||
| 86 | - select | ||
| 87 | - <if test="distinct"> | ||
| 88 | - distinct | ||
| 89 | - </if> | ||
| 90 | - 'true' as QUERYID, | ||
| 91 | - <include refid="Base_Column_List" /> | ||
| 92 | - , | ||
| 93 | - <include refid="Blob_Column_List" /> | ||
| 94 | - from T_KAFKA_TEMPORARY_STORAGE | ||
| 95 | - <if test="_parameter != null"> | ||
| 96 | - <include refid="Example_Where_Clause" /> | ||
| 97 | - </if> | ||
| 98 | - <if test="orderByClause != null"> | ||
| 99 | - order by ${orderByClause} | ||
| 100 | - </if> | ||
| 101 | - </select> | ||
| 102 | - <select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample" resultMap="BaseResultMap"> | ||
| 103 | - <include refid="OracleDialectPrefix" /> | ||
| 104 | - select | ||
| 105 | - <if test="distinct"> | ||
| 106 | - distinct | ||
| 107 | - </if> | ||
| 108 | - 'true' as QUERYID, | ||
| 109 | - <include refid="Base_Column_List" /> | ||
| 110 | - from T_KAFKA_TEMPORARY_STORAGE | ||
| 111 | - <if test="_parameter != null"> | ||
| 112 | - <include refid="Example_Where_Clause" /> | ||
| 113 | - </if> | ||
| 114 | - <if test="orderByClause != null"> | ||
| 115 | - order by ${orderByClause} | ||
| 116 | - </if> | ||
| 117 | - <include refid="OracleDialectSuffix" /> | ||
| 118 | - </select> | ||
| 119 | - <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs"> | ||
| 120 | - select | ||
| 121 | - <include refid="Base_Column_List" /> | ||
| 122 | - , | ||
| 123 | - <include refid="Blob_Column_List" /> | ||
| 124 | - from T_KAFKA_TEMPORARY_STORAGE | ||
| 125 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 126 | - </select> | ||
| 127 | - <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> | ||
| 128 | - delete from T_KAFKA_TEMPORARY_STORAGE | ||
| 129 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 130 | - </delete> | ||
| 131 | - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample"> | ||
| 132 | - delete from T_KAFKA_TEMPORARY_STORAGE | ||
| 133 | - <if test="_parameter != null"> | ||
| 134 | - <include refid="Example_Where_Clause" /> | ||
| 135 | - </if> | ||
| 136 | - </delete> | ||
| 137 | - <insert id="insert" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 138 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 139 | - SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL | ||
| 140 | - </selectKey> | ||
| 141 | - insert into T_KAFKA_TEMPORARY_STORAGE (ID, MESSAGE_ID, MESSAGE_CODE, | ||
| 142 | - SENDER_ID, RECEIVER_ID, SEND_TIME, | ||
| 143 | - CONSIGNMENT_CODE, FREQUENCY, STATUS, | ||
| 144 | - REMARK, CREATE_TIME, DATA | ||
| 145 | - ) | ||
| 146 | - values (#{id,jdbcType=NUMERIC}, #{messageId,jdbcType=VARCHAR}, #{messageCode,jdbcType=VARCHAR}, | ||
| 147 | - #{senderId,jdbcType=VARCHAR}, #{receiverId,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP}, | ||
| 148 | - #{consignmentCode,jdbcType=VARCHAR}, #{frequency,jdbcType=NUMERIC}, #{status,jdbcType=NUMERIC}, | ||
| 149 | - #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{data,jdbcType=CLOB} | ||
| 150 | - ) | ||
| 151 | - </insert> | ||
| 152 | - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 153 | - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 154 | - SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL | ||
| 155 | - </selectKey> | ||
| 156 | - insert into T_KAFKA_TEMPORARY_STORAGE | ||
| 157 | - <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 158 | - ID, | ||
| 159 | - <if test="messageId != null"> | ||
| 160 | - MESSAGE_ID, | ||
| 161 | - </if> | ||
| 162 | - <if test="messageCode != null"> | ||
| 163 | - MESSAGE_CODE, | ||
| 164 | - </if> | ||
| 165 | - <if test="senderId != null"> | ||
| 166 | - SENDER_ID, | ||
| 167 | - </if> | ||
| 168 | - <if test="receiverId != null"> | ||
| 169 | - RECEIVER_ID, | ||
| 170 | - </if> | ||
| 171 | - <if test="sendTime != null"> | ||
| 172 | - SEND_TIME, | ||
| 173 | - </if> | ||
| 174 | - <if test="consignmentCode != null"> | ||
| 175 | - CONSIGNMENT_CODE, | ||
| 176 | - </if> | ||
| 177 | - <if test="frequency != null"> | ||
| 178 | - FREQUENCY, | ||
| 179 | - </if> | ||
| 180 | - <if test="status != null"> | ||
| 181 | - STATUS, | ||
| 182 | - </if> | ||
| 183 | - <if test="remark != null"> | ||
| 184 | - REMARK, | ||
| 185 | - </if> | ||
| 186 | - <if test="createTime != null"> | ||
| 187 | - CREATE_TIME, | ||
| 188 | - </if> | ||
| 189 | - <if test="data != null"> | ||
| 190 | - DATA, | ||
| 191 | - </if> | ||
| 192 | - </trim> | ||
| 193 | - <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 194 | - #{id,jdbcType=NUMERIC}, | ||
| 195 | - <if test="messageId != null"> | ||
| 196 | - #{messageId,jdbcType=VARCHAR}, | ||
| 197 | - </if> | ||
| 198 | - <if test="messageCode != null"> | ||
| 199 | - #{messageCode,jdbcType=VARCHAR}, | ||
| 200 | - </if> | ||
| 201 | - <if test="senderId != null"> | ||
| 202 | - #{senderId,jdbcType=VARCHAR}, | ||
| 203 | - </if> | ||
| 204 | - <if test="receiverId != null"> | ||
| 205 | - #{receiverId,jdbcType=VARCHAR}, | ||
| 206 | - </if> | ||
| 207 | - <if test="sendTime != null"> | ||
| 208 | - #{sendTime,jdbcType=TIMESTAMP}, | ||
| 209 | - </if> | ||
| 210 | - <if test="consignmentCode != null"> | ||
| 211 | - #{consignmentCode,jdbcType=VARCHAR}, | ||
| 212 | - </if> | ||
| 213 | - <if test="frequency != null"> | ||
| 214 | - #{frequency,jdbcType=NUMERIC}, | ||
| 215 | - </if> | ||
| 216 | - <if test="status != null"> | ||
| 217 | - #{status,jdbcType=NUMERIC}, | ||
| 218 | - </if> | ||
| 219 | - <if test="remark != null"> | ||
| 220 | - #{remark,jdbcType=VARCHAR}, | ||
| 221 | - </if> | ||
| 222 | - <if test="createTime != null"> | ||
| 223 | - #{createTime,jdbcType=TIMESTAMP}, | ||
| 224 | - </if> | ||
| 225 | - <if test="data != null"> | ||
| 226 | - #{data,jdbcType=CLOB}, | ||
| 227 | - </if> | ||
| 228 | - </trim> | ||
| 229 | - </insert> | ||
| 230 | - <select id="countByExample" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample" resultType="java.lang.Long"> | ||
| 231 | - select count(*) from T_KAFKA_TEMPORARY_STORAGE | ||
| 232 | - <if test="_parameter != null"> | ||
| 233 | - <include refid="Example_Where_Clause" /> | ||
| 234 | - </if> | ||
| 235 | - </select> | ||
| 236 | - <update id="updateByExampleSelective" parameterType="map"> | ||
| 237 | - update T_KAFKA_TEMPORARY_STORAGE | ||
| 238 | - <set> | ||
| 239 | - <if test="record.id != null"> | ||
| 240 | - ID = #{record.id,jdbcType=NUMERIC}, | ||
| 241 | - </if> | ||
| 242 | - <if test="record.messageId != null"> | ||
| 243 | - MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR}, | ||
| 244 | - </if> | ||
| 245 | - <if test="record.messageCode != null"> | ||
| 246 | - MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR}, | ||
| 247 | - </if> | ||
| 248 | - <if test="record.senderId != null"> | ||
| 249 | - SENDER_ID = #{record.senderId,jdbcType=VARCHAR}, | ||
| 250 | - </if> | ||
| 251 | - <if test="record.receiverId != null"> | ||
| 252 | - RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR}, | ||
| 253 | - </if> | ||
| 254 | - <if test="record.sendTime != null"> | ||
| 255 | - SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 256 | - </if> | ||
| 257 | - <if test="record.consignmentCode != null"> | ||
| 258 | - CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 259 | - </if> | ||
| 260 | - <if test="record.frequency != null"> | ||
| 261 | - FREQUENCY = #{record.frequency,jdbcType=NUMERIC}, | ||
| 262 | - </if> | ||
| 263 | - <if test="record.status != null"> | ||
| 264 | - STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 265 | - </if> | ||
| 266 | - <if test="record.remark != null"> | ||
| 267 | - REMARK = #{record.remark,jdbcType=VARCHAR}, | ||
| 268 | - </if> | ||
| 269 | - <if test="record.createTime != null"> | ||
| 270 | - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 271 | - </if> | ||
| 272 | - <if test="record.data != null"> | ||
| 273 | - DATA = #{record.data,jdbcType=CLOB}, | ||
| 274 | - </if> | ||
| 275 | - </set> | ||
| 276 | - <if test="_parameter != null"> | ||
| 277 | - <include refid="Update_By_Example_Where_Clause" /> | ||
| 278 | - </if> | ||
| 279 | - </update> | ||
| 280 | - <update id="updateByExampleWithBLOBs" parameterType="map"> | ||
| 281 | - update T_KAFKA_TEMPORARY_STORAGE | ||
| 282 | - set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 283 | - MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR}, | ||
| 284 | - MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR}, | ||
| 285 | - SENDER_ID = #{record.senderId,jdbcType=VARCHAR}, | ||
| 286 | - RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR}, | ||
| 287 | - SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 288 | - CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 289 | - FREQUENCY = #{record.frequency,jdbcType=NUMERIC}, | ||
| 290 | - STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 291 | - REMARK = #{record.remark,jdbcType=VARCHAR}, | ||
| 292 | - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 293 | - DATA = #{record.data,jdbcType=CLOB} | ||
| 294 | - <if test="_parameter != null"> | ||
| 295 | - <include refid="Update_By_Example_Where_Clause" /> | ||
| 296 | - </if> | ||
| 297 | - </update> | ||
| 298 | - <update id="updateByExample" parameterType="map"> | ||
| 299 | - update T_KAFKA_TEMPORARY_STORAGE | ||
| 300 | - set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 301 | - MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR}, | ||
| 302 | - MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR}, | ||
| 303 | - SENDER_ID = #{record.senderId,jdbcType=VARCHAR}, | ||
| 304 | - RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR}, | ||
| 305 | - SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 306 | - CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 307 | - FREQUENCY = #{record.frequency,jdbcType=NUMERIC}, | ||
| 308 | - STATUS = #{record.status,jdbcType=NUMERIC}, | ||
| 309 | - REMARK = #{record.remark,jdbcType=VARCHAR}, | ||
| 310 | - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP} | ||
| 311 | - <if test="_parameter != null"> | ||
| 312 | - <include refid="Update_By_Example_Where_Clause" /> | ||
| 313 | - </if> | ||
| 314 | - </update> | ||
| 315 | - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 316 | - update T_KAFKA_TEMPORARY_STORAGE | ||
| 317 | - <set> | ||
| 318 | - <if test="messageId != null"> | ||
| 319 | - MESSAGE_ID = #{messageId,jdbcType=VARCHAR}, | ||
| 320 | - </if> | ||
| 321 | - <if test="messageCode != null"> | ||
| 322 | - MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR}, | ||
| 323 | - </if> | ||
| 324 | - <if test="senderId != null"> | ||
| 325 | - SENDER_ID = #{senderId,jdbcType=VARCHAR}, | ||
| 326 | - </if> | ||
| 327 | - <if test="receiverId != null"> | ||
| 328 | - RECEIVER_ID = #{receiverId,jdbcType=VARCHAR}, | ||
| 329 | - </if> | ||
| 330 | - <if test="sendTime != null"> | ||
| 331 | - SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 332 | - </if> | ||
| 333 | - <if test="consignmentCode != null"> | ||
| 334 | - CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 335 | - </if> | ||
| 336 | - <if test="frequency != null"> | ||
| 337 | - FREQUENCY = #{frequency,jdbcType=NUMERIC}, | ||
| 338 | - </if> | ||
| 339 | - <if test="status != null"> | ||
| 340 | - STATUS = #{status,jdbcType=NUMERIC}, | ||
| 341 | - </if> | ||
| 342 | - <if test="remark != null"> | ||
| 343 | - REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 344 | - </if> | ||
| 345 | - <if test="createTime != null"> | ||
| 346 | - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 347 | - </if> | ||
| 348 | - <if test="data != null"> | ||
| 349 | - DATA = #{data,jdbcType=CLOB}, | ||
| 350 | - </if> | ||
| 351 | - </set> | ||
| 352 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 353 | - </update> | ||
| 354 | - <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 355 | - update T_KAFKA_TEMPORARY_STORAGE | ||
| 356 | - set MESSAGE_ID = #{messageId,jdbcType=VARCHAR}, | ||
| 357 | - MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR}, | ||
| 358 | - SENDER_ID = #{senderId,jdbcType=VARCHAR}, | ||
| 359 | - RECEIVER_ID = #{receiverId,jdbcType=VARCHAR}, | ||
| 360 | - SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 361 | - CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 362 | - FREQUENCY = #{frequency,jdbcType=NUMERIC}, | ||
| 363 | - STATUS = #{status,jdbcType=NUMERIC}, | ||
| 364 | - REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 365 | - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 366 | - DATA = #{data,jdbcType=CLOB} | ||
| 367 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 368 | - </update> | ||
| 369 | - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage"> | ||
| 370 | - update T_KAFKA_TEMPORARY_STORAGE | ||
| 371 | - set MESSAGE_ID = #{messageId,jdbcType=VARCHAR}, | ||
| 372 | - MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR}, | ||
| 373 | - SENDER_ID = #{senderId,jdbcType=VARCHAR}, | ||
| 374 | - RECEIVER_ID = #{receiverId,jdbcType=VARCHAR}, | ||
| 375 | - SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 376 | - CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 377 | - FREQUENCY = #{frequency,jdbcType=NUMERIC}, | ||
| 378 | - STATUS = #{status,jdbcType=NUMERIC}, | ||
| 379 | - REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 380 | - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP} | ||
| 381 | - where ID = #{id,jdbcType=NUMERIC} | ||
| 382 | - </update> | ||
| 383 | - <sql id="OracleDialectPrefix"> | ||
| 384 | - <if test="limitStart != null and limitStart>=0"> | ||
| 385 | - select * from ( select row_.*, rownum rownum_ from ( | ||
| 386 | - </if> | ||
| 387 | - </sql> | ||
| 388 | - <sql id="OracleDialectSuffix"> | ||
| 389 | - <if test="limitStart != null and limitStart>=0"> | ||
| 390 | - <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | ||
| 391 | - </if> | ||
| 392 | - </sql> | ||
| 393 | -</mapper> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
server/common-dao/src/main/java/com/fedex/connect/common/model/sys/KafkaStorageHistory.java
deleted
100644 → 0
| 1 | -package com.fedex.connect.common.model.sys; | ||
| 2 | - | ||
| 3 | -import java.io.Serializable; | ||
| 4 | -import java.util.Date; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * DESC: kafka数据历史表 | ||
| 8 | - * TABLE: T_KAFKA_STORAGE_HISTORY | ||
| 9 | - */ | ||
| 10 | -public class KafkaStorageHistory implements Serializable { | ||
| 11 | - /** | ||
| 12 | - * ID,自动增加 | ||
| 13 | - */ | ||
| 14 | - private Long id; | ||
| 15 | - | ||
| 16 | - /** | ||
| 17 | - * 由发送方定义的序列号,唯一 UUID JSON自动生成 | ||
| 18 | - */ | ||
| 19 | - private String messageId; | ||
| 20 | - | ||
| 21 | - /** | ||
| 22 | - * 消息代码/类型 | ||
| 23 | - */ | ||
| 24 | - private String messageCode; | ||
| 25 | - | ||
| 26 | - /** | ||
| 27 | - * 发送程序ID | ||
| 28 | - */ | ||
| 29 | - private String senderId; | ||
| 30 | - | ||
| 31 | - /** | ||
| 32 | - * 接受程序ID | ||
| 33 | - */ | ||
| 34 | - private String receiverId; | ||
| 35 | - | ||
| 36 | - /** | ||
| 37 | - * DM发送时间 | ||
| 38 | - */ | ||
| 39 | - private Date sendTime; | ||
| 40 | - | ||
| 41 | - /** | ||
| 42 | - * 运单号 | ||
| 43 | - */ | ||
| 44 | - private String consignmentCode; | ||
| 45 | - | ||
| 46 | - /** | ||
| 47 | - * 记录处理次数 | ||
| 48 | - */ | ||
| 49 | - private Long frequency; | ||
| 50 | - | ||
| 51 | - /** | ||
| 52 | - * 数据状态(0:待处理,1:已处理,2:处理失败) | ||
| 53 | - */ | ||
| 54 | - private Long status; | ||
| 55 | - | ||
| 56 | - /** | ||
| 57 | - * 备注,记录错误信息 | ||
| 58 | - */ | ||
| 59 | - private String remark; | ||
| 60 | - | ||
| 61 | - /** | ||
| 62 | - * 系统入库创建时间 | ||
| 63 | - */ | ||
| 64 | - private Date createTime; | ||
| 65 | - | ||
| 66 | - /** | ||
| 67 | - * 消息体(Json字符串) | ||
| 68 | - */ | ||
| 69 | - private String data; | ||
| 70 | - | ||
| 71 | - private static final long serialVersionUID = 1L; | ||
| 72 | - | ||
| 73 | - public Long getId() { | ||
| 74 | - return id; | ||
| 75 | - } | ||
| 76 | - | ||
| 77 | - public void setId(Long id) { | ||
| 78 | - this.id = id; | ||
| 79 | - } | ||
| 80 | - | ||
| 81 | - public String getMessageId() { | ||
| 82 | - return messageId; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - public void setMessageId(String messageId) { | ||
| 86 | - this.messageId = messageId == null ? null : messageId.trim(); | ||
| 87 | - } | ||
| 88 | - | ||
| 89 | - public String getMessageCode() { | ||
| 90 | - return messageCode; | ||
| 91 | - } | ||
| 92 | - | ||
| 93 | - public void setMessageCode(String messageCode) { | ||
| 94 | - this.messageCode = messageCode == null ? null : messageCode.trim(); | ||
| 95 | - } | ||
| 96 | - | ||
| 97 | - public String getSenderId() { | ||
| 98 | - return senderId; | ||
| 99 | - } | ||
| 100 | - | ||
| 101 | - public void setSenderId(String senderId) { | ||
| 102 | - this.senderId = senderId == null ? null : senderId.trim(); | ||
| 103 | - } | ||
| 104 | - | ||
| 105 | - public String getReceiverId() { | ||
| 106 | - return receiverId; | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - public void setReceiverId(String receiverId) { | ||
| 110 | - this.receiverId = receiverId == null ? null : receiverId.trim(); | ||
| 111 | - } | ||
| 112 | - | ||
| 113 | - public Date getSendTime() { | ||
| 114 | - return sendTime; | ||
| 115 | - } | ||
| 116 | - | ||
| 117 | - public void setSendTime(Date sendTime) { | ||
| 118 | - this.sendTime = sendTime; | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - public String getConsignmentCode() { | ||
| 122 | - return consignmentCode; | ||
| 123 | - } | ||
| 124 | - | ||
| 125 | - public void setConsignmentCode(String consignmentCode) { | ||
| 126 | - this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim(); | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - public Long getFrequency() { | ||
| 130 | - return frequency; | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public void setFrequency(Long frequency) { | ||
| 134 | - this.frequency = frequency; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public Long getStatus() { | ||
| 138 | - return status; | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - public void setStatus(Long status) { | ||
| 142 | - this.status = status; | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - public String getRemark() { | ||
| 146 | - return remark; | ||
| 147 | - } | ||
| 148 | - | ||
| 149 | - public void setRemark(String remark) { | ||
| 150 | - this.remark = remark == null ? null : remark.trim(); | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public Date getCreateTime() { | ||
| 154 | - return createTime; | ||
| 155 | - } | ||
| 156 | - | ||
| 157 | - public void setCreateTime(Date createTime) { | ||
| 158 | - this.createTime = createTime; | ||
| 159 | - } | ||
| 160 | - | ||
| 161 | - public String getData() { | ||
| 162 | - return data; | ||
| 163 | - } | ||
| 164 | - | ||
| 165 | - public void setData(String data) { | ||
| 166 | - this.data = data == null ? null : data.trim(); | ||
| 167 | - } | ||
| 168 | - | ||
| 169 | - @Override | ||
| 170 | - public String toString() { | ||
| 171 | - StringBuilder sb = new StringBuilder(); | ||
| 172 | - sb.append(getClass().getSimpleName()); | ||
| 173 | - sb.append(" ["); | ||
| 174 | - sb.append("Hash = ").append(hashCode()); | ||
| 175 | - sb.append(", id=").append(id); | ||
| 176 | - sb.append(", messageId=").append(messageId); | ||
| 177 | - sb.append(", messageCode=").append(messageCode); | ||
| 178 | - sb.append(", senderId=").append(senderId); | ||
| 179 | - sb.append(", receiverId=").append(receiverId); | ||
| 180 | - sb.append(", sendTime=").append(sendTime); | ||
| 181 | - sb.append(", consignmentCode=").append(consignmentCode); | ||
| 182 | - sb.append(", frequency=").append(frequency); | ||
| 183 | - sb.append(", status=").append(status); | ||
| 184 | - sb.append(", remark=").append(remark); | ||
| 185 | - sb.append(", createTime=").append(createTime); | ||
| 186 | - sb.append(", data=").append(data); | ||
| 187 | - sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 188 | - sb.append("]"); | ||
| 189 | - return sb.toString(); | ||
| 190 | - } | ||
| 191 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -package com.fedex.connect.common.model.sys; | ||
| 2 | - | ||
| 3 | -import java.util.ArrayList; | ||
| 4 | -import java.util.Date; | ||
| 5 | -import java.util.List; | ||
| 6 | - | ||
| 7 | -public class KafkaStorageHistoryExample { | ||
| 8 | - protected String orderByClause; | ||
| 9 | - | ||
| 10 | - protected boolean distinct; | ||
| 11 | - | ||
| 12 | - protected List<Criteria> oredCriteria; | ||
| 13 | - | ||
| 14 | - protected Integer limitStart; | ||
| 15 | - | ||
| 16 | - protected Integer limitSize; | ||
| 17 | - | ||
| 18 | - public KafkaStorageHistoryExample() { | ||
| 19 | - oredCriteria = new ArrayList<Criteria>(); | ||
| 20 | - } | ||
| 21 | - | ||
| 22 | - public void setOrderByClause(String orderByClause) { | ||
| 23 | - this.orderByClause = orderByClause; | ||
| 24 | - } | ||
| 25 | - | ||
| 26 | - public String getOrderByClause() { | ||
| 27 | - return orderByClause; | ||
| 28 | - } | ||
| 29 | - | ||
| 30 | - public void setDistinct(boolean distinct) { | ||
| 31 | - this.distinct = distinct; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - public boolean isDistinct() { | ||
| 35 | - return distinct; | ||
| 36 | - } | ||
| 37 | - | ||
| 38 | - public List<Criteria> getOredCriteria() { | ||
| 39 | - return oredCriteria; | ||
| 40 | - } | ||
| 41 | - | ||
| 42 | - public void or(Criteria criteria) { | ||
| 43 | - oredCriteria.add(criteria); | ||
| 44 | - } | ||
| 45 | - | ||
| 46 | - public Criteria or() { | ||
| 47 | - Criteria criteria = createCriteriaInternal(); | ||
| 48 | - oredCriteria.add(criteria); | ||
| 49 | - return criteria; | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - public Criteria createCriteria() { | ||
| 53 | - Criteria criteria = createCriteriaInternal(); | ||
| 54 | - if (oredCriteria.size() == 0) { | ||
| 55 | - oredCriteria.add(criteria); | ||
| 56 | - } | ||
| 57 | - return criteria; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - protected Criteria createCriteriaInternal() { | ||
| 61 | - Criteria criteria = new Criteria(); | ||
| 62 | - return criteria; | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public void clear() { | ||
| 66 | - oredCriteria.clear(); | ||
| 67 | - orderByClause = null; | ||
| 68 | - distinct = false; | ||
| 69 | - } | ||
| 70 | - | ||
| 71 | - public void setLimitStart(Integer limitStart) { | ||
| 72 | - this.limitStart=limitStart; | ||
| 73 | - } | ||
| 74 | - | ||
| 75 | - public Integer getLimitStart() { | ||
| 76 | - return limitStart; | ||
| 77 | - } | ||
| 78 | - | ||
| 79 | - public void setLimitSize(Integer limitSize) { | ||
| 80 | - this.limitSize=limitSize; | ||
| 81 | - } | ||
| 82 | - | ||
| 83 | - public Integer getLimitSize() { | ||
| 84 | - return limitSize; | ||
| 85 | - } | ||
| 86 | - | ||
| 87 | - protected abstract static class GeneratedCriteria { | ||
| 88 | - protected List<Criterion> criteria; | ||
| 89 | - | ||
| 90 | - protected GeneratedCriteria() { | ||
| 91 | - super(); | ||
| 92 | - criteria = new ArrayList<Criterion>(); | ||
| 93 | - } | ||
| 94 | - | ||
| 95 | - public boolean isValid() { | ||
| 96 | - return criteria.size() > 0; | ||
| 97 | - } | ||
| 98 | - | ||
| 99 | - public List<Criterion> getAllCriteria() { | ||
| 100 | - return criteria; | ||
| 101 | - } | ||
| 102 | - | ||
| 103 | - public List<Criterion> getCriteria() { | ||
| 104 | - return criteria; | ||
| 105 | - } | ||
| 106 | - | ||
| 107 | - protected void addCriterion(String condition) { | ||
| 108 | - if (condition == null) { | ||
| 109 | - throw new RuntimeException("Value for condition cannot be null"); | ||
| 110 | - } | ||
| 111 | - criteria.add(new Criterion(condition)); | ||
| 112 | - } | ||
| 113 | - | ||
| 114 | - protected void addCriterion(String condition, Object value, String property) { | ||
| 115 | - if (value == null) { | ||
| 116 | - throw new RuntimeException("Value for " + property + " cannot be null"); | ||
| 117 | - } | ||
| 118 | - criteria.add(new Criterion(condition, value)); | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - protected void addCriterion(String condition, Object value1, Object value2, String property) { | ||
| 122 | - if (value1 == null || value2 == null) { | ||
| 123 | - throw new RuntimeException("Between values for " + property + " cannot be null"); | ||
| 124 | - } | ||
| 125 | - criteria.add(new Criterion(condition, value1, value2)); | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - public Criteria andIdIsNull() { | ||
| 129 | - addCriterion("ID is null"); | ||
| 130 | - return (Criteria) this; | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public Criteria andIdIsNotNull() { | ||
| 134 | - addCriterion("ID is not null"); | ||
| 135 | - return (Criteria) this; | ||
| 136 | - } | ||
| 137 | - | ||
| 138 | - public Criteria andIdEqualTo(Long value) { | ||
| 139 | - addCriterion("ID =", value, "id"); | ||
| 140 | - return (Criteria) this; | ||
| 141 | - } | ||
| 142 | - | ||
| 143 | - public Criteria andIdNotEqualTo(Long value) { | ||
| 144 | - addCriterion("ID <>", value, "id"); | ||
| 145 | - return (Criteria) this; | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - public Criteria andIdGreaterThan(Long value) { | ||
| 149 | - addCriterion("ID >", value, "id"); | ||
| 150 | - return (Criteria) this; | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public Criteria andIdGreaterThanOrEqualTo(Long value) { | ||
| 154 | - addCriterion("ID >=", value, "id"); | ||
| 155 | - return (Criteria) this; | ||
| 156 | - } | ||
| 157 | - | ||
| 158 | - public Criteria andIdLessThan(Long value) { | ||
| 159 | - addCriterion("ID <", value, "id"); | ||
| 160 | - return (Criteria) this; | ||
| 161 | - } | ||
| 162 | - | ||
| 163 | - public Criteria andIdLessThanOrEqualTo(Long value) { | ||
| 164 | - addCriterion("ID <=", value, "id"); | ||
| 165 | - return (Criteria) this; | ||
| 166 | - } | ||
| 167 | - | ||
| 168 | - public Criteria andIdIn(List<Long> values) { | ||
| 169 | - addCriterion("ID in", values, "id"); | ||
| 170 | - return (Criteria) this; | ||
| 171 | - } | ||
| 172 | - | ||
| 173 | - public Criteria andIdNotIn(List<Long> values) { | ||
| 174 | - addCriterion("ID not in", values, "id"); | ||
| 175 | - return (Criteria) this; | ||
| 176 | - } | ||
| 177 | - | ||
| 178 | - public Criteria andIdBetween(Long value1, Long value2) { | ||
| 179 | - addCriterion("ID between", value1, value2, "id"); | ||
| 180 | - return (Criteria) this; | ||
| 181 | - } | ||
| 182 | - | ||
| 183 | - public Criteria andIdNotBetween(Long value1, Long value2) { | ||
| 184 | - addCriterion("ID not between", value1, value2, "id"); | ||
| 185 | - return (Criteria) this; | ||
| 186 | - } | ||
| 187 | - | ||
| 188 | - public Criteria andMessageIdIsNull() { | ||
| 189 | - addCriterion("MESSAGE_ID is null"); | ||
| 190 | - return (Criteria) this; | ||
| 191 | - } | ||
| 192 | - | ||
| 193 | - public Criteria andMessageIdIsNotNull() { | ||
| 194 | - addCriterion("MESSAGE_ID is not null"); | ||
| 195 | - return (Criteria) this; | ||
| 196 | - } | ||
| 197 | - | ||
| 198 | - public Criteria andMessageIdEqualTo(String value) { | ||
| 199 | - addCriterion("MESSAGE_ID =", value, "messageId"); | ||
| 200 | - return (Criteria) this; | ||
| 201 | - } | ||
| 202 | - | ||
| 203 | - public Criteria andMessageIdNotEqualTo(String value) { | ||
| 204 | - addCriterion("MESSAGE_ID <>", value, "messageId"); | ||
| 205 | - return (Criteria) this; | ||
| 206 | - } | ||
| 207 | - | ||
| 208 | - public Criteria andMessageIdGreaterThan(String value) { | ||
| 209 | - addCriterion("MESSAGE_ID >", value, "messageId"); | ||
| 210 | - return (Criteria) this; | ||
| 211 | - } | ||
| 212 | - | ||
| 213 | - public Criteria andMessageIdGreaterThanOrEqualTo(String value) { | ||
| 214 | - addCriterion("MESSAGE_ID >=", value, "messageId"); | ||
| 215 | - return (Criteria) this; | ||
| 216 | - } | ||
| 217 | - | ||
| 218 | - public Criteria andMessageIdLessThan(String value) { | ||
| 219 | - addCriterion("MESSAGE_ID <", value, "messageId"); | ||
| 220 | - return (Criteria) this; | ||
| 221 | - } | ||
| 222 | - | ||
| 223 | - public Criteria andMessageIdLessThanOrEqualTo(String value) { | ||
| 224 | - addCriterion("MESSAGE_ID <=", value, "messageId"); | ||
| 225 | - return (Criteria) this; | ||
| 226 | - } | ||
| 227 | - | ||
| 228 | - public Criteria andMessageIdLike(String value) { | ||
| 229 | - addCriterion("MESSAGE_ID like", value, "messageId"); | ||
| 230 | - return (Criteria) this; | ||
| 231 | - } | ||
| 232 | - | ||
| 233 | - public Criteria andMessageIdNotLike(String value) { | ||
| 234 | - addCriterion("MESSAGE_ID not like", value, "messageId"); | ||
| 235 | - return (Criteria) this; | ||
| 236 | - } | ||
| 237 | - | ||
| 238 | - public Criteria andMessageIdIn(List<String> values) { | ||
| 239 | - addCriterion("MESSAGE_ID in", values, "messageId"); | ||
| 240 | - return (Criteria) this; | ||
| 241 | - } | ||
| 242 | - | ||
| 243 | - public Criteria andMessageIdNotIn(List<String> values) { | ||
| 244 | - addCriterion("MESSAGE_ID not in", values, "messageId"); | ||
| 245 | - return (Criteria) this; | ||
| 246 | - } | ||
| 247 | - | ||
| 248 | - public Criteria andMessageIdBetween(String value1, String value2) { | ||
| 249 | - addCriterion("MESSAGE_ID between", value1, value2, "messageId"); | ||
| 250 | - return (Criteria) this; | ||
| 251 | - } | ||
| 252 | - | ||
| 253 | - public Criteria andMessageIdNotBetween(String value1, String value2) { | ||
| 254 | - addCriterion("MESSAGE_ID not between", value1, value2, "messageId"); | ||
| 255 | - return (Criteria) this; | ||
| 256 | - } | ||
| 257 | - | ||
| 258 | - public Criteria andMessageCodeIsNull() { | ||
| 259 | - addCriterion("MESSAGE_CODE is null"); | ||
| 260 | - return (Criteria) this; | ||
| 261 | - } | ||
| 262 | - | ||
| 263 | - public Criteria andMessageCodeIsNotNull() { | ||
| 264 | - addCriterion("MESSAGE_CODE is not null"); | ||
| 265 | - return (Criteria) this; | ||
| 266 | - } | ||
| 267 | - | ||
| 268 | - public Criteria andMessageCodeEqualTo(String value) { | ||
| 269 | - addCriterion("MESSAGE_CODE =", value, "messageCode"); | ||
| 270 | - return (Criteria) this; | ||
| 271 | - } | ||
| 272 | - | ||
| 273 | - public Criteria andMessageCodeNotEqualTo(String value) { | ||
| 274 | - addCriterion("MESSAGE_CODE <>", value, "messageCode"); | ||
| 275 | - return (Criteria) this; | ||
| 276 | - } | ||
| 277 | - | ||
| 278 | - public Criteria andMessageCodeGreaterThan(String value) { | ||
| 279 | - addCriterion("MESSAGE_CODE >", value, "messageCode"); | ||
| 280 | - return (Criteria) this; | ||
| 281 | - } | ||
| 282 | - | ||
| 283 | - public Criteria andMessageCodeGreaterThanOrEqualTo(String value) { | ||
| 284 | - addCriterion("MESSAGE_CODE >=", value, "messageCode"); | ||
| 285 | - return (Criteria) this; | ||
| 286 | - } | ||
| 287 | - | ||
| 288 | - public Criteria andMessageCodeLessThan(String value) { | ||
| 289 | - addCriterion("MESSAGE_CODE <", value, "messageCode"); | ||
| 290 | - return (Criteria) this; | ||
| 291 | - } | ||
| 292 | - | ||
| 293 | - public Criteria andMessageCodeLessThanOrEqualTo(String value) { | ||
| 294 | - addCriterion("MESSAGE_CODE <=", value, "messageCode"); | ||
| 295 | - return (Criteria) this; | ||
| 296 | - } | ||
| 297 | - | ||
| 298 | - public Criteria andMessageCodeLike(String value) { | ||
| 299 | - addCriterion("MESSAGE_CODE like", value, "messageCode"); | ||
| 300 | - return (Criteria) this; | ||
| 301 | - } | ||
| 302 | - | ||
| 303 | - public Criteria andMessageCodeNotLike(String value) { | ||
| 304 | - addCriterion("MESSAGE_CODE not like", value, "messageCode"); | ||
| 305 | - return (Criteria) this; | ||
| 306 | - } | ||
| 307 | - | ||
| 308 | - public Criteria andMessageCodeIn(List<String> values) { | ||
| 309 | - addCriterion("MESSAGE_CODE in", values, "messageCode"); | ||
| 310 | - return (Criteria) this; | ||
| 311 | - } | ||
| 312 | - | ||
| 313 | - public Criteria andMessageCodeNotIn(List<String> values) { | ||
| 314 | - addCriterion("MESSAGE_CODE not in", values, "messageCode"); | ||
| 315 | - return (Criteria) this; | ||
| 316 | - } | ||
| 317 | - | ||
| 318 | - public Criteria andMessageCodeBetween(String value1, String value2) { | ||
| 319 | - addCriterion("MESSAGE_CODE between", value1, value2, "messageCode"); | ||
| 320 | - return (Criteria) this; | ||
| 321 | - } | ||
| 322 | - | ||
| 323 | - public Criteria andMessageCodeNotBetween(String value1, String value2) { | ||
| 324 | - addCriterion("MESSAGE_CODE not between", value1, value2, "messageCode"); | ||
| 325 | - return (Criteria) this; | ||
| 326 | - } | ||
| 327 | - | ||
| 328 | - public Criteria andSenderIdIsNull() { | ||
| 329 | - addCriterion("SENDER_ID is null"); | ||
| 330 | - return (Criteria) this; | ||
| 331 | - } | ||
| 332 | - | ||
| 333 | - public Criteria andSenderIdIsNotNull() { | ||
| 334 | - addCriterion("SENDER_ID is not null"); | ||
| 335 | - return (Criteria) this; | ||
| 336 | - } | ||
| 337 | - | ||
| 338 | - public Criteria andSenderIdEqualTo(String value) { | ||
| 339 | - addCriterion("SENDER_ID =", value, "senderId"); | ||
| 340 | - return (Criteria) this; | ||
| 341 | - } | ||
| 342 | - | ||
| 343 | - public Criteria andSenderIdNotEqualTo(String value) { | ||
| 344 | - addCriterion("SENDER_ID <>", value, "senderId"); | ||
| 345 | - return (Criteria) this; | ||
| 346 | - } | ||
| 347 | - | ||
| 348 | - public Criteria andSenderIdGreaterThan(String value) { | ||
| 349 | - addCriterion("SENDER_ID >", value, "senderId"); | ||
| 350 | - return (Criteria) this; | ||
| 351 | - } | ||
| 352 | - | ||
| 353 | - public Criteria andSenderIdGreaterThanOrEqualTo(String value) { | ||
| 354 | - addCriterion("SENDER_ID >=", value, "senderId"); | ||
| 355 | - return (Criteria) this; | ||
| 356 | - } | ||
| 357 | - | ||
| 358 | - public Criteria andSenderIdLessThan(String value) { | ||
| 359 | - addCriterion("SENDER_ID <", value, "senderId"); | ||
| 360 | - return (Criteria) this; | ||
| 361 | - } | ||
| 362 | - | ||
| 363 | - public Criteria andSenderIdLessThanOrEqualTo(String value) { | ||
| 364 | - addCriterion("SENDER_ID <=", value, "senderId"); | ||
| 365 | - return (Criteria) this; | ||
| 366 | - } | ||
| 367 | - | ||
| 368 | - public Criteria andSenderIdLike(String value) { | ||
| 369 | - addCriterion("SENDER_ID like", value, "senderId"); | ||
| 370 | - return (Criteria) this; | ||
| 371 | - } | ||
| 372 | - | ||
| 373 | - public Criteria andSenderIdNotLike(String value) { | ||
| 374 | - addCriterion("SENDER_ID not like", value, "senderId"); | ||
| 375 | - return (Criteria) this; | ||
| 376 | - } | ||
| 377 | - | ||
| 378 | - public Criteria andSenderIdIn(List<String> values) { | ||
| 379 | - addCriterion("SENDER_ID in", values, "senderId"); | ||
| 380 | - return (Criteria) this; | ||
| 381 | - } | ||
| 382 | - | ||
| 383 | - public Criteria andSenderIdNotIn(List<String> values) { | ||
| 384 | - addCriterion("SENDER_ID not in", values, "senderId"); | ||
| 385 | - return (Criteria) this; | ||
| 386 | - } | ||
| 387 | - | ||
| 388 | - public Criteria andSenderIdBetween(String value1, String value2) { | ||
| 389 | - addCriterion("SENDER_ID between", value1, value2, "senderId"); | ||
| 390 | - return (Criteria) this; | ||
| 391 | - } | ||
| 392 | - | ||
| 393 | - public Criteria andSenderIdNotBetween(String value1, String value2) { | ||
| 394 | - addCriterion("SENDER_ID not between", value1, value2, "senderId"); | ||
| 395 | - return (Criteria) this; | ||
| 396 | - } | ||
| 397 | - | ||
| 398 | - public Criteria andReceiverIdIsNull() { | ||
| 399 | - addCriterion("RECEIVER_ID is null"); | ||
| 400 | - return (Criteria) this; | ||
| 401 | - } | ||
| 402 | - | ||
| 403 | - public Criteria andReceiverIdIsNotNull() { | ||
| 404 | - addCriterion("RECEIVER_ID is not null"); | ||
| 405 | - return (Criteria) this; | ||
| 406 | - } | ||
| 407 | - | ||
| 408 | - public Criteria andReceiverIdEqualTo(String value) { | ||
| 409 | - addCriterion("RECEIVER_ID =", value, "receiverId"); | ||
| 410 | - return (Criteria) this; | ||
| 411 | - } | ||
| 412 | - | ||
| 413 | - public Criteria andReceiverIdNotEqualTo(String value) { | ||
| 414 | - addCriterion("RECEIVER_ID <>", value, "receiverId"); | ||
| 415 | - return (Criteria) this; | ||
| 416 | - } | ||
| 417 | - | ||
| 418 | - public Criteria andReceiverIdGreaterThan(String value) { | ||
| 419 | - addCriterion("RECEIVER_ID >", value, "receiverId"); | ||
| 420 | - return (Criteria) this; | ||
| 421 | - } | ||
| 422 | - | ||
| 423 | - public Criteria andReceiverIdGreaterThanOrEqualTo(String value) { | ||
| 424 | - addCriterion("RECEIVER_ID >=", value, "receiverId"); | ||
| 425 | - return (Criteria) this; | ||
| 426 | - } | ||
| 427 | - | ||
| 428 | - public Criteria andReceiverIdLessThan(String value) { | ||
| 429 | - addCriterion("RECEIVER_ID <", value, "receiverId"); | ||
| 430 | - return (Criteria) this; | ||
| 431 | - } | ||
| 432 | - | ||
| 433 | - public Criteria andReceiverIdLessThanOrEqualTo(String value) { | ||
| 434 | - addCriterion("RECEIVER_ID <=", value, "receiverId"); | ||
| 435 | - return (Criteria) this; | ||
| 436 | - } | ||
| 437 | - | ||
| 438 | - public Criteria andReceiverIdLike(String value) { | ||
| 439 | - addCriterion("RECEIVER_ID like", value, "receiverId"); | ||
| 440 | - return (Criteria) this; | ||
| 441 | - } | ||
| 442 | - | ||
| 443 | - public Criteria andReceiverIdNotLike(String value) { | ||
| 444 | - addCriterion("RECEIVER_ID not like", value, "receiverId"); | ||
| 445 | - return (Criteria) this; | ||
| 446 | - } | ||
| 447 | - | ||
| 448 | - public Criteria andReceiverIdIn(List<String> values) { | ||
| 449 | - addCriterion("RECEIVER_ID in", values, "receiverId"); | ||
| 450 | - return (Criteria) this; | ||
| 451 | - } | ||
| 452 | - | ||
| 453 | - public Criteria andReceiverIdNotIn(List<String> values) { | ||
| 454 | - addCriterion("RECEIVER_ID not in", values, "receiverId"); | ||
| 455 | - return (Criteria) this; | ||
| 456 | - } | ||
| 457 | - | ||
| 458 | - public Criteria andReceiverIdBetween(String value1, String value2) { | ||
| 459 | - addCriterion("RECEIVER_ID between", value1, value2, "receiverId"); | ||
| 460 | - return (Criteria) this; | ||
| 461 | - } | ||
| 462 | - | ||
| 463 | - public Criteria andReceiverIdNotBetween(String value1, String value2) { | ||
| 464 | - addCriterion("RECEIVER_ID not between", value1, value2, "receiverId"); | ||
| 465 | - return (Criteria) this; | ||
| 466 | - } | ||
| 467 | - | ||
| 468 | - public Criteria andSendTimeIsNull() { | ||
| 469 | - addCriterion("SEND_TIME is null"); | ||
| 470 | - return (Criteria) this; | ||
| 471 | - } | ||
| 472 | - | ||
| 473 | - public Criteria andSendTimeIsNotNull() { | ||
| 474 | - addCriterion("SEND_TIME is not null"); | ||
| 475 | - return (Criteria) this; | ||
| 476 | - } | ||
| 477 | - | ||
| 478 | - public Criteria andSendTimeEqualTo(Date value) { | ||
| 479 | - addCriterion("SEND_TIME =", value, "sendTime"); | ||
| 480 | - return (Criteria) this; | ||
| 481 | - } | ||
| 482 | - | ||
| 483 | - public Criteria andSendTimeNotEqualTo(Date value) { | ||
| 484 | - addCriterion("SEND_TIME <>", value, "sendTime"); | ||
| 485 | - return (Criteria) this; | ||
| 486 | - } | ||
| 487 | - | ||
| 488 | - public Criteria andSendTimeGreaterThan(Date value) { | ||
| 489 | - addCriterion("SEND_TIME >", value, "sendTime"); | ||
| 490 | - return (Criteria) this; | ||
| 491 | - } | ||
| 492 | - | ||
| 493 | - public Criteria andSendTimeGreaterThanOrEqualTo(Date value) { | ||
| 494 | - addCriterion("SEND_TIME >=", value, "sendTime"); | ||
| 495 | - return (Criteria) this; | ||
| 496 | - } | ||
| 497 | - | ||
| 498 | - public Criteria andSendTimeLessThan(Date value) { | ||
| 499 | - addCriterion("SEND_TIME <", value, "sendTime"); | ||
| 500 | - return (Criteria) this; | ||
| 501 | - } | ||
| 502 | - | ||
| 503 | - public Criteria andSendTimeLessThanOrEqualTo(Date value) { | ||
| 504 | - addCriterion("SEND_TIME <=", value, "sendTime"); | ||
| 505 | - return (Criteria) this; | ||
| 506 | - } | ||
| 507 | - | ||
| 508 | - public Criteria andSendTimeIn(List<Date> values) { | ||
| 509 | - addCriterion("SEND_TIME in", values, "sendTime"); | ||
| 510 | - return (Criteria) this; | ||
| 511 | - } | ||
| 512 | - | ||
| 513 | - public Criteria andSendTimeNotIn(List<Date> values) { | ||
| 514 | - addCriterion("SEND_TIME not in", values, "sendTime"); | ||
| 515 | - return (Criteria) this; | ||
| 516 | - } | ||
| 517 | - | ||
| 518 | - public Criteria andSendTimeBetween(Date value1, Date value2) { | ||
| 519 | - addCriterion("SEND_TIME between", value1, value2, "sendTime"); | ||
| 520 | - return (Criteria) this; | ||
| 521 | - } | ||
| 522 | - | ||
| 523 | - public Criteria andSendTimeNotBetween(Date value1, Date value2) { | ||
| 524 | - addCriterion("SEND_TIME not between", value1, value2, "sendTime"); | ||
| 525 | - return (Criteria) this; | ||
| 526 | - } | ||
| 527 | - | ||
| 528 | - public Criteria andConsignmentCodeIsNull() { | ||
| 529 | - addCriterion("CONSIGNMENT_CODE is null"); | ||
| 530 | - return (Criteria) this; | ||
| 531 | - } | ||
| 532 | - | ||
| 533 | - public Criteria andConsignmentCodeIsNotNull() { | ||
| 534 | - addCriterion("CONSIGNMENT_CODE is not null"); | ||
| 535 | - return (Criteria) this; | ||
| 536 | - } | ||
| 537 | - | ||
| 538 | - public Criteria andConsignmentCodeEqualTo(String value) { | ||
| 539 | - addCriterion("CONSIGNMENT_CODE =", value, "consignmentCode"); | ||
| 540 | - return (Criteria) this; | ||
| 541 | - } | ||
| 542 | - | ||
| 543 | - public Criteria andConsignmentCodeNotEqualTo(String value) { | ||
| 544 | - addCriterion("CONSIGNMENT_CODE <>", value, "consignmentCode"); | ||
| 545 | - return (Criteria) this; | ||
| 546 | - } | ||
| 547 | - | ||
| 548 | - public Criteria andConsignmentCodeGreaterThan(String value) { | ||
| 549 | - addCriterion("CONSIGNMENT_CODE >", value, "consignmentCode"); | ||
| 550 | - return (Criteria) this; | ||
| 551 | - } | ||
| 552 | - | ||
| 553 | - public Criteria andConsignmentCodeGreaterThanOrEqualTo(String value) { | ||
| 554 | - addCriterion("CONSIGNMENT_CODE >=", value, "consignmentCode"); | ||
| 555 | - return (Criteria) this; | ||
| 556 | - } | ||
| 557 | - | ||
| 558 | - public Criteria andConsignmentCodeLessThan(String value) { | ||
| 559 | - addCriterion("CONSIGNMENT_CODE <", value, "consignmentCode"); | ||
| 560 | - return (Criteria) this; | ||
| 561 | - } | ||
| 562 | - | ||
| 563 | - public Criteria andConsignmentCodeLessThanOrEqualTo(String value) { | ||
| 564 | - addCriterion("CONSIGNMENT_CODE <=", value, "consignmentCode"); | ||
| 565 | - return (Criteria) this; | ||
| 566 | - } | ||
| 567 | - | ||
| 568 | - public Criteria andConsignmentCodeLike(String value) { | ||
| 569 | - addCriterion("CONSIGNMENT_CODE like", value, "consignmentCode"); | ||
| 570 | - return (Criteria) this; | ||
| 571 | - } | ||
| 572 | - | ||
| 573 | - public Criteria andConsignmentCodeNotLike(String value) { | ||
| 574 | - addCriterion("CONSIGNMENT_CODE not like", value, "consignmentCode"); | ||
| 575 | - return (Criteria) this; | ||
| 576 | - } | ||
| 577 | - | ||
| 578 | - public Criteria andConsignmentCodeIn(List<String> values) { | ||
| 579 | - addCriterion("CONSIGNMENT_CODE in", values, "consignmentCode"); | ||
| 580 | - return (Criteria) this; | ||
| 581 | - } | ||
| 582 | - | ||
| 583 | - public Criteria andConsignmentCodeNotIn(List<String> values) { | ||
| 584 | - addCriterion("CONSIGNMENT_CODE not in", values, "consignmentCode"); | ||
| 585 | - return (Criteria) this; | ||
| 586 | - } | ||
| 587 | - | ||
| 588 | - public Criteria andConsignmentCodeBetween(String value1, String value2) { | ||
| 589 | - addCriterion("CONSIGNMENT_CODE between", value1, value2, "consignmentCode"); | ||
| 590 | - return (Criteria) this; | ||
| 591 | - } | ||
| 592 | - | ||
| 593 | - public Criteria andConsignmentCodeNotBetween(String value1, String value2) { | ||
| 594 | - addCriterion("CONSIGNMENT_CODE not between", value1, value2, "consignmentCode"); | ||
| 595 | - return (Criteria) this; | ||
| 596 | - } | ||
| 597 | - | ||
| 598 | - public Criteria andFrequencyIsNull() { | ||
| 599 | - addCriterion("FREQUENCY is null"); | ||
| 600 | - return (Criteria) this; | ||
| 601 | - } | ||
| 602 | - | ||
| 603 | - public Criteria andFrequencyIsNotNull() { | ||
| 604 | - addCriterion("FREQUENCY is not null"); | ||
| 605 | - return (Criteria) this; | ||
| 606 | - } | ||
| 607 | - | ||
| 608 | - public Criteria andFrequencyEqualTo(Long value) { | ||
| 609 | - addCriterion("FREQUENCY =", value, "frequency"); | ||
| 610 | - return (Criteria) this; | ||
| 611 | - } | ||
| 612 | - | ||
| 613 | - public Criteria andFrequencyNotEqualTo(Long value) { | ||
| 614 | - addCriterion("FREQUENCY <>", value, "frequency"); | ||
| 615 | - return (Criteria) this; | ||
| 616 | - } | ||
| 617 | - | ||
| 618 | - public Criteria andFrequencyGreaterThan(Long value) { | ||
| 619 | - addCriterion("FREQUENCY >", value, "frequency"); | ||
| 620 | - return (Criteria) this; | ||
| 621 | - } | ||
| 622 | - | ||
| 623 | - public Criteria andFrequencyGreaterThanOrEqualTo(Long value) { | ||
| 624 | - addCriterion("FREQUENCY >=", value, "frequency"); | ||
| 625 | - return (Criteria) this; | ||
| 626 | - } | ||
| 627 | - | ||
| 628 | - public Criteria andFrequencyLessThan(Long value) { | ||
| 629 | - addCriterion("FREQUENCY <", value, "frequency"); | ||
| 630 | - return (Criteria) this; | ||
| 631 | - } | ||
| 632 | - | ||
| 633 | - public Criteria andFrequencyLessThanOrEqualTo(Long value) { | ||
| 634 | - addCriterion("FREQUENCY <=", value, "frequency"); | ||
| 635 | - return (Criteria) this; | ||
| 636 | - } | ||
| 637 | - | ||
| 638 | - public Criteria andFrequencyIn(List<Long> values) { | ||
| 639 | - addCriterion("FREQUENCY in", values, "frequency"); | ||
| 640 | - return (Criteria) this; | ||
| 641 | - } | ||
| 642 | - | ||
| 643 | - public Criteria andFrequencyNotIn(List<Long> values) { | ||
| 644 | - addCriterion("FREQUENCY not in", values, "frequency"); | ||
| 645 | - return (Criteria) this; | ||
| 646 | - } | ||
| 647 | - | ||
| 648 | - public Criteria andFrequencyBetween(Long value1, Long value2) { | ||
| 649 | - addCriterion("FREQUENCY between", value1, value2, "frequency"); | ||
| 650 | - return (Criteria) this; | ||
| 651 | - } | ||
| 652 | - | ||
| 653 | - public Criteria andFrequencyNotBetween(Long value1, Long value2) { | ||
| 654 | - addCriterion("FREQUENCY not between", value1, value2, "frequency"); | ||
| 655 | - return (Criteria) this; | ||
| 656 | - } | ||
| 657 | - | ||
| 658 | - public Criteria andStatusIsNull() { | ||
| 659 | - addCriterion("STATUS is null"); | ||
| 660 | - return (Criteria) this; | ||
| 661 | - } | ||
| 662 | - | ||
| 663 | - public Criteria andStatusIsNotNull() { | ||
| 664 | - addCriterion("STATUS is not null"); | ||
| 665 | - return (Criteria) this; | ||
| 666 | - } | ||
| 667 | - | ||
| 668 | - public Criteria andStatusEqualTo(Long value) { | ||
| 669 | - addCriterion("STATUS =", value, "status"); | ||
| 670 | - return (Criteria) this; | ||
| 671 | - } | ||
| 672 | - | ||
| 673 | - public Criteria andStatusNotEqualTo(Long value) { | ||
| 674 | - addCriterion("STATUS <>", value, "status"); | ||
| 675 | - return (Criteria) this; | ||
| 676 | - } | ||
| 677 | - | ||
| 678 | - public Criteria andStatusGreaterThan(Long value) { | ||
| 679 | - addCriterion("STATUS >", value, "status"); | ||
| 680 | - return (Criteria) this; | ||
| 681 | - } | ||
| 682 | - | ||
| 683 | - public Criteria andStatusGreaterThanOrEqualTo(Long value) { | ||
| 684 | - addCriterion("STATUS >=", value, "status"); | ||
| 685 | - return (Criteria) this; | ||
| 686 | - } | ||
| 687 | - | ||
| 688 | - public Criteria andStatusLessThan(Long value) { | ||
| 689 | - addCriterion("STATUS <", value, "status"); | ||
| 690 | - return (Criteria) this; | ||
| 691 | - } | ||
| 692 | - | ||
| 693 | - public Criteria andStatusLessThanOrEqualTo(Long value) { | ||
| 694 | - addCriterion("STATUS <=", value, "status"); | ||
| 695 | - return (Criteria) this; | ||
| 696 | - } | ||
| 697 | - | ||
| 698 | - public Criteria andStatusIn(List<Long> values) { | ||
| 699 | - addCriterion("STATUS in", values, "status"); | ||
| 700 | - return (Criteria) this; | ||
| 701 | - } | ||
| 702 | - | ||
| 703 | - public Criteria andStatusNotIn(List<Long> values) { | ||
| 704 | - addCriterion("STATUS not in", values, "status"); | ||
| 705 | - return (Criteria) this; | ||
| 706 | - } | ||
| 707 | - | ||
| 708 | - public Criteria andStatusBetween(Long value1, Long value2) { | ||
| 709 | - addCriterion("STATUS between", value1, value2, "status"); | ||
| 710 | - return (Criteria) this; | ||
| 711 | - } | ||
| 712 | - | ||
| 713 | - public Criteria andStatusNotBetween(Long value1, Long value2) { | ||
| 714 | - addCriterion("STATUS not between", value1, value2, "status"); | ||
| 715 | - return (Criteria) this; | ||
| 716 | - } | ||
| 717 | - | ||
| 718 | - public Criteria andRemarkIsNull() { | ||
| 719 | - addCriterion("REMARK is null"); | ||
| 720 | - return (Criteria) this; | ||
| 721 | - } | ||
| 722 | - | ||
| 723 | - public Criteria andRemarkIsNotNull() { | ||
| 724 | - addCriterion("REMARK is not null"); | ||
| 725 | - return (Criteria) this; | ||
| 726 | - } | ||
| 727 | - | ||
| 728 | - public Criteria andRemarkEqualTo(String value) { | ||
| 729 | - addCriterion("REMARK =", value, "remark"); | ||
| 730 | - return (Criteria) this; | ||
| 731 | - } | ||
| 732 | - | ||
| 733 | - public Criteria andRemarkNotEqualTo(String value) { | ||
| 734 | - addCriterion("REMARK <>", value, "remark"); | ||
| 735 | - return (Criteria) this; | ||
| 736 | - } | ||
| 737 | - | ||
| 738 | - public Criteria andRemarkGreaterThan(String value) { | ||
| 739 | - addCriterion("REMARK >", value, "remark"); | ||
| 740 | - return (Criteria) this; | ||
| 741 | - } | ||
| 742 | - | ||
| 743 | - public Criteria andRemarkGreaterThanOrEqualTo(String value) { | ||
| 744 | - addCriterion("REMARK >=", value, "remark"); | ||
| 745 | - return (Criteria) this; | ||
| 746 | - } | ||
| 747 | - | ||
| 748 | - public Criteria andRemarkLessThan(String value) { | ||
| 749 | - addCriterion("REMARK <", value, "remark"); | ||
| 750 | - return (Criteria) this; | ||
| 751 | - } | ||
| 752 | - | ||
| 753 | - public Criteria andRemarkLessThanOrEqualTo(String value) { | ||
| 754 | - addCriterion("REMARK <=", value, "remark"); | ||
| 755 | - return (Criteria) this; | ||
| 756 | - } | ||
| 757 | - | ||
| 758 | - public Criteria andRemarkLike(String value) { | ||
| 759 | - addCriterion("REMARK like", value, "remark"); | ||
| 760 | - return (Criteria) this; | ||
| 761 | - } | ||
| 762 | - | ||
| 763 | - public Criteria andRemarkNotLike(String value) { | ||
| 764 | - addCriterion("REMARK not like", value, "remark"); | ||
| 765 | - return (Criteria) this; | ||
| 766 | - } | ||
| 767 | - | ||
| 768 | - public Criteria andRemarkIn(List<String> values) { | ||
| 769 | - addCriterion("REMARK in", values, "remark"); | ||
| 770 | - return (Criteria) this; | ||
| 771 | - } | ||
| 772 | - | ||
| 773 | - public Criteria andRemarkNotIn(List<String> values) { | ||
| 774 | - addCriterion("REMARK not in", values, "remark"); | ||
| 775 | - return (Criteria) this; | ||
| 776 | - } | ||
| 777 | - | ||
| 778 | - public Criteria andRemarkBetween(String value1, String value2) { | ||
| 779 | - addCriterion("REMARK between", value1, value2, "remark"); | ||
| 780 | - return (Criteria) this; | ||
| 781 | - } | ||
| 782 | - | ||
| 783 | - public Criteria andRemarkNotBetween(String value1, String value2) { | ||
| 784 | - addCriterion("REMARK not between", value1, value2, "remark"); | ||
| 785 | - return (Criteria) this; | ||
| 786 | - } | ||
| 787 | - | ||
| 788 | - public Criteria andCreateTimeIsNull() { | ||
| 789 | - addCriterion("CREATE_TIME is null"); | ||
| 790 | - return (Criteria) this; | ||
| 791 | - } | ||
| 792 | - | ||
| 793 | - public Criteria andCreateTimeIsNotNull() { | ||
| 794 | - addCriterion("CREATE_TIME is not null"); | ||
| 795 | - return (Criteria) this; | ||
| 796 | - } | ||
| 797 | - | ||
| 798 | - public Criteria andCreateTimeEqualTo(Date value) { | ||
| 799 | - addCriterion("CREATE_TIME =", value, "createTime"); | ||
| 800 | - return (Criteria) this; | ||
| 801 | - } | ||
| 802 | - | ||
| 803 | - public Criteria andCreateTimeNotEqualTo(Date value) { | ||
| 804 | - addCriterion("CREATE_TIME <>", value, "createTime"); | ||
| 805 | - return (Criteria) this; | ||
| 806 | - } | ||
| 807 | - | ||
| 808 | - public Criteria andCreateTimeGreaterThan(Date value) { | ||
| 809 | - addCriterion("CREATE_TIME >", value, "createTime"); | ||
| 810 | - return (Criteria) this; | ||
| 811 | - } | ||
| 812 | - | ||
| 813 | - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { | ||
| 814 | - addCriterion("CREATE_TIME >=", value, "createTime"); | ||
| 815 | - return (Criteria) this; | ||
| 816 | - } | ||
| 817 | - | ||
| 818 | - public Criteria andCreateTimeLessThan(Date value) { | ||
| 819 | - addCriterion("CREATE_TIME <", value, "createTime"); | ||
| 820 | - return (Criteria) this; | ||
| 821 | - } | ||
| 822 | - | ||
| 823 | - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { | ||
| 824 | - addCriterion("CREATE_TIME <=", value, "createTime"); | ||
| 825 | - return (Criteria) this; | ||
| 826 | - } | ||
| 827 | - | ||
| 828 | - public Criteria andCreateTimeIn(List<Date> values) { | ||
| 829 | - addCriterion("CREATE_TIME in", values, "createTime"); | ||
| 830 | - return (Criteria) this; | ||
| 831 | - } | ||
| 832 | - | ||
| 833 | - public Criteria andCreateTimeNotIn(List<Date> values) { | ||
| 834 | - addCriterion("CREATE_TIME not in", values, "createTime"); | ||
| 835 | - return (Criteria) this; | ||
| 836 | - } | ||
| 837 | - | ||
| 838 | - public Criteria andCreateTimeBetween(Date value1, Date value2) { | ||
| 839 | - addCriterion("CREATE_TIME between", value1, value2, "createTime"); | ||
| 840 | - return (Criteria) this; | ||
| 841 | - } | ||
| 842 | - | ||
| 843 | - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { | ||
| 844 | - addCriterion("CREATE_TIME not between", value1, value2, "createTime"); | ||
| 845 | - return (Criteria) this; | ||
| 846 | - } | ||
| 847 | - } | ||
| 848 | - | ||
| 849 | - public static class Criteria extends GeneratedCriteria { | ||
| 850 | - | ||
| 851 | - protected Criteria() { | ||
| 852 | - super(); | ||
| 853 | - } | ||
| 854 | - } | ||
| 855 | - | ||
| 856 | - public static class Criterion { | ||
| 857 | - private String condition; | ||
| 858 | - | ||
| 859 | - private Object value; | ||
| 860 | - | ||
| 861 | - private Object secondValue; | ||
| 862 | - | ||
| 863 | - private boolean noValue; | ||
| 864 | - | ||
| 865 | - private boolean singleValue; | ||
| 866 | - | ||
| 867 | - private boolean betweenValue; | ||
| 868 | - | ||
| 869 | - private boolean listValue; | ||
| 870 | - | ||
| 871 | - private String typeHandler; | ||
| 872 | - | ||
| 873 | - public String getCondition() { | ||
| 874 | - return condition; | ||
| 875 | - } | ||
| 876 | - | ||
| 877 | - public Object getValue() { | ||
| 878 | - return value; | ||
| 879 | - } | ||
| 880 | - | ||
| 881 | - public Object getSecondValue() { | ||
| 882 | - return secondValue; | ||
| 883 | - } | ||
| 884 | - | ||
| 885 | - public boolean isNoValue() { | ||
| 886 | - return noValue; | ||
| 887 | - } | ||
| 888 | - | ||
| 889 | - public boolean isSingleValue() { | ||
| 890 | - return singleValue; | ||
| 891 | - } | ||
| 892 | - | ||
| 893 | - public boolean isBetweenValue() { | ||
| 894 | - return betweenValue; | ||
| 895 | - } | ||
| 896 | - | ||
| 897 | - public boolean isListValue() { | ||
| 898 | - return listValue; | ||
| 899 | - } | ||
| 900 | - | ||
| 901 | - public String getTypeHandler() { | ||
| 902 | - return typeHandler; | ||
| 903 | - } | ||
| 904 | - | ||
| 905 | - protected Criterion(String condition) { | ||
| 906 | - super(); | ||
| 907 | - this.condition = condition; | ||
| 908 | - this.typeHandler = null; | ||
| 909 | - this.noValue = true; | ||
| 910 | - } | ||
| 911 | - | ||
| 912 | - protected Criterion(String condition, Object value, String typeHandler) { | ||
| 913 | - super(); | ||
| 914 | - this.condition = condition; | ||
| 915 | - this.value = value; | ||
| 916 | - this.typeHandler = typeHandler; | ||
| 917 | - if (value instanceof List<?>) { | ||
| 918 | - this.listValue = true; | ||
| 919 | - } else { | ||
| 920 | - this.singleValue = true; | ||
| 921 | - } | ||
| 922 | - } | ||
| 923 | - | ||
| 924 | - protected Criterion(String condition, Object value) { | ||
| 925 | - this(condition, value, null); | ||
| 926 | - } | ||
| 927 | - | ||
| 928 | - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { | ||
| 929 | - super(); | ||
| 930 | - this.condition = condition; | ||
| 931 | - this.value = value; | ||
| 932 | - this.secondValue = secondValue; | ||
| 933 | - this.typeHandler = typeHandler; | ||
| 934 | - this.betweenValue = true; | ||
| 935 | - } | ||
| 936 | - | ||
| 937 | - protected Criterion(String condition, Object value, Object secondValue) { | ||
| 938 | - this(condition, value, secondValue, null); | ||
| 939 | - } | ||
| 940 | - } | ||
| 941 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -package com.fedex.connect.common.model.sys; | ||
| 2 | - | ||
| 3 | -import java.io.Serializable; | ||
| 4 | -import java.util.Date; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * DESC: kafka数据临时表 | ||
| 8 | - * TABLE: T_KAFKA_TEMPORARY_STORAGE | ||
| 9 | - */ | ||
| 10 | -public class KafkaTemporaryStorage implements Serializable { | ||
| 11 | - /** | ||
| 12 | - * ID,自动增加 | ||
| 13 | - */ | ||
| 14 | - private Long id; | ||
| 15 | - | ||
| 16 | - /** | ||
| 17 | - * 由发送方定义的序列号,唯一 UUID JSON自动生成 | ||
| 18 | - */ | ||
| 19 | - private String messageId; | ||
| 20 | - | ||
| 21 | - /** | ||
| 22 | - * 消息代码/类型 | ||
| 23 | - */ | ||
| 24 | - private String messageCode; | ||
| 25 | - | ||
| 26 | - /** | ||
| 27 | - * 发送程序ID | ||
| 28 | - */ | ||
| 29 | - private String senderId; | ||
| 30 | - | ||
| 31 | - /** | ||
| 32 | - * 接受程序ID | ||
| 33 | - */ | ||
| 34 | - private String receiverId; | ||
| 35 | - | ||
| 36 | - /** | ||
| 37 | - * DM发送时间 | ||
| 38 | - */ | ||
| 39 | - private Date sendTime; | ||
| 40 | - | ||
| 41 | - /** | ||
| 42 | - * 运单号 | ||
| 43 | - */ | ||
| 44 | - private String consignmentCode; | ||
| 45 | - | ||
| 46 | - /** | ||
| 47 | - * 记录处理次数 | ||
| 48 | - */ | ||
| 49 | - private Long frequency; | ||
| 50 | - | ||
| 51 | - /** | ||
| 52 | - * 数据状态(0:待处理,1:已处理,2:处理失败) | ||
| 53 | - */ | ||
| 54 | - private Long status; | ||
| 55 | - | ||
| 56 | - /** | ||
| 57 | - * 备注,记录错误信息 | ||
| 58 | - */ | ||
| 59 | - private String remark; | ||
| 60 | - | ||
| 61 | - /** | ||
| 62 | - * 系统入库创建时间 | ||
| 63 | - */ | ||
| 64 | - private Date createTime; | ||
| 65 | - | ||
| 66 | - /** | ||
| 67 | - * 消息体(Json字符串) | ||
| 68 | - */ | ||
| 69 | - private String data; | ||
| 70 | - | ||
| 71 | - private static final long serialVersionUID = 1L; | ||
| 72 | - | ||
| 73 | - public Long getId() { | ||
| 74 | - return id; | ||
| 75 | - } | ||
| 76 | - | ||
| 77 | - public void setId(Long id) { | ||
| 78 | - this.id = id; | ||
| 79 | - } | ||
| 80 | - | ||
| 81 | - public String getMessageId() { | ||
| 82 | - return messageId; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - public void setMessageId(String messageId) { | ||
| 86 | - this.messageId = messageId == null ? null : messageId.trim(); | ||
| 87 | - } | ||
| 88 | - | ||
| 89 | - public String getMessageCode() { | ||
| 90 | - return messageCode; | ||
| 91 | - } | ||
| 92 | - | ||
| 93 | - public void setMessageCode(String messageCode) { | ||
| 94 | - this.messageCode = messageCode == null ? null : messageCode.trim(); | ||
| 95 | - } | ||
| 96 | - | ||
| 97 | - public String getSenderId() { | ||
| 98 | - return senderId; | ||
| 99 | - } | ||
| 100 | - | ||
| 101 | - public void setSenderId(String senderId) { | ||
| 102 | - this.senderId = senderId == null ? null : senderId.trim(); | ||
| 103 | - } | ||
| 104 | - | ||
| 105 | - public String getReceiverId() { | ||
| 106 | - return receiverId; | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - public void setReceiverId(String receiverId) { | ||
| 110 | - this.receiverId = receiverId == null ? null : receiverId.trim(); | ||
| 111 | - } | ||
| 112 | - | ||
| 113 | - public Date getSendTime() { | ||
| 114 | - return sendTime; | ||
| 115 | - } | ||
| 116 | - | ||
| 117 | - public void setSendTime(Date sendTime) { | ||
| 118 | - this.sendTime = sendTime; | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - public String getConsignmentCode() { | ||
| 122 | - return consignmentCode; | ||
| 123 | - } | ||
| 124 | - | ||
| 125 | - public void setConsignmentCode(String consignmentCode) { | ||
| 126 | - this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim(); | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - public Long getFrequency() { | ||
| 130 | - return frequency; | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public void setFrequency(Long frequency) { | ||
| 134 | - this.frequency = frequency; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public Long getStatus() { | ||
| 138 | - return status; | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - public void setStatus(Long status) { | ||
| 142 | - this.status = status; | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - public String getRemark() { | ||
| 146 | - return remark; | ||
| 147 | - } | ||
| 148 | - | ||
| 149 | - public void setRemark(String remark) { | ||
| 150 | - this.remark = remark == null ? null : remark.trim(); | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public Date getCreateTime() { | ||
| 154 | - return createTime; | ||
| 155 | - } | ||
| 156 | - | ||
| 157 | - public void setCreateTime(Date createTime) { | ||
| 158 | - this.createTime = createTime; | ||
| 159 | - } | ||
| 160 | - | ||
| 161 | - public String getData() { | ||
| 162 | - return data; | ||
| 163 | - } | ||
| 164 | - | ||
| 165 | - public void setData(String data) { | ||
| 166 | - this.data = data == null ? null : data.trim(); | ||
| 167 | - } | ||
| 168 | - | ||
| 169 | - @Override | ||
| 170 | - public String toString() { | ||
| 171 | - StringBuilder sb = new StringBuilder(); | ||
| 172 | - sb.append(getClass().getSimpleName()); | ||
| 173 | - sb.append(" ["); | ||
| 174 | - sb.append("Hash = ").append(hashCode()); | ||
| 175 | - sb.append(", id=").append(id); | ||
| 176 | - sb.append(", messageId=").append(messageId); | ||
| 177 | - sb.append(", messageCode=").append(messageCode); | ||
| 178 | - sb.append(", senderId=").append(senderId); | ||
| 179 | - sb.append(", receiverId=").append(receiverId); | ||
| 180 | - sb.append(", sendTime=").append(sendTime); | ||
| 181 | - sb.append(", consignmentCode=").append(consignmentCode); | ||
| 182 | - sb.append(", frequency=").append(frequency); | ||
| 183 | - sb.append(", status=").append(status); | ||
| 184 | - sb.append(", remark=").append(remark); | ||
| 185 | - sb.append(", createTime=").append(createTime); | ||
| 186 | - sb.append(", data=").append(data); | ||
| 187 | - sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 188 | - sb.append("]"); | ||
| 189 | - return sb.toString(); | ||
| 190 | - } | ||
| 191 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | -package com.fedex.connect.common.model.sys; | ||
| 2 | - | ||
| 3 | -import java.util.ArrayList; | ||
| 4 | -import java.util.Date; | ||
| 5 | -import java.util.List; | ||
| 6 | - | ||
| 7 | -public class KafkaTemporaryStorageExample { | ||
| 8 | - protected String orderByClause; | ||
| 9 | - | ||
| 10 | - protected boolean distinct; | ||
| 11 | - | ||
| 12 | - protected List<Criteria> oredCriteria; | ||
| 13 | - | ||
| 14 | - protected Integer limitStart; | ||
| 15 | - | ||
| 16 | - protected Integer limitSize; | ||
| 17 | - | ||
| 18 | - public KafkaTemporaryStorageExample() { | ||
| 19 | - oredCriteria = new ArrayList<Criteria>(); | ||
| 20 | - } | ||
| 21 | - | ||
| 22 | - public void setOrderByClause(String orderByClause) { | ||
| 23 | - this.orderByClause = orderByClause; | ||
| 24 | - } | ||
| 25 | - | ||
| 26 | - public String getOrderByClause() { | ||
| 27 | - return orderByClause; | ||
| 28 | - } | ||
| 29 | - | ||
| 30 | - public void setDistinct(boolean distinct) { | ||
| 31 | - this.distinct = distinct; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - public boolean isDistinct() { | ||
| 35 | - return distinct; | ||
| 36 | - } | ||
| 37 | - | ||
| 38 | - public List<Criteria> getOredCriteria() { | ||
| 39 | - return oredCriteria; | ||
| 40 | - } | ||
| 41 | - | ||
| 42 | - public void or(Criteria criteria) { | ||
| 43 | - oredCriteria.add(criteria); | ||
| 44 | - } | ||
| 45 | - | ||
| 46 | - public Criteria or() { | ||
| 47 | - Criteria criteria = createCriteriaInternal(); | ||
| 48 | - oredCriteria.add(criteria); | ||
| 49 | - return criteria; | ||
| 50 | - } | ||
| 51 | - | ||
| 52 | - public Criteria createCriteria() { | ||
| 53 | - Criteria criteria = createCriteriaInternal(); | ||
| 54 | - if (oredCriteria.size() == 0) { | ||
| 55 | - oredCriteria.add(criteria); | ||
| 56 | - } | ||
| 57 | - return criteria; | ||
| 58 | - } | ||
| 59 | - | ||
| 60 | - protected Criteria createCriteriaInternal() { | ||
| 61 | - Criteria criteria = new Criteria(); | ||
| 62 | - return criteria; | ||
| 63 | - } | ||
| 64 | - | ||
| 65 | - public void clear() { | ||
| 66 | - oredCriteria.clear(); | ||
| 67 | - orderByClause = null; | ||
| 68 | - distinct = false; | ||
| 69 | - } | ||
| 70 | - | ||
| 71 | - public void setLimitStart(Integer limitStart) { | ||
| 72 | - this.limitStart=limitStart; | ||
| 73 | - } | ||
| 74 | - | ||
| 75 | - public Integer getLimitStart() { | ||
| 76 | - return limitStart; | ||
| 77 | - } | ||
| 78 | - | ||
| 79 | - public void setLimitSize(Integer limitSize) { | ||
| 80 | - this.limitSize=limitSize; | ||
| 81 | - } | ||
| 82 | - | ||
| 83 | - public Integer getLimitSize() { | ||
| 84 | - return limitSize; | ||
| 85 | - } | ||
| 86 | - | ||
| 87 | - protected abstract static class GeneratedCriteria { | ||
| 88 | - protected List<Criterion> criteria; | ||
| 89 | - | ||
| 90 | - protected GeneratedCriteria() { | ||
| 91 | - super(); | ||
| 92 | - criteria = new ArrayList<Criterion>(); | ||
| 93 | - } | ||
| 94 | - | ||
| 95 | - public boolean isValid() { | ||
| 96 | - return criteria.size() > 0; | ||
| 97 | - } | ||
| 98 | - | ||
| 99 | - public List<Criterion> getAllCriteria() { | ||
| 100 | - return criteria; | ||
| 101 | - } | ||
| 102 | - | ||
| 103 | - public List<Criterion> getCriteria() { | ||
| 104 | - return criteria; | ||
| 105 | - } | ||
| 106 | - | ||
| 107 | - protected void addCriterion(String condition) { | ||
| 108 | - if (condition == null) { | ||
| 109 | - throw new RuntimeException("Value for condition cannot be null"); | ||
| 110 | - } | ||
| 111 | - criteria.add(new Criterion(condition)); | ||
| 112 | - } | ||
| 113 | - | ||
| 114 | - protected void addCriterion(String condition, Object value, String property) { | ||
| 115 | - if (value == null) { | ||
| 116 | - throw new RuntimeException("Value for " + property + " cannot be null"); | ||
| 117 | - } | ||
| 118 | - criteria.add(new Criterion(condition, value)); | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - protected void addCriterion(String condition, Object value1, Object value2, String property) { | ||
| 122 | - if (value1 == null || value2 == null) { | ||
| 123 | - throw new RuntimeException("Between values for " + property + " cannot be null"); | ||
| 124 | - } | ||
| 125 | - criteria.add(new Criterion(condition, value1, value2)); | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - public Criteria andIdIsNull() { | ||
| 129 | - addCriterion("ID is null"); | ||
| 130 | - return (Criteria) this; | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public Criteria andIdIsNotNull() { | ||
| 134 | - addCriterion("ID is not null"); | ||
| 135 | - return (Criteria) this; | ||
| 136 | - } | ||
| 137 | - | ||
| 138 | - public Criteria andIdEqualTo(Long value) { | ||
| 139 | - addCriterion("ID =", value, "id"); | ||
| 140 | - return (Criteria) this; | ||
| 141 | - } | ||
| 142 | - | ||
| 143 | - public Criteria andIdNotEqualTo(Long value) { | ||
| 144 | - addCriterion("ID <>", value, "id"); | ||
| 145 | - return (Criteria) this; | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - public Criteria andIdGreaterThan(Long value) { | ||
| 149 | - addCriterion("ID >", value, "id"); | ||
| 150 | - return (Criteria) this; | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public Criteria andIdGreaterThanOrEqualTo(Long value) { | ||
| 154 | - addCriterion("ID >=", value, "id"); | ||
| 155 | - return (Criteria) this; | ||
| 156 | - } | ||
| 157 | - | ||
| 158 | - public Criteria andIdLessThan(Long value) { | ||
| 159 | - addCriterion("ID <", value, "id"); | ||
| 160 | - return (Criteria) this; | ||
| 161 | - } | ||
| 162 | - | ||
| 163 | - public Criteria andIdLessThanOrEqualTo(Long value) { | ||
| 164 | - addCriterion("ID <=", value, "id"); | ||
| 165 | - return (Criteria) this; | ||
| 166 | - } | ||
| 167 | - | ||
| 168 | - public Criteria andIdIn(List<Long> values) { | ||
| 169 | - addCriterion("ID in", values, "id"); | ||
| 170 | - return (Criteria) this; | ||
| 171 | - } | ||
| 172 | - | ||
| 173 | - public Criteria andIdNotIn(List<Long> values) { | ||
| 174 | - addCriterion("ID not in", values, "id"); | ||
| 175 | - return (Criteria) this; | ||
| 176 | - } | ||
| 177 | - | ||
| 178 | - public Criteria andIdBetween(Long value1, Long value2) { | ||
| 179 | - addCriterion("ID between", value1, value2, "id"); | ||
| 180 | - return (Criteria) this; | ||
| 181 | - } | ||
| 182 | - | ||
| 183 | - public Criteria andIdNotBetween(Long value1, Long value2) { | ||
| 184 | - addCriterion("ID not between", value1, value2, "id"); | ||
| 185 | - return (Criteria) this; | ||
| 186 | - } | ||
| 187 | - | ||
| 188 | - public Criteria andMessageIdIsNull() { | ||
| 189 | - addCriterion("MESSAGE_ID is null"); | ||
| 190 | - return (Criteria) this; | ||
| 191 | - } | ||
| 192 | - | ||
| 193 | - public Criteria andMessageIdIsNotNull() { | ||
| 194 | - addCriterion("MESSAGE_ID is not null"); | ||
| 195 | - return (Criteria) this; | ||
| 196 | - } | ||
| 197 | - | ||
| 198 | - public Criteria andMessageIdEqualTo(String value) { | ||
| 199 | - addCriterion("MESSAGE_ID =", value, "messageId"); | ||
| 200 | - return (Criteria) this; | ||
| 201 | - } | ||
| 202 | - | ||
| 203 | - public Criteria andMessageIdNotEqualTo(String value) { | ||
| 204 | - addCriterion("MESSAGE_ID <>", value, "messageId"); | ||
| 205 | - return (Criteria) this; | ||
| 206 | - } | ||
| 207 | - | ||
| 208 | - public Criteria andMessageIdGreaterThan(String value) { | ||
| 209 | - addCriterion("MESSAGE_ID >", value, "messageId"); | ||
| 210 | - return (Criteria) this; | ||
| 211 | - } | ||
| 212 | - | ||
| 213 | - public Criteria andMessageIdGreaterThanOrEqualTo(String value) { | ||
| 214 | - addCriterion("MESSAGE_ID >=", value, "messageId"); | ||
| 215 | - return (Criteria) this; | ||
| 216 | - } | ||
| 217 | - | ||
| 218 | - public Criteria andMessageIdLessThan(String value) { | ||
| 219 | - addCriterion("MESSAGE_ID <", value, "messageId"); | ||
| 220 | - return (Criteria) this; | ||
| 221 | - } | ||
| 222 | - | ||
| 223 | - public Criteria andMessageIdLessThanOrEqualTo(String value) { | ||
| 224 | - addCriterion("MESSAGE_ID <=", value, "messageId"); | ||
| 225 | - return (Criteria) this; | ||
| 226 | - } | ||
| 227 | - | ||
| 228 | - public Criteria andMessageIdLike(String value) { | ||
| 229 | - addCriterion("MESSAGE_ID like", value, "messageId"); | ||
| 230 | - return (Criteria) this; | ||
| 231 | - } | ||
| 232 | - | ||
| 233 | - public Criteria andMessageIdNotLike(String value) { | ||
| 234 | - addCriterion("MESSAGE_ID not like", value, "messageId"); | ||
| 235 | - return (Criteria) this; | ||
| 236 | - } | ||
| 237 | - | ||
| 238 | - public Criteria andMessageIdIn(List<String> values) { | ||
| 239 | - addCriterion("MESSAGE_ID in", values, "messageId"); | ||
| 240 | - return (Criteria) this; | ||
| 241 | - } | ||
| 242 | - | ||
| 243 | - public Criteria andMessageIdNotIn(List<String> values) { | ||
| 244 | - addCriterion("MESSAGE_ID not in", values, "messageId"); | ||
| 245 | - return (Criteria) this; | ||
| 246 | - } | ||
| 247 | - | ||
| 248 | - public Criteria andMessageIdBetween(String value1, String value2) { | ||
| 249 | - addCriterion("MESSAGE_ID between", value1, value2, "messageId"); | ||
| 250 | - return (Criteria) this; | ||
| 251 | - } | ||
| 252 | - | ||
| 253 | - public Criteria andMessageIdNotBetween(String value1, String value2) { | ||
| 254 | - addCriterion("MESSAGE_ID not between", value1, value2, "messageId"); | ||
| 255 | - return (Criteria) this; | ||
| 256 | - } | ||
| 257 | - | ||
| 258 | - public Criteria andMessageCodeIsNull() { | ||
| 259 | - addCriterion("MESSAGE_CODE is null"); | ||
| 260 | - return (Criteria) this; | ||
| 261 | - } | ||
| 262 | - | ||
| 263 | - public Criteria andMessageCodeIsNotNull() { | ||
| 264 | - addCriterion("MESSAGE_CODE is not null"); | ||
| 265 | - return (Criteria) this; | ||
| 266 | - } | ||
| 267 | - | ||
| 268 | - public Criteria andMessageCodeEqualTo(String value) { | ||
| 269 | - addCriterion("MESSAGE_CODE =", value, "messageCode"); | ||
| 270 | - return (Criteria) this; | ||
| 271 | - } | ||
| 272 | - | ||
| 273 | - public Criteria andMessageCodeNotEqualTo(String value) { | ||
| 274 | - addCriterion("MESSAGE_CODE <>", value, "messageCode"); | ||
| 275 | - return (Criteria) this; | ||
| 276 | - } | ||
| 277 | - | ||
| 278 | - public Criteria andMessageCodeGreaterThan(String value) { | ||
| 279 | - addCriterion("MESSAGE_CODE >", value, "messageCode"); | ||
| 280 | - return (Criteria) this; | ||
| 281 | - } | ||
| 282 | - | ||
| 283 | - public Criteria andMessageCodeGreaterThanOrEqualTo(String value) { | ||
| 284 | - addCriterion("MESSAGE_CODE >=", value, "messageCode"); | ||
| 285 | - return (Criteria) this; | ||
| 286 | - } | ||
| 287 | - | ||
| 288 | - public Criteria andMessageCodeLessThan(String value) { | ||
| 289 | - addCriterion("MESSAGE_CODE <", value, "messageCode"); | ||
| 290 | - return (Criteria) this; | ||
| 291 | - } | ||
| 292 | - | ||
| 293 | - public Criteria andMessageCodeLessThanOrEqualTo(String value) { | ||
| 294 | - addCriterion("MESSAGE_CODE <=", value, "messageCode"); | ||
| 295 | - return (Criteria) this; | ||
| 296 | - } | ||
| 297 | - | ||
| 298 | - public Criteria andMessageCodeLike(String value) { | ||
| 299 | - addCriterion("MESSAGE_CODE like", value, "messageCode"); | ||
| 300 | - return (Criteria) this; | ||
| 301 | - } | ||
| 302 | - | ||
| 303 | - public Criteria andMessageCodeNotLike(String value) { | ||
| 304 | - addCriterion("MESSAGE_CODE not like", value, "messageCode"); | ||
| 305 | - return (Criteria) this; | ||
| 306 | - } | ||
| 307 | - | ||
| 308 | - public Criteria andMessageCodeIn(List<String> values) { | ||
| 309 | - addCriterion("MESSAGE_CODE in", values, "messageCode"); | ||
| 310 | - return (Criteria) this; | ||
| 311 | - } | ||
| 312 | - | ||
| 313 | - public Criteria andMessageCodeNotIn(List<String> values) { | ||
| 314 | - addCriterion("MESSAGE_CODE not in", values, "messageCode"); | ||
| 315 | - return (Criteria) this; | ||
| 316 | - } | ||
| 317 | - | ||
| 318 | - public Criteria andMessageCodeBetween(String value1, String value2) { | ||
| 319 | - addCriterion("MESSAGE_CODE between", value1, value2, "messageCode"); | ||
| 320 | - return (Criteria) this; | ||
| 321 | - } | ||
| 322 | - | ||
| 323 | - public Criteria andMessageCodeNotBetween(String value1, String value2) { | ||
| 324 | - addCriterion("MESSAGE_CODE not between", value1, value2, "messageCode"); | ||
| 325 | - return (Criteria) this; | ||
| 326 | - } | ||
| 327 | - | ||
| 328 | - public Criteria andSenderIdIsNull() { | ||
| 329 | - addCriterion("SENDER_ID is null"); | ||
| 330 | - return (Criteria) this; | ||
| 331 | - } | ||
| 332 | - | ||
| 333 | - public Criteria andSenderIdIsNotNull() { | ||
| 334 | - addCriterion("SENDER_ID is not null"); | ||
| 335 | - return (Criteria) this; | ||
| 336 | - } | ||
| 337 | - | ||
| 338 | - public Criteria andSenderIdEqualTo(String value) { | ||
| 339 | - addCriterion("SENDER_ID =", value, "senderId"); | ||
| 340 | - return (Criteria) this; | ||
| 341 | - } | ||
| 342 | - | ||
| 343 | - public Criteria andSenderIdNotEqualTo(String value) { | ||
| 344 | - addCriterion("SENDER_ID <>", value, "senderId"); | ||
| 345 | - return (Criteria) this; | ||
| 346 | - } | ||
| 347 | - | ||
| 348 | - public Criteria andSenderIdGreaterThan(String value) { | ||
| 349 | - addCriterion("SENDER_ID >", value, "senderId"); | ||
| 350 | - return (Criteria) this; | ||
| 351 | - } | ||
| 352 | - | ||
| 353 | - public Criteria andSenderIdGreaterThanOrEqualTo(String value) { | ||
| 354 | - addCriterion("SENDER_ID >=", value, "senderId"); | ||
| 355 | - return (Criteria) this; | ||
| 356 | - } | ||
| 357 | - | ||
| 358 | - public Criteria andSenderIdLessThan(String value) { | ||
| 359 | - addCriterion("SENDER_ID <", value, "senderId"); | ||
| 360 | - return (Criteria) this; | ||
| 361 | - } | ||
| 362 | - | ||
| 363 | - public Criteria andSenderIdLessThanOrEqualTo(String value) { | ||
| 364 | - addCriterion("SENDER_ID <=", value, "senderId"); | ||
| 365 | - return (Criteria) this; | ||
| 366 | - } | ||
| 367 | - | ||
| 368 | - public Criteria andSenderIdLike(String value) { | ||
| 369 | - addCriterion("SENDER_ID like", value, "senderId"); | ||
| 370 | - return (Criteria) this; | ||
| 371 | - } | ||
| 372 | - | ||
| 373 | - public Criteria andSenderIdNotLike(String value) { | ||
| 374 | - addCriterion("SENDER_ID not like", value, "senderId"); | ||
| 375 | - return (Criteria) this; | ||
| 376 | - } | ||
| 377 | - | ||
| 378 | - public Criteria andSenderIdIn(List<String> values) { | ||
| 379 | - addCriterion("SENDER_ID in", values, "senderId"); | ||
| 380 | - return (Criteria) this; | ||
| 381 | - } | ||
| 382 | - | ||
| 383 | - public Criteria andSenderIdNotIn(List<String> values) { | ||
| 384 | - addCriterion("SENDER_ID not in", values, "senderId"); | ||
| 385 | - return (Criteria) this; | ||
| 386 | - } | ||
| 387 | - | ||
| 388 | - public Criteria andSenderIdBetween(String value1, String value2) { | ||
| 389 | - addCriterion("SENDER_ID between", value1, value2, "senderId"); | ||
| 390 | - return (Criteria) this; | ||
| 391 | - } | ||
| 392 | - | ||
| 393 | - public Criteria andSenderIdNotBetween(String value1, String value2) { | ||
| 394 | - addCriterion("SENDER_ID not between", value1, value2, "senderId"); | ||
| 395 | - return (Criteria) this; | ||
| 396 | - } | ||
| 397 | - | ||
| 398 | - public Criteria andReceiverIdIsNull() { | ||
| 399 | - addCriterion("RECEIVER_ID is null"); | ||
| 400 | - return (Criteria) this; | ||
| 401 | - } | ||
| 402 | - | ||
| 403 | - public Criteria andReceiverIdIsNotNull() { | ||
| 404 | - addCriterion("RECEIVER_ID is not null"); | ||
| 405 | - return (Criteria) this; | ||
| 406 | - } | ||
| 407 | - | ||
| 408 | - public Criteria andReceiverIdEqualTo(String value) { | ||
| 409 | - addCriterion("RECEIVER_ID =", value, "receiverId"); | ||
| 410 | - return (Criteria) this; | ||
| 411 | - } | ||
| 412 | - | ||
| 413 | - public Criteria andReceiverIdNotEqualTo(String value) { | ||
| 414 | - addCriterion("RECEIVER_ID <>", value, "receiverId"); | ||
| 415 | - return (Criteria) this; | ||
| 416 | - } | ||
| 417 | - | ||
| 418 | - public Criteria andReceiverIdGreaterThan(String value) { | ||
| 419 | - addCriterion("RECEIVER_ID >", value, "receiverId"); | ||
| 420 | - return (Criteria) this; | ||
| 421 | - } | ||
| 422 | - | ||
| 423 | - public Criteria andReceiverIdGreaterThanOrEqualTo(String value) { | ||
| 424 | - addCriterion("RECEIVER_ID >=", value, "receiverId"); | ||
| 425 | - return (Criteria) this; | ||
| 426 | - } | ||
| 427 | - | ||
| 428 | - public Criteria andReceiverIdLessThan(String value) { | ||
| 429 | - addCriterion("RECEIVER_ID <", value, "receiverId"); | ||
| 430 | - return (Criteria) this; | ||
| 431 | - } | ||
| 432 | - | ||
| 433 | - public Criteria andReceiverIdLessThanOrEqualTo(String value) { | ||
| 434 | - addCriterion("RECEIVER_ID <=", value, "receiverId"); | ||
| 435 | - return (Criteria) this; | ||
| 436 | - } | ||
| 437 | - | ||
| 438 | - public Criteria andReceiverIdLike(String value) { | ||
| 439 | - addCriterion("RECEIVER_ID like", value, "receiverId"); | ||
| 440 | - return (Criteria) this; | ||
| 441 | - } | ||
| 442 | - | ||
| 443 | - public Criteria andReceiverIdNotLike(String value) { | ||
| 444 | - addCriterion("RECEIVER_ID not like", value, "receiverId"); | ||
| 445 | - return (Criteria) this; | ||
| 446 | - } | ||
| 447 | - | ||
| 448 | - public Criteria andReceiverIdIn(List<String> values) { | ||
| 449 | - addCriterion("RECEIVER_ID in", values, "receiverId"); | ||
| 450 | - return (Criteria) this; | ||
| 451 | - } | ||
| 452 | - | ||
| 453 | - public Criteria andReceiverIdNotIn(List<String> values) { | ||
| 454 | - addCriterion("RECEIVER_ID not in", values, "receiverId"); | ||
| 455 | - return (Criteria) this; | ||
| 456 | - } | ||
| 457 | - | ||
| 458 | - public Criteria andReceiverIdBetween(String value1, String value2) { | ||
| 459 | - addCriterion("RECEIVER_ID between", value1, value2, "receiverId"); | ||
| 460 | - return (Criteria) this; | ||
| 461 | - } | ||
| 462 | - | ||
| 463 | - public Criteria andReceiverIdNotBetween(String value1, String value2) { | ||
| 464 | - addCriterion("RECEIVER_ID not between", value1, value2, "receiverId"); | ||
| 465 | - return (Criteria) this; | ||
| 466 | - } | ||
| 467 | - | ||
| 468 | - public Criteria andSendTimeIsNull() { | ||
| 469 | - addCriterion("SEND_TIME is null"); | ||
| 470 | - return (Criteria) this; | ||
| 471 | - } | ||
| 472 | - | ||
| 473 | - public Criteria andSendTimeIsNotNull() { | ||
| 474 | - addCriterion("SEND_TIME is not null"); | ||
| 475 | - return (Criteria) this; | ||
| 476 | - } | ||
| 477 | - | ||
| 478 | - public Criteria andSendTimeEqualTo(Date value) { | ||
| 479 | - addCriterion("SEND_TIME =", value, "sendTime"); | ||
| 480 | - return (Criteria) this; | ||
| 481 | - } | ||
| 482 | - | ||
| 483 | - public Criteria andSendTimeNotEqualTo(Date value) { | ||
| 484 | - addCriterion("SEND_TIME <>", value, "sendTime"); | ||
| 485 | - return (Criteria) this; | ||
| 486 | - } | ||
| 487 | - | ||
| 488 | - public Criteria andSendTimeGreaterThan(Date value) { | ||
| 489 | - addCriterion("SEND_TIME >", value, "sendTime"); | ||
| 490 | - return (Criteria) this; | ||
| 491 | - } | ||
| 492 | - | ||
| 493 | - public Criteria andSendTimeGreaterThanOrEqualTo(Date value) { | ||
| 494 | - addCriterion("SEND_TIME >=", value, "sendTime"); | ||
| 495 | - return (Criteria) this; | ||
| 496 | - } | ||
| 497 | - | ||
| 498 | - public Criteria andSendTimeLessThan(Date value) { | ||
| 499 | - addCriterion("SEND_TIME <", value, "sendTime"); | ||
| 500 | - return (Criteria) this; | ||
| 501 | - } | ||
| 502 | - | ||
| 503 | - public Criteria andSendTimeLessThanOrEqualTo(Date value) { | ||
| 504 | - addCriterion("SEND_TIME <=", value, "sendTime"); | ||
| 505 | - return (Criteria) this; | ||
| 506 | - } | ||
| 507 | - | ||
| 508 | - public Criteria andSendTimeIn(List<Date> values) { | ||
| 509 | - addCriterion("SEND_TIME in", values, "sendTime"); | ||
| 510 | - return (Criteria) this; | ||
| 511 | - } | ||
| 512 | - | ||
| 513 | - public Criteria andSendTimeNotIn(List<Date> values) { | ||
| 514 | - addCriterion("SEND_TIME not in", values, "sendTime"); | ||
| 515 | - return (Criteria) this; | ||
| 516 | - } | ||
| 517 | - | ||
| 518 | - public Criteria andSendTimeBetween(Date value1, Date value2) { | ||
| 519 | - addCriterion("SEND_TIME between", value1, value2, "sendTime"); | ||
| 520 | - return (Criteria) this; | ||
| 521 | - } | ||
| 522 | - | ||
| 523 | - public Criteria andSendTimeNotBetween(Date value1, Date value2) { | ||
| 524 | - addCriterion("SEND_TIME not between", value1, value2, "sendTime"); | ||
| 525 | - return (Criteria) this; | ||
| 526 | - } | ||
| 527 | - | ||
| 528 | - public Criteria andConsignmentCodeIsNull() { | ||
| 529 | - addCriterion("CONSIGNMENT_CODE is null"); | ||
| 530 | - return (Criteria) this; | ||
| 531 | - } | ||
| 532 | - | ||
| 533 | - public Criteria andConsignmentCodeIsNotNull() { | ||
| 534 | - addCriterion("CONSIGNMENT_CODE is not null"); | ||
| 535 | - return (Criteria) this; | ||
| 536 | - } | ||
| 537 | - | ||
| 538 | - public Criteria andConsignmentCodeEqualTo(String value) { | ||
| 539 | - addCriterion("CONSIGNMENT_CODE =", value, "consignmentCode"); | ||
| 540 | - return (Criteria) this; | ||
| 541 | - } | ||
| 542 | - | ||
| 543 | - public Criteria andConsignmentCodeNotEqualTo(String value) { | ||
| 544 | - addCriterion("CONSIGNMENT_CODE <>", value, "consignmentCode"); | ||
| 545 | - return (Criteria) this; | ||
| 546 | - } | ||
| 547 | - | ||
| 548 | - public Criteria andConsignmentCodeGreaterThan(String value) { | ||
| 549 | - addCriterion("CONSIGNMENT_CODE >", value, "consignmentCode"); | ||
| 550 | - return (Criteria) this; | ||
| 551 | - } | ||
| 552 | - | ||
| 553 | - public Criteria andConsignmentCodeGreaterThanOrEqualTo(String value) { | ||
| 554 | - addCriterion("CONSIGNMENT_CODE >=", value, "consignmentCode"); | ||
| 555 | - return (Criteria) this; | ||
| 556 | - } | ||
| 557 | - | ||
| 558 | - public Criteria andConsignmentCodeLessThan(String value) { | ||
| 559 | - addCriterion("CONSIGNMENT_CODE <", value, "consignmentCode"); | ||
| 560 | - return (Criteria) this; | ||
| 561 | - } | ||
| 562 | - | ||
| 563 | - public Criteria andConsignmentCodeLessThanOrEqualTo(String value) { | ||
| 564 | - addCriterion("CONSIGNMENT_CODE <=", value, "consignmentCode"); | ||
| 565 | - return (Criteria) this; | ||
| 566 | - } | ||
| 567 | - | ||
| 568 | - public Criteria andConsignmentCodeLike(String value) { | ||
| 569 | - addCriterion("CONSIGNMENT_CODE like", value, "consignmentCode"); | ||
| 570 | - return (Criteria) this; | ||
| 571 | - } | ||
| 572 | - | ||
| 573 | - public Criteria andConsignmentCodeNotLike(String value) { | ||
| 574 | - addCriterion("CONSIGNMENT_CODE not like", value, "consignmentCode"); | ||
| 575 | - return (Criteria) this; | ||
| 576 | - } | ||
| 577 | - | ||
| 578 | - public Criteria andConsignmentCodeIn(List<String> values) { | ||
| 579 | - addCriterion("CONSIGNMENT_CODE in", values, "consignmentCode"); | ||
| 580 | - return (Criteria) this; | ||
| 581 | - } | ||
| 582 | - | ||
| 583 | - public Criteria andConsignmentCodeNotIn(List<String> values) { | ||
| 584 | - addCriterion("CONSIGNMENT_CODE not in", values, "consignmentCode"); | ||
| 585 | - return (Criteria) this; | ||
| 586 | - } | ||
| 587 | - | ||
| 588 | - public Criteria andConsignmentCodeBetween(String value1, String value2) { | ||
| 589 | - addCriterion("CONSIGNMENT_CODE between", value1, value2, "consignmentCode"); | ||
| 590 | - return (Criteria) this; | ||
| 591 | - } | ||
| 592 | - | ||
| 593 | - public Criteria andConsignmentCodeNotBetween(String value1, String value2) { | ||
| 594 | - addCriterion("CONSIGNMENT_CODE not between", value1, value2, "consignmentCode"); | ||
| 595 | - return (Criteria) this; | ||
| 596 | - } | ||
| 597 | - | ||
| 598 | - public Criteria andFrequencyIsNull() { | ||
| 599 | - addCriterion("FREQUENCY is null"); | ||
| 600 | - return (Criteria) this; | ||
| 601 | - } | ||
| 602 | - | ||
| 603 | - public Criteria andFrequencyIsNotNull() { | ||
| 604 | - addCriterion("FREQUENCY is not null"); | ||
| 605 | - return (Criteria) this; | ||
| 606 | - } | ||
| 607 | - | ||
| 608 | - public Criteria andFrequencyEqualTo(Long value) { | ||
| 609 | - addCriterion("FREQUENCY =", value, "frequency"); | ||
| 610 | - return (Criteria) this; | ||
| 611 | - } | ||
| 612 | - | ||
| 613 | - public Criteria andFrequencyNotEqualTo(Long value) { | ||
| 614 | - addCriterion("FREQUENCY <>", value, "frequency"); | ||
| 615 | - return (Criteria) this; | ||
| 616 | - } | ||
| 617 | - | ||
| 618 | - public Criteria andFrequencyGreaterThan(Long value) { | ||
| 619 | - addCriterion("FREQUENCY >", value, "frequency"); | ||
| 620 | - return (Criteria) this; | ||
| 621 | - } | ||
| 622 | - | ||
| 623 | - public Criteria andFrequencyGreaterThanOrEqualTo(Long value) { | ||
| 624 | - addCriterion("FREQUENCY >=", value, "frequency"); | ||
| 625 | - return (Criteria) this; | ||
| 626 | - } | ||
| 627 | - | ||
| 628 | - public Criteria andFrequencyLessThan(Long value) { | ||
| 629 | - addCriterion("FREQUENCY <", value, "frequency"); | ||
| 630 | - return (Criteria) this; | ||
| 631 | - } | ||
| 632 | - | ||
| 633 | - public Criteria andFrequencyLessThanOrEqualTo(Long value) { | ||
| 634 | - addCriterion("FREQUENCY <=", value, "frequency"); | ||
| 635 | - return (Criteria) this; | ||
| 636 | - } | ||
| 637 | - | ||
| 638 | - public Criteria andFrequencyIn(List<Long> values) { | ||
| 639 | - addCriterion("FREQUENCY in", values, "frequency"); | ||
| 640 | - return (Criteria) this; | ||
| 641 | - } | ||
| 642 | - | ||
| 643 | - public Criteria andFrequencyNotIn(List<Long> values) { | ||
| 644 | - addCriterion("FREQUENCY not in", values, "frequency"); | ||
| 645 | - return (Criteria) this; | ||
| 646 | - } | ||
| 647 | - | ||
| 648 | - public Criteria andFrequencyBetween(Long value1, Long value2) { | ||
| 649 | - addCriterion("FREQUENCY between", value1, value2, "frequency"); | ||
| 650 | - return (Criteria) this; | ||
| 651 | - } | ||
| 652 | - | ||
| 653 | - public Criteria andFrequencyNotBetween(Long value1, Long value2) { | ||
| 654 | - addCriterion("FREQUENCY not between", value1, value2, "frequency"); | ||
| 655 | - return (Criteria) this; | ||
| 656 | - } | ||
| 657 | - | ||
| 658 | - public Criteria andStatusIsNull() { | ||
| 659 | - addCriterion("STATUS is null"); | ||
| 660 | - return (Criteria) this; | ||
| 661 | - } | ||
| 662 | - | ||
| 663 | - public Criteria andStatusIsNotNull() { | ||
| 664 | - addCriterion("STATUS is not null"); | ||
| 665 | - return (Criteria) this; | ||
| 666 | - } | ||
| 667 | - | ||
| 668 | - public Criteria andStatusEqualTo(Long value) { | ||
| 669 | - addCriterion("STATUS =", value, "status"); | ||
| 670 | - return (Criteria) this; | ||
| 671 | - } | ||
| 672 | - | ||
| 673 | - public Criteria andStatusNotEqualTo(Long value) { | ||
| 674 | - addCriterion("STATUS <>", value, "status"); | ||
| 675 | - return (Criteria) this; | ||
| 676 | - } | ||
| 677 | - | ||
| 678 | - public Criteria andStatusGreaterThan(Long value) { | ||
| 679 | - addCriterion("STATUS >", value, "status"); | ||
| 680 | - return (Criteria) this; | ||
| 681 | - } | ||
| 682 | - | ||
| 683 | - public Criteria andStatusGreaterThanOrEqualTo(Long value) { | ||
| 684 | - addCriterion("STATUS >=", value, "status"); | ||
| 685 | - return (Criteria) this; | ||
| 686 | - } | ||
| 687 | - | ||
| 688 | - public Criteria andStatusLessThan(Long value) { | ||
| 689 | - addCriterion("STATUS <", value, "status"); | ||
| 690 | - return (Criteria) this; | ||
| 691 | - } | ||
| 692 | - | ||
| 693 | - public Criteria andStatusLessThanOrEqualTo(Long value) { | ||
| 694 | - addCriterion("STATUS <=", value, "status"); | ||
| 695 | - return (Criteria) this; | ||
| 696 | - } | ||
| 697 | - | ||
| 698 | - public Criteria andStatusIn(List<Long> values) { | ||
| 699 | - addCriterion("STATUS in", values, "status"); | ||
| 700 | - return (Criteria) this; | ||
| 701 | - } | ||
| 702 | - | ||
| 703 | - public Criteria andStatusNotIn(List<Long> values) { | ||
| 704 | - addCriterion("STATUS not in", values, "status"); | ||
| 705 | - return (Criteria) this; | ||
| 706 | - } | ||
| 707 | - | ||
| 708 | - public Criteria andStatusBetween(Long value1, Long value2) { | ||
| 709 | - addCriterion("STATUS between", value1, value2, "status"); | ||
| 710 | - return (Criteria) this; | ||
| 711 | - } | ||
| 712 | - | ||
| 713 | - public Criteria andStatusNotBetween(Long value1, Long value2) { | ||
| 714 | - addCriterion("STATUS not between", value1, value2, "status"); | ||
| 715 | - return (Criteria) this; | ||
| 716 | - } | ||
| 717 | - | ||
| 718 | - public Criteria andRemarkIsNull() { | ||
| 719 | - addCriterion("REMARK is null"); | ||
| 720 | - return (Criteria) this; | ||
| 721 | - } | ||
| 722 | - | ||
| 723 | - public Criteria andRemarkIsNotNull() { | ||
| 724 | - addCriterion("REMARK is not null"); | ||
| 725 | - return (Criteria) this; | ||
| 726 | - } | ||
| 727 | - | ||
| 728 | - public Criteria andRemarkEqualTo(String value) { | ||
| 729 | - addCriterion("REMARK =", value, "remark"); | ||
| 730 | - return (Criteria) this; | ||
| 731 | - } | ||
| 732 | - | ||
| 733 | - public Criteria andRemarkNotEqualTo(String value) { | ||
| 734 | - addCriterion("REMARK <>", value, "remark"); | ||
| 735 | - return (Criteria) this; | ||
| 736 | - } | ||
| 737 | - | ||
| 738 | - public Criteria andRemarkGreaterThan(String value) { | ||
| 739 | - addCriterion("REMARK >", value, "remark"); | ||
| 740 | - return (Criteria) this; | ||
| 741 | - } | ||
| 742 | - | ||
| 743 | - public Criteria andRemarkGreaterThanOrEqualTo(String value) { | ||
| 744 | - addCriterion("REMARK >=", value, "remark"); | ||
| 745 | - return (Criteria) this; | ||
| 746 | - } | ||
| 747 | - | ||
| 748 | - public Criteria andRemarkLessThan(String value) { | ||
| 749 | - addCriterion("REMARK <", value, "remark"); | ||
| 750 | - return (Criteria) this; | ||
| 751 | - } | ||
| 752 | - | ||
| 753 | - public Criteria andRemarkLessThanOrEqualTo(String value) { | ||
| 754 | - addCriterion("REMARK <=", value, "remark"); | ||
| 755 | - return (Criteria) this; | ||
| 756 | - } | ||
| 757 | - | ||
| 758 | - public Criteria andRemarkLike(String value) { | ||
| 759 | - addCriterion("REMARK like", value, "remark"); | ||
| 760 | - return (Criteria) this; | ||
| 761 | - } | ||
| 762 | - | ||
| 763 | - public Criteria andRemarkNotLike(String value) { | ||
| 764 | - addCriterion("REMARK not like", value, "remark"); | ||
| 765 | - return (Criteria) this; | ||
| 766 | - } | ||
| 767 | - | ||
| 768 | - public Criteria andRemarkIn(List<String> values) { | ||
| 769 | - addCriterion("REMARK in", values, "remark"); | ||
| 770 | - return (Criteria) this; | ||
| 771 | - } | ||
| 772 | - | ||
| 773 | - public Criteria andRemarkNotIn(List<String> values) { | ||
| 774 | - addCriterion("REMARK not in", values, "remark"); | ||
| 775 | - return (Criteria) this; | ||
| 776 | - } | ||
| 777 | - | ||
| 778 | - public Criteria andRemarkBetween(String value1, String value2) { | ||
| 779 | - addCriterion("REMARK between", value1, value2, "remark"); | ||
| 780 | - return (Criteria) this; | ||
| 781 | - } | ||
| 782 | - | ||
| 783 | - public Criteria andRemarkNotBetween(String value1, String value2) { | ||
| 784 | - addCriterion("REMARK not between", value1, value2, "remark"); | ||
| 785 | - return (Criteria) this; | ||
| 786 | - } | ||
| 787 | - | ||
| 788 | - public Criteria andCreateTimeIsNull() { | ||
| 789 | - addCriterion("CREATE_TIME is null"); | ||
| 790 | - return (Criteria) this; | ||
| 791 | - } | ||
| 792 | - | ||
| 793 | - public Criteria andCreateTimeIsNotNull() { | ||
| 794 | - addCriterion("CREATE_TIME is not null"); | ||
| 795 | - return (Criteria) this; | ||
| 796 | - } | ||
| 797 | - | ||
| 798 | - public Criteria andCreateTimeEqualTo(Date value) { | ||
| 799 | - addCriterion("CREATE_TIME =", value, "createTime"); | ||
| 800 | - return (Criteria) this; | ||
| 801 | - } | ||
| 802 | - | ||
| 803 | - public Criteria andCreateTimeNotEqualTo(Date value) { | ||
| 804 | - addCriterion("CREATE_TIME <>", value, "createTime"); | ||
| 805 | - return (Criteria) this; | ||
| 806 | - } | ||
| 807 | - | ||
| 808 | - public Criteria andCreateTimeGreaterThan(Date value) { | ||
| 809 | - addCriterion("CREATE_TIME >", value, "createTime"); | ||
| 810 | - return (Criteria) this; | ||
| 811 | - } | ||
| 812 | - | ||
| 813 | - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { | ||
| 814 | - addCriterion("CREATE_TIME >=", value, "createTime"); | ||
| 815 | - return (Criteria) this; | ||
| 816 | - } | ||
| 817 | - | ||
| 818 | - public Criteria andCreateTimeLessThan(Date value) { | ||
| 819 | - addCriterion("CREATE_TIME <", value, "createTime"); | ||
| 820 | - return (Criteria) this; | ||
| 821 | - } | ||
| 822 | - | ||
| 823 | - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { | ||
| 824 | - addCriterion("CREATE_TIME <=", value, "createTime"); | ||
| 825 | - return (Criteria) this; | ||
| 826 | - } | ||
| 827 | - | ||
| 828 | - public Criteria andCreateTimeIn(List<Date> values) { | ||
| 829 | - addCriterion("CREATE_TIME in", values, "createTime"); | ||
| 830 | - return (Criteria) this; | ||
| 831 | - } | ||
| 832 | - | ||
| 833 | - public Criteria andCreateTimeNotIn(List<Date> values) { | ||
| 834 | - addCriterion("CREATE_TIME not in", values, "createTime"); | ||
| 835 | - return (Criteria) this; | ||
| 836 | - } | ||
| 837 | - | ||
| 838 | - public Criteria andCreateTimeBetween(Date value1, Date value2) { | ||
| 839 | - addCriterion("CREATE_TIME between", value1, value2, "createTime"); | ||
| 840 | - return (Criteria) this; | ||
| 841 | - } | ||
| 842 | - | ||
| 843 | - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { | ||
| 844 | - addCriterion("CREATE_TIME not between", value1, value2, "createTime"); | ||
| 845 | - return (Criteria) this; | ||
| 846 | - } | ||
| 847 | - } | ||
| 848 | - | ||
| 849 | - public static class Criteria extends GeneratedCriteria { | ||
| 850 | - | ||
| 851 | - protected Criteria() { | ||
| 852 | - super(); | ||
| 853 | - } | ||
| 854 | - } | ||
| 855 | - | ||
| 856 | - public static class Criterion { | ||
| 857 | - private String condition; | ||
| 858 | - | ||
| 859 | - private Object value; | ||
| 860 | - | ||
| 861 | - private Object secondValue; | ||
| 862 | - | ||
| 863 | - private boolean noValue; | ||
| 864 | - | ||
| 865 | - private boolean singleValue; | ||
| 866 | - | ||
| 867 | - private boolean betweenValue; | ||
| 868 | - | ||
| 869 | - private boolean listValue; | ||
| 870 | - | ||
| 871 | - private String typeHandler; | ||
| 872 | - | ||
| 873 | - public String getCondition() { | ||
| 874 | - return condition; | ||
| 875 | - } | ||
| 876 | - | ||
| 877 | - public Object getValue() { | ||
| 878 | - return value; | ||
| 879 | - } | ||
| 880 | - | ||
| 881 | - public Object getSecondValue() { | ||
| 882 | - return secondValue; | ||
| 883 | - } | ||
| 884 | - | ||
| 885 | - public boolean isNoValue() { | ||
| 886 | - return noValue; | ||
| 887 | - } | ||
| 888 | - | ||
| 889 | - public boolean isSingleValue() { | ||
| 890 | - return singleValue; | ||
| 891 | - } | ||
| 892 | - | ||
| 893 | - public boolean isBetweenValue() { | ||
| 894 | - return betweenValue; | ||
| 895 | - } | ||
| 896 | - | ||
| 897 | - public boolean isListValue() { | ||
| 898 | - return listValue; | ||
| 899 | - } | ||
| 900 | - | ||
| 901 | - public String getTypeHandler() { | ||
| 902 | - return typeHandler; | ||
| 903 | - } | ||
| 904 | - | ||
| 905 | - protected Criterion(String condition) { | ||
| 906 | - super(); | ||
| 907 | - this.condition = condition; | ||
| 908 | - this.typeHandler = null; | ||
| 909 | - this.noValue = true; | ||
| 910 | - } | ||
| 911 | - | ||
| 912 | - protected Criterion(String condition, Object value, String typeHandler) { | ||
| 913 | - super(); | ||
| 914 | - this.condition = condition; | ||
| 915 | - this.value = value; | ||
| 916 | - this.typeHandler = typeHandler; | ||
| 917 | - if (value instanceof List<?>) { | ||
| 918 | - this.listValue = true; | ||
| 919 | - } else { | ||
| 920 | - this.singleValue = true; | ||
| 921 | - } | ||
| 922 | - } | ||
| 923 | - | ||
| 924 | - protected Criterion(String condition, Object value) { | ||
| 925 | - this(condition, value, null); | ||
| 926 | - } | ||
| 927 | - | ||
| 928 | - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { | ||
| 929 | - super(); | ||
| 930 | - this.condition = condition; | ||
| 931 | - this.value = value; | ||
| 932 | - this.secondValue = secondValue; | ||
| 933 | - this.typeHandler = typeHandler; | ||
| 934 | - this.betweenValue = true; | ||
| 935 | - } | ||
| 936 | - | ||
| 937 | - protected Criterion(String condition, Object value, Object secondValue) { | ||
| 938 | - this(condition, value, secondValue, null); | ||
| 939 | - } | ||
| 940 | - } | ||
| 941 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | sys:系统 系统相关表,例如kafka表 | 40 | sys:系统 系统相关表,例如kafka表 |
| 41 | log: 日志 日志记录表,例如邮件发送日志表 | 41 | log: 日志 日志记录表,例如邮件发送日志表 |
| 42 | --> | 42 | --> |
| 43 | - <javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java"> | 43 | + <javaModelGenerator targetPackage="com.fedex.connect.common.model.bi" targetProject="src/main/java"> |
| 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> | 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> |
| 45 | <property name="enableSubPackages" value="false"/> | 45 | <property name="enableSubPackages" value="false"/> |
| 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> | 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> |
| ... | @@ -52,13 +52,13 @@ | ... | @@ -52,13 +52,13 @@ |
| 52 | </javaModelGenerator> | 52 | </javaModelGenerator> |
| 53 | 53 | ||
| 54 | <!-- 生成映射文件*.xml的位置--> | 54 | <!-- 生成映射文件*.xml的位置--> |
| 55 | - <sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common"> | 55 | + <sqlMapGenerator targetPackage="mapper.bi" targetProject="src/main/java/com/fedex/connect/common"> |
| 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 57 | <property name="enableSubPackages" value="false"/> | 57 | <property name="enableSubPackages" value="false"/> |
| 58 | </sqlMapGenerator> | 58 | </sqlMapGenerator> |
| 59 | 59 | ||
| 60 | <!-- 生成DAO的包名和位置 --> | 60 | <!-- 生成DAO的包名和位置 --> |
| 61 | - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java"> | 61 | + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.bi" targetProject="src/main/java"> |
| 62 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 62 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 63 | <property name="enableSubPackages" value="false"/> | 63 | <property name="enableSubPackages" value="false"/> |
| 64 | </javaClientGenerator> | 64 | </javaClientGenerator> |
| ... | @@ -74,24 +74,24 @@ | ... | @@ -74,24 +74,24 @@ |
| 74 | sqlStatement 指定序列名称 | 74 | sqlStatement 指定序列名称 |
| 75 | --> | 75 | --> |
| 76 | 76 | ||
| 77 | - <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab" | 77 | +<!-- <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab"--> |
| 78 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 79 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 80 | - selectByExampleQueryId="true"> | ||
| 81 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" /> | ||
| 82 | - </table> | ||
| 83 | -<!-- <table tableName="T_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"--> | ||
| 84 | -<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 85 | -<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 86 | -<!-- selectByExampleQueryId="true">--> | ||
| 87 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />--> | ||
| 88 | -<!-- </table>--> | ||
| 89 | -<!-- <table tableName="T_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"--> | ||
| 90 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 78 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 91 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 79 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 92 | <!-- selectByExampleQueryId="true">--> | 80 | <!-- selectByExampleQueryId="true">--> |
| 93 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />--> | 81 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />--> |
| 94 | <!-- </table>--> | 82 | <!-- </table>--> |
| 83 | + <table tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaTemporaryStorage" | ||
| 84 | + enableCountByExample="true" enableUpdateByExample="true" | ||
| 85 | + enableDeleteByExample="true" enableSelectByExample="true" | ||
| 86 | + selectByExampleQueryId="true"> | ||
| 87 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" /> | ||
| 88 | + </table> | ||
| 89 | + <table tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaStorageHistory" | ||
| 90 | + enableCountByExample="true" enableUpdateByExample="true" | ||
| 91 | + enableDeleteByExample="true" enableSelectByExample="true" | ||
| 92 | + selectByExampleQueryId="true"> | ||
| 93 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" /> | ||
| 94 | + </table> | ||
| 95 | <!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"--> | 95 | <!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"--> |
| 96 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 96 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 97 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 97 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ... | ... |
-
Please register or login to post a comment