zelong.shao

dao|目录替换

Showing 17 changed files with 45 additions and 3167 deletions
package com.fedex.connect.common.dao.base;
package com.fedex.connect.common.dao.bi;
import com.fedex.connect.common.model.base.DictionaryEntries;
import com.fedex.connect.common.model.base.DictionaryEntriesExample;
import com.fedex.connect.common.model.bi.DictionaryEntries;
import com.fedex.connect.common.model.bi.DictionaryEntriesExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
......
package com.fedex.connect.common.dao.base;
package com.fedex.connect.common.dao.bi;
import com.fedex.connect.common.model.base.Dictionary;
import com.fedex.connect.common.model.base.DictionaryExample;
import com.fedex.connect.common.model.bi.Dictionary;
import com.fedex.connect.common.model.bi.DictionaryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
......
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.KafkaStorageHistory;
import com.fedex.connect.common.model.sys.KafkaStorageHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface KafkaStorageHistoryMapper {
long countByExample(KafkaStorageHistoryExample example);
int deleteByExample(KafkaStorageHistoryExample example);
int deleteByPrimaryKey(Long id);
int insert(KafkaStorageHistory record);
int insertSelective(KafkaStorageHistory record);
List<KafkaStorageHistory> selectByExampleWithBLOBs(KafkaStorageHistoryExample example);
List<KafkaStorageHistory> selectByExample(KafkaStorageHistoryExample example);
KafkaStorageHistory selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
int updateByExampleWithBLOBs(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
int updateByExample(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example);
int updateByPrimaryKeySelective(KafkaStorageHistory record);
int updateByPrimaryKeyWithBLOBs(KafkaStorageHistory record);
int updateByPrimaryKey(KafkaStorageHistory record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorage;
import com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface KafkaTemporaryStorageMapper {
long countByExample(KafkaTemporaryStorageExample example);
int deleteByExample(KafkaTemporaryStorageExample example);
int deleteByPrimaryKey(Long id);
int insert(KafkaTemporaryStorage record);
int insertSelective(KafkaTemporaryStorage record);
List<KafkaTemporaryStorage> selectByExampleWithBLOBs(KafkaTemporaryStorageExample example);
List<KafkaTemporaryStorage> selectByExample(KafkaTemporaryStorageExample example);
KafkaTemporaryStorage selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
int updateByExampleWithBLOBs(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
int updateByExample(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example);
int updateByPrimaryKeySelective(KafkaTemporaryStorage record);
int updateByPrimaryKeyWithBLOBs(KafkaTemporaryStorage record);
int updateByPrimaryKey(KafkaTemporaryStorage record);
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fedex.connect.common.dao.base.DictionaryEntriesMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.DictionaryEntries">
<mapper namespace="com.fedex.connect.common.dao.bi.DictionaryEntriesMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.bi.DictionaryEntries">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="CODE" jdbcType="VARCHAR" property="code" />
<result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
......@@ -85,7 +85,7 @@
EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME,
MODIFY_USER_ID, MODIFY_USER_NAME
</sql>
<select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
......@@ -112,13 +112,13 @@
delete from T_BI_DICTIONARY_ENTRIES
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample">
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample">
delete from T_BI_DICTIONARY_ENTRIES
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
<insert id="insert" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL
</selectKey>
......@@ -137,7 +137,7 @@
#{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL
</selectKey>
......@@ -257,7 +257,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample" resultType="java.lang.Long">
select count(*) from T_BI_DICTIONARY_ENTRIES
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......@@ -353,7 +353,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries">
update T_BI_DICTIONARY_ENTRIES
<set>
<if test="code != null">
......@@ -413,7 +413,7 @@
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries">
update T_BI_DICTIONARY_ENTRIES
set CODE = #{code,jdbcType=VARCHAR},
ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fedex.connect.common.dao.base.DictionaryMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.Dictionary">
<mapper namespace="com.fedex.connect.common.dao.bi.DictionaryMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.bi.Dictionary">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="CODE" jdbcType="VARCHAR" property="code" />
<result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
......@@ -81,7 +81,7 @@
ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME,
CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
</sql>
<select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
......@@ -108,13 +108,13 @@
delete from T_BI_DICTIONARY
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample">
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample">
delete from T_BI_DICTIONARY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary">
<insert id="insert" parameterType="com.fedex.connect.common.model.bi.Dictionary">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
</selectKey>
......@@ -131,7 +131,7 @@
#{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary">
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.bi.Dictionary">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
</selectKey>
......@@ -233,7 +233,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample" resultType="java.lang.Long">
select count(*) from T_BI_DICTIONARY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......@@ -317,7 +317,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.Dictionary">
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.bi.Dictionary">
update T_BI_DICTIONARY
<set>
<if test="code != null">
......@@ -368,7 +368,7 @@
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.Dictionary">
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.bi.Dictionary">
update T_BI_DICTIONARY
set CODE = #{code,jdbcType=VARCHAR},
ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.KafkaStorageHistory">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="MESSAGE_ID" jdbcType="VARCHAR" property="messageId" />
<result column="MESSAGE_CODE" jdbcType="VARCHAR" property="messageCode" />
<result column="SENDER_ID" jdbcType="VARCHAR" property="senderId" />
<result column="RECEIVER_ID" jdbcType="VARCHAR" property="receiverId" />
<result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" />
<result column="CONSIGNMENT_CODE" jdbcType="VARCHAR" property="consignmentCode" />
<result column="FREQUENCY" jdbcType="NUMERIC" property="frequency" />
<result column="STATUS" jdbcType="NUMERIC" property="status" />
<result column="REMARK" jdbcType="VARCHAR" property="remark" />
<result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.sys.KafkaStorageHistory">
<result column="DATA" jdbcType="CLOB" property="data" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
ID, MESSAGE_ID, MESSAGE_CODE, SENDER_ID, RECEIVER_ID, SEND_TIME, CONSIGNMENT_CODE,
FREQUENCY, STATUS, REMARK, CREATE_TIME
</sql>
<sql id="Blob_Column_List">
DATA
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_KAFKA_STORAGE_HISTORY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
from T_KAFKA_STORAGE_HISTORY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
<include refid="OracleDialectSuffix" />
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_KAFKA_STORAGE_HISTORY
where ID = #{id,jdbcType=NUMERIC}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from T_KAFKA_STORAGE_HISTORY
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample">
delete from T_KAFKA_STORAGE_HISTORY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL
</selectKey>
insert into T_KAFKA_STORAGE_HISTORY (ID, MESSAGE_ID, MESSAGE_CODE,
SENDER_ID, RECEIVER_ID, SEND_TIME,
CONSIGNMENT_CODE, FREQUENCY, STATUS,
REMARK, CREATE_TIME, DATA
)
values (#{id,jdbcType=NUMERIC}, #{messageId,jdbcType=VARCHAR}, #{messageCode,jdbcType=VARCHAR},
#{senderId,jdbcType=VARCHAR}, #{receiverId,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP},
#{consignmentCode,jdbcType=VARCHAR}, #{frequency,jdbcType=NUMERIC}, #{status,jdbcType=NUMERIC},
#{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{data,jdbcType=CLOB}
)
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL
</selectKey>
insert into T_KAFKA_STORAGE_HISTORY
<trim prefix="(" suffix=")" suffixOverrides=",">
ID,
<if test="messageId != null">
MESSAGE_ID,
</if>
<if test="messageCode != null">
MESSAGE_CODE,
</if>
<if test="senderId != null">
SENDER_ID,
</if>
<if test="receiverId != null">
RECEIVER_ID,
</if>
<if test="sendTime != null">
SEND_TIME,
</if>
<if test="consignmentCode != null">
CONSIGNMENT_CODE,
</if>
<if test="frequency != null">
FREQUENCY,
</if>
<if test="status != null">
STATUS,
</if>
<if test="remark != null">
REMARK,
</if>
<if test="createTime != null">
CREATE_TIME,
</if>
<if test="data != null">
DATA,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{id,jdbcType=NUMERIC},
<if test="messageId != null">
#{messageId,jdbcType=VARCHAR},
</if>
<if test="messageCode != null">
#{messageCode,jdbcType=VARCHAR},
</if>
<if test="senderId != null">
#{senderId,jdbcType=VARCHAR},
</if>
<if test="receiverId != null">
#{receiverId,jdbcType=VARCHAR},
</if>
<if test="sendTime != null">
#{sendTime,jdbcType=TIMESTAMP},
</if>
<if test="consignmentCode != null">
#{consignmentCode,jdbcType=VARCHAR},
</if>
<if test="frequency != null">
#{frequency,jdbcType=NUMERIC},
</if>
<if test="status != null">
#{status,jdbcType=NUMERIC},
</if>
<if test="remark != null">
#{remark,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="data != null">
#{data,jdbcType=CLOB},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistoryExample" resultType="java.lang.Long">
select count(*) from T_KAFKA_STORAGE_HISTORY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update T_KAFKA_STORAGE_HISTORY
<set>
<if test="record.id != null">
ID = #{record.id,jdbcType=NUMERIC},
</if>
<if test="record.messageId != null">
MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR},
</if>
<if test="record.messageCode != null">
MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR},
</if>
<if test="record.senderId != null">
SENDER_ID = #{record.senderId,jdbcType=VARCHAR},
</if>
<if test="record.receiverId != null">
RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR},
</if>
<if test="record.sendTime != null">
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
</if>
<if test="record.consignmentCode != null">
CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR},
</if>
<if test="record.frequency != null">
FREQUENCY = #{record.frequency,jdbcType=NUMERIC},
</if>
<if test="record.status != null">
STATUS = #{record.status,jdbcType=NUMERIC},
</if>
<if test="record.remark != null">
REMARK = #{record.remark,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.data != null">
DATA = #{record.data,jdbcType=CLOB},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update T_KAFKA_STORAGE_HISTORY
set ID = #{record.id,jdbcType=NUMERIC},
MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR},
SENDER_ID = #{record.senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR},
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{record.frequency,jdbcType=NUMERIC},
STATUS = #{record.status,jdbcType=NUMERIC},
REMARK = #{record.remark,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
DATA = #{record.data,jdbcType=CLOB}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update T_KAFKA_STORAGE_HISTORY
set ID = #{record.id,jdbcType=NUMERIC},
MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR},
SENDER_ID = #{record.senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR},
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{record.frequency,jdbcType=NUMERIC},
STATUS = #{record.status,jdbcType=NUMERIC},
REMARK = #{record.remark,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory">
update T_KAFKA_STORAGE_HISTORY
<set>
<if test="messageId != null">
MESSAGE_ID = #{messageId,jdbcType=VARCHAR},
</if>
<if test="messageCode != null">
MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR},
</if>
<if test="senderId != null">
SENDER_ID = #{senderId,jdbcType=VARCHAR},
</if>
<if test="receiverId != null">
RECEIVER_ID = #{receiverId,jdbcType=VARCHAR},
</if>
<if test="sendTime != null">
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
</if>
<if test="consignmentCode != null">
CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR},
</if>
<if test="frequency != null">
FREQUENCY = #{frequency,jdbcType=NUMERIC},
</if>
<if test="status != null">
STATUS = #{status,jdbcType=NUMERIC},
</if>
<if test="remark != null">
REMARK = #{remark,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="data != null">
DATA = #{data,jdbcType=CLOB},
</if>
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory">
update T_KAFKA_STORAGE_HISTORY
set MESSAGE_ID = #{messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR},
SENDER_ID = #{senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{receiverId,jdbcType=VARCHAR},
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{frequency,jdbcType=NUMERIC},
STATUS = #{status,jdbcType=NUMERIC},
REMARK = #{remark,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
DATA = #{data,jdbcType=CLOB}
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.KafkaStorageHistory">
update T_KAFKA_STORAGE_HISTORY
set MESSAGE_ID = #{messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR},
SENDER_ID = #{senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{receiverId,jdbcType=VARCHAR},
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{frequency,jdbcType=NUMERIC},
STATUS = #{status,jdbcType=NUMERIC},
REMARK = #{remark,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}
where ID = #{id,jdbcType=NUMERIC}
</update>
<sql id="OracleDialectPrefix">
<if test="limitStart != null and limitStart>=0">
select * from ( select row_.*, rownum rownum_ from (
</if>
</sql>
<sql id="OracleDialectSuffix">
<if test="limitStart != null and limitStart>=0">
<![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
</if>
</sql>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="MESSAGE_ID" jdbcType="VARCHAR" property="messageId" />
<result column="MESSAGE_CODE" jdbcType="VARCHAR" property="messageCode" />
<result column="SENDER_ID" jdbcType="VARCHAR" property="senderId" />
<result column="RECEIVER_ID" jdbcType="VARCHAR" property="receiverId" />
<result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" />
<result column="CONSIGNMENT_CODE" jdbcType="VARCHAR" property="consignmentCode" />
<result column="FREQUENCY" jdbcType="NUMERIC" property="frequency" />
<result column="STATUS" jdbcType="NUMERIC" property="status" />
<result column="REMARK" jdbcType="VARCHAR" property="remark" />
<result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
<result column="DATA" jdbcType="CLOB" property="data" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
ID, MESSAGE_ID, MESSAGE_CODE, SENDER_ID, RECEIVER_ID, SEND_TIME, CONSIGNMENT_CODE,
FREQUENCY, STATUS, REMARK, CREATE_TIME
</sql>
<sql id="Blob_Column_List">
DATA
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_KAFKA_TEMPORARY_STORAGE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
from T_KAFKA_TEMPORARY_STORAGE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
<include refid="OracleDialectSuffix" />
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_KAFKA_TEMPORARY_STORAGE
where ID = #{id,jdbcType=NUMERIC}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from T_KAFKA_TEMPORARY_STORAGE
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample">
delete from T_KAFKA_TEMPORARY_STORAGE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL
</selectKey>
insert into T_KAFKA_TEMPORARY_STORAGE (ID, MESSAGE_ID, MESSAGE_CODE,
SENDER_ID, RECEIVER_ID, SEND_TIME,
CONSIGNMENT_CODE, FREQUENCY, STATUS,
REMARK, CREATE_TIME, DATA
)
values (#{id,jdbcType=NUMERIC}, #{messageId,jdbcType=VARCHAR}, #{messageCode,jdbcType=VARCHAR},
#{senderId,jdbcType=VARCHAR}, #{receiverId,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP},
#{consignmentCode,jdbcType=VARCHAR}, #{frequency,jdbcType=NUMERIC}, #{status,jdbcType=NUMERIC},
#{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{data,jdbcType=CLOB}
)
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL
</selectKey>
insert into T_KAFKA_TEMPORARY_STORAGE
<trim prefix="(" suffix=")" suffixOverrides=",">
ID,
<if test="messageId != null">
MESSAGE_ID,
</if>
<if test="messageCode != null">
MESSAGE_CODE,
</if>
<if test="senderId != null">
SENDER_ID,
</if>
<if test="receiverId != null">
RECEIVER_ID,
</if>
<if test="sendTime != null">
SEND_TIME,
</if>
<if test="consignmentCode != null">
CONSIGNMENT_CODE,
</if>
<if test="frequency != null">
FREQUENCY,
</if>
<if test="status != null">
STATUS,
</if>
<if test="remark != null">
REMARK,
</if>
<if test="createTime != null">
CREATE_TIME,
</if>
<if test="data != null">
DATA,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{id,jdbcType=NUMERIC},
<if test="messageId != null">
#{messageId,jdbcType=VARCHAR},
</if>
<if test="messageCode != null">
#{messageCode,jdbcType=VARCHAR},
</if>
<if test="senderId != null">
#{senderId,jdbcType=VARCHAR},
</if>
<if test="receiverId != null">
#{receiverId,jdbcType=VARCHAR},
</if>
<if test="sendTime != null">
#{sendTime,jdbcType=TIMESTAMP},
</if>
<if test="consignmentCode != null">
#{consignmentCode,jdbcType=VARCHAR},
</if>
<if test="frequency != null">
#{frequency,jdbcType=NUMERIC},
</if>
<if test="status != null">
#{status,jdbcType=NUMERIC},
</if>
<if test="remark != null">
#{remark,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="data != null">
#{data,jdbcType=CLOB},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample" resultType="java.lang.Long">
select count(*) from T_KAFKA_TEMPORARY_STORAGE
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update T_KAFKA_TEMPORARY_STORAGE
<set>
<if test="record.id != null">
ID = #{record.id,jdbcType=NUMERIC},
</if>
<if test="record.messageId != null">
MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR},
</if>
<if test="record.messageCode != null">
MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR},
</if>
<if test="record.senderId != null">
SENDER_ID = #{record.senderId,jdbcType=VARCHAR},
</if>
<if test="record.receiverId != null">
RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR},
</if>
<if test="record.sendTime != null">
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
</if>
<if test="record.consignmentCode != null">
CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR},
</if>
<if test="record.frequency != null">
FREQUENCY = #{record.frequency,jdbcType=NUMERIC},
</if>
<if test="record.status != null">
STATUS = #{record.status,jdbcType=NUMERIC},
</if>
<if test="record.remark != null">
REMARK = #{record.remark,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.data != null">
DATA = #{record.data,jdbcType=CLOB},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update T_KAFKA_TEMPORARY_STORAGE
set ID = #{record.id,jdbcType=NUMERIC},
MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR},
SENDER_ID = #{record.senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR},
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{record.frequency,jdbcType=NUMERIC},
STATUS = #{record.status,jdbcType=NUMERIC},
REMARK = #{record.remark,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
DATA = #{record.data,jdbcType=CLOB}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update T_KAFKA_TEMPORARY_STORAGE
set ID = #{record.id,jdbcType=NUMERIC},
MESSAGE_ID = #{record.messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{record.messageCode,jdbcType=VARCHAR},
SENDER_ID = #{record.senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{record.receiverId,jdbcType=VARCHAR},
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{record.frequency,jdbcType=NUMERIC},
STATUS = #{record.status,jdbcType=NUMERIC},
REMARK = #{record.remark,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
update T_KAFKA_TEMPORARY_STORAGE
<set>
<if test="messageId != null">
MESSAGE_ID = #{messageId,jdbcType=VARCHAR},
</if>
<if test="messageCode != null">
MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR},
</if>
<if test="senderId != null">
SENDER_ID = #{senderId,jdbcType=VARCHAR},
</if>
<if test="receiverId != null">
RECEIVER_ID = #{receiverId,jdbcType=VARCHAR},
</if>
<if test="sendTime != null">
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
</if>
<if test="consignmentCode != null">
CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR},
</if>
<if test="frequency != null">
FREQUENCY = #{frequency,jdbcType=NUMERIC},
</if>
<if test="status != null">
STATUS = #{status,jdbcType=NUMERIC},
</if>
<if test="remark != null">
REMARK = #{remark,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="data != null">
DATA = #{data,jdbcType=CLOB},
</if>
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
update T_KAFKA_TEMPORARY_STORAGE
set MESSAGE_ID = #{messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR},
SENDER_ID = #{senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{receiverId,jdbcType=VARCHAR},
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{frequency,jdbcType=NUMERIC},
STATUS = #{status,jdbcType=NUMERIC},
REMARK = #{remark,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
DATA = #{data,jdbcType=CLOB}
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.KafkaTemporaryStorage">
update T_KAFKA_TEMPORARY_STORAGE
set MESSAGE_ID = #{messageId,jdbcType=VARCHAR},
MESSAGE_CODE = #{messageCode,jdbcType=VARCHAR},
SENDER_ID = #{senderId,jdbcType=VARCHAR},
RECEIVER_ID = #{receiverId,jdbcType=VARCHAR},
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR},
FREQUENCY = #{frequency,jdbcType=NUMERIC},
STATUS = #{status,jdbcType=NUMERIC},
REMARK = #{remark,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}
where ID = #{id,jdbcType=NUMERIC}
</update>
<sql id="OracleDialectPrefix">
<if test="limitStart != null and limitStart>=0">
select * from ( select row_.*, rownum rownum_ from (
</if>
</sql>
<sql id="OracleDialectSuffix">
<if test="limitStart != null and limitStart>=0">
<![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
</if>
</sql>
</mapper>
\ No newline at end of file
package com.fedex.connect.common.model.base;
package com.fedex.connect.common.model.bi;
import java.io.Serializable;
import java.util.Date;
......
package com.fedex.connect.common.model.base;
package com.fedex.connect.common.model.bi;
import java.io.Serializable;
import java.util.Date;
......
package com.fedex.connect.common.model.base;
package com.fedex.connect.common.model.bi;
import java.util.ArrayList;
import java.util.Date;
......
package com.fedex.connect.common.model.base;
package com.fedex.connect.common.model.bi;
import java.util.ArrayList;
import java.util.Date;
......
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: kafka数据历史表
* TABLE: T_KAFKA_STORAGE_HISTORY
*/
public class KafkaStorageHistory implements Serializable {
/**
* ID,自动增加
*/
private Long id;
/**
* 由发送方定义的序列号,唯一 UUID JSON自动生成
*/
private String messageId;
/**
* 消息代码/类型
*/
private String messageCode;
/**
* 发送程序ID
*/
private String senderId;
/**
* 接受程序ID
*/
private String receiverId;
/**
* DM发送时间
*/
private Date sendTime;
/**
* 运单号
*/
private String consignmentCode;
/**
* 记录处理次数
*/
private Long frequency;
/**
* 数据状态(0:待处理,1:已处理,2:处理失败)
*/
private Long status;
/**
* 备注,记录错误信息
*/
private String remark;
/**
* 系统入库创建时间
*/
private Date createTime;
/**
* 消息体(Json字符串)
*/
private String data;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getMessageId() {
return messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId == null ? null : messageId.trim();
}
public String getMessageCode() {
return messageCode;
}
public void setMessageCode(String messageCode) {
this.messageCode = messageCode == null ? null : messageCode.trim();
}
public String getSenderId() {
return senderId;
}
public void setSenderId(String senderId) {
this.senderId = senderId == null ? null : senderId.trim();
}
public String getReceiverId() {
return receiverId;
}
public void setReceiverId(String receiverId) {
this.receiverId = receiverId == null ? null : receiverId.trim();
}
public Date getSendTime() {
return sendTime;
}
public void setSendTime(Date sendTime) {
this.sendTime = sendTime;
}
public String getConsignmentCode() {
return consignmentCode;
}
public void setConsignmentCode(String consignmentCode) {
this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim();
}
public Long getFrequency() {
return frequency;
}
public void setFrequency(Long frequency) {
this.frequency = frequency;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getData() {
return data;
}
public void setData(String data) {
this.data = data == null ? null : data.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", messageId=").append(messageId);
sb.append(", messageCode=").append(messageCode);
sb.append(", senderId=").append(senderId);
sb.append(", receiverId=").append(receiverId);
sb.append(", sendTime=").append(sendTime);
sb.append(", consignmentCode=").append(consignmentCode);
sb.append(", frequency=").append(frequency);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", data=").append(data);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class KafkaStorageHistoryExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
protected Integer limitStart;
protected Integer limitSize;
public KafkaStorageHistoryExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimitStart(Integer limitStart) {
this.limitStart=limitStart;
}
public Integer getLimitStart() {
return limitStart;
}
public void setLimitSize(Integer limitSize) {
this.limitSize=limitSize;
}
public Integer getLimitSize() {
return limitSize;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("ID is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("ID is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("ID =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("ID <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("ID >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("ID >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("ID <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("ID <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("ID in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("ID not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("ID between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("ID not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andMessageIdIsNull() {
addCriterion("MESSAGE_ID is null");
return (Criteria) this;
}
public Criteria andMessageIdIsNotNull() {
addCriterion("MESSAGE_ID is not null");
return (Criteria) this;
}
public Criteria andMessageIdEqualTo(String value) {
addCriterion("MESSAGE_ID =", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotEqualTo(String value) {
addCriterion("MESSAGE_ID <>", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdGreaterThan(String value) {
addCriterion("MESSAGE_ID >", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdGreaterThanOrEqualTo(String value) {
addCriterion("MESSAGE_ID >=", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdLessThan(String value) {
addCriterion("MESSAGE_ID <", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdLessThanOrEqualTo(String value) {
addCriterion("MESSAGE_ID <=", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdLike(String value) {
addCriterion("MESSAGE_ID like", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotLike(String value) {
addCriterion("MESSAGE_ID not like", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdIn(List<String> values) {
addCriterion("MESSAGE_ID in", values, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotIn(List<String> values) {
addCriterion("MESSAGE_ID not in", values, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdBetween(String value1, String value2) {
addCriterion("MESSAGE_ID between", value1, value2, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotBetween(String value1, String value2) {
addCriterion("MESSAGE_ID not between", value1, value2, "messageId");
return (Criteria) this;
}
public Criteria andMessageCodeIsNull() {
addCriterion("MESSAGE_CODE is null");
return (Criteria) this;
}
public Criteria andMessageCodeIsNotNull() {
addCriterion("MESSAGE_CODE is not null");
return (Criteria) this;
}
public Criteria andMessageCodeEqualTo(String value) {
addCriterion("MESSAGE_CODE =", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotEqualTo(String value) {
addCriterion("MESSAGE_CODE <>", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeGreaterThan(String value) {
addCriterion("MESSAGE_CODE >", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeGreaterThanOrEqualTo(String value) {
addCriterion("MESSAGE_CODE >=", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeLessThan(String value) {
addCriterion("MESSAGE_CODE <", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeLessThanOrEqualTo(String value) {
addCriterion("MESSAGE_CODE <=", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeLike(String value) {
addCriterion("MESSAGE_CODE like", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotLike(String value) {
addCriterion("MESSAGE_CODE not like", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeIn(List<String> values) {
addCriterion("MESSAGE_CODE in", values, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotIn(List<String> values) {
addCriterion("MESSAGE_CODE not in", values, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeBetween(String value1, String value2) {
addCriterion("MESSAGE_CODE between", value1, value2, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotBetween(String value1, String value2) {
addCriterion("MESSAGE_CODE not between", value1, value2, "messageCode");
return (Criteria) this;
}
public Criteria andSenderIdIsNull() {
addCriterion("SENDER_ID is null");
return (Criteria) this;
}
public Criteria andSenderIdIsNotNull() {
addCriterion("SENDER_ID is not null");
return (Criteria) this;
}
public Criteria andSenderIdEqualTo(String value) {
addCriterion("SENDER_ID =", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotEqualTo(String value) {
addCriterion("SENDER_ID <>", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdGreaterThan(String value) {
addCriterion("SENDER_ID >", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdGreaterThanOrEqualTo(String value) {
addCriterion("SENDER_ID >=", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdLessThan(String value) {
addCriterion("SENDER_ID <", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdLessThanOrEqualTo(String value) {
addCriterion("SENDER_ID <=", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdLike(String value) {
addCriterion("SENDER_ID like", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotLike(String value) {
addCriterion("SENDER_ID not like", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdIn(List<String> values) {
addCriterion("SENDER_ID in", values, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotIn(List<String> values) {
addCriterion("SENDER_ID not in", values, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdBetween(String value1, String value2) {
addCriterion("SENDER_ID between", value1, value2, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotBetween(String value1, String value2) {
addCriterion("SENDER_ID not between", value1, value2, "senderId");
return (Criteria) this;
}
public Criteria andReceiverIdIsNull() {
addCriterion("RECEIVER_ID is null");
return (Criteria) this;
}
public Criteria andReceiverIdIsNotNull() {
addCriterion("RECEIVER_ID is not null");
return (Criteria) this;
}
public Criteria andReceiverIdEqualTo(String value) {
addCriterion("RECEIVER_ID =", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotEqualTo(String value) {
addCriterion("RECEIVER_ID <>", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdGreaterThan(String value) {
addCriterion("RECEIVER_ID >", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdGreaterThanOrEqualTo(String value) {
addCriterion("RECEIVER_ID >=", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdLessThan(String value) {
addCriterion("RECEIVER_ID <", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdLessThanOrEqualTo(String value) {
addCriterion("RECEIVER_ID <=", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdLike(String value) {
addCriterion("RECEIVER_ID like", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotLike(String value) {
addCriterion("RECEIVER_ID not like", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdIn(List<String> values) {
addCriterion("RECEIVER_ID in", values, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotIn(List<String> values) {
addCriterion("RECEIVER_ID not in", values, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdBetween(String value1, String value2) {
addCriterion("RECEIVER_ID between", value1, value2, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotBetween(String value1, String value2) {
addCriterion("RECEIVER_ID not between", value1, value2, "receiverId");
return (Criteria) this;
}
public Criteria andSendTimeIsNull() {
addCriterion("SEND_TIME is null");
return (Criteria) this;
}
public Criteria andSendTimeIsNotNull() {
addCriterion("SEND_TIME is not null");
return (Criteria) this;
}
public Criteria andSendTimeEqualTo(Date value) {
addCriterion("SEND_TIME =", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeNotEqualTo(Date value) {
addCriterion("SEND_TIME <>", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeGreaterThan(Date value) {
addCriterion("SEND_TIME >", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
addCriterion("SEND_TIME >=", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeLessThan(Date value) {
addCriterion("SEND_TIME <", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeLessThanOrEqualTo(Date value) {
addCriterion("SEND_TIME <=", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeIn(List<Date> values) {
addCriterion("SEND_TIME in", values, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeNotIn(List<Date> values) {
addCriterion("SEND_TIME not in", values, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeBetween(Date value1, Date value2) {
addCriterion("SEND_TIME between", value1, value2, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeNotBetween(Date value1, Date value2) {
addCriterion("SEND_TIME not between", value1, value2, "sendTime");
return (Criteria) this;
}
public Criteria andConsignmentCodeIsNull() {
addCriterion("CONSIGNMENT_CODE is null");
return (Criteria) this;
}
public Criteria andConsignmentCodeIsNotNull() {
addCriterion("CONSIGNMENT_CODE is not null");
return (Criteria) this;
}
public Criteria andConsignmentCodeEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE =", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE <>", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeGreaterThan(String value) {
addCriterion("CONSIGNMENT_CODE >", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeGreaterThanOrEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE >=", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeLessThan(String value) {
addCriterion("CONSIGNMENT_CODE <", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeLessThanOrEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE <=", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeLike(String value) {
addCriterion("CONSIGNMENT_CODE like", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotLike(String value) {
addCriterion("CONSIGNMENT_CODE not like", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeIn(List<String> values) {
addCriterion("CONSIGNMENT_CODE in", values, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotIn(List<String> values) {
addCriterion("CONSIGNMENT_CODE not in", values, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeBetween(String value1, String value2) {
addCriterion("CONSIGNMENT_CODE between", value1, value2, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotBetween(String value1, String value2) {
addCriterion("CONSIGNMENT_CODE not between", value1, value2, "consignmentCode");
return (Criteria) this;
}
public Criteria andFrequencyIsNull() {
addCriterion("FREQUENCY is null");
return (Criteria) this;
}
public Criteria andFrequencyIsNotNull() {
addCriterion("FREQUENCY is not null");
return (Criteria) this;
}
public Criteria andFrequencyEqualTo(Long value) {
addCriterion("FREQUENCY =", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyNotEqualTo(Long value) {
addCriterion("FREQUENCY <>", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyGreaterThan(Long value) {
addCriterion("FREQUENCY >", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyGreaterThanOrEqualTo(Long value) {
addCriterion("FREQUENCY >=", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyLessThan(Long value) {
addCriterion("FREQUENCY <", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyLessThanOrEqualTo(Long value) {
addCriterion("FREQUENCY <=", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyIn(List<Long> values) {
addCriterion("FREQUENCY in", values, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyNotIn(List<Long> values) {
addCriterion("FREQUENCY not in", values, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyBetween(Long value1, Long value2) {
addCriterion("FREQUENCY between", value1, value2, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyNotBetween(Long value1, Long value2) {
addCriterion("FREQUENCY not between", value1, value2, "frequency");
return (Criteria) this;
}
public Criteria andStatusIsNull() {
addCriterion("STATUS is null");
return (Criteria) this;
}
public Criteria andStatusIsNotNull() {
addCriterion("STATUS is not null");
return (Criteria) this;
}
public Criteria andStatusEqualTo(Long value) {
addCriterion("STATUS =", value, "status");
return (Criteria) this;
}
public Criteria andStatusNotEqualTo(Long value) {
addCriterion("STATUS <>", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThan(Long value) {
addCriterion("STATUS >", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThanOrEqualTo(Long value) {
addCriterion("STATUS >=", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThan(Long value) {
addCriterion("STATUS <", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThanOrEqualTo(Long value) {
addCriterion("STATUS <=", value, "status");
return (Criteria) this;
}
public Criteria andStatusIn(List<Long> values) {
addCriterion("STATUS in", values, "status");
return (Criteria) this;
}
public Criteria andStatusNotIn(List<Long> values) {
addCriterion("STATUS not in", values, "status");
return (Criteria) this;
}
public Criteria andStatusBetween(Long value1, Long value2) {
addCriterion("STATUS between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andStatusNotBetween(Long value1, Long value2) {
addCriterion("STATUS not between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("REMARK is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("REMARK is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("REMARK =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("REMARK <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("REMARK >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("REMARK >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("REMARK <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("REMARK <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("REMARK like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("REMARK not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("REMARK in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("REMARK not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("REMARK between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("REMARK not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("CREATE_TIME is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("CREATE_TIME is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("CREATE_TIME =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("CREATE_TIME <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("CREATE_TIME >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("CREATE_TIME >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("CREATE_TIME <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("CREATE_TIME <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("CREATE_TIME in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("CREATE_TIME not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("CREATE_TIME between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("CREATE_TIME not between", value1, value2, "createTime");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: kafka数据临时表
* TABLE: T_KAFKA_TEMPORARY_STORAGE
*/
public class KafkaTemporaryStorage implements Serializable {
/**
* ID,自动增加
*/
private Long id;
/**
* 由发送方定义的序列号,唯一 UUID JSON自动生成
*/
private String messageId;
/**
* 消息代码/类型
*/
private String messageCode;
/**
* 发送程序ID
*/
private String senderId;
/**
* 接受程序ID
*/
private String receiverId;
/**
* DM发送时间
*/
private Date sendTime;
/**
* 运单号
*/
private String consignmentCode;
/**
* 记录处理次数
*/
private Long frequency;
/**
* 数据状态(0:待处理,1:已处理,2:处理失败)
*/
private Long status;
/**
* 备注,记录错误信息
*/
private String remark;
/**
* 系统入库创建时间
*/
private Date createTime;
/**
* 消息体(Json字符串)
*/
private String data;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getMessageId() {
return messageId;
}
public void setMessageId(String messageId) {
this.messageId = messageId == null ? null : messageId.trim();
}
public String getMessageCode() {
return messageCode;
}
public void setMessageCode(String messageCode) {
this.messageCode = messageCode == null ? null : messageCode.trim();
}
public String getSenderId() {
return senderId;
}
public void setSenderId(String senderId) {
this.senderId = senderId == null ? null : senderId.trim();
}
public String getReceiverId() {
return receiverId;
}
public void setReceiverId(String receiverId) {
this.receiverId = receiverId == null ? null : receiverId.trim();
}
public Date getSendTime() {
return sendTime;
}
public void setSendTime(Date sendTime) {
this.sendTime = sendTime;
}
public String getConsignmentCode() {
return consignmentCode;
}
public void setConsignmentCode(String consignmentCode) {
this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim();
}
public Long getFrequency() {
return frequency;
}
public void setFrequency(Long frequency) {
this.frequency = frequency;
}
public Long getStatus() {
return status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getData() {
return data;
}
public void setData(String data) {
this.data = data == null ? null : data.trim();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", messageId=").append(messageId);
sb.append(", messageCode=").append(messageCode);
sb.append(", senderId=").append(senderId);
sb.append(", receiverId=").append(receiverId);
sb.append(", sendTime=").append(sendTime);
sb.append(", consignmentCode=").append(consignmentCode);
sb.append(", frequency=").append(frequency);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", data=").append(data);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.sys;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class KafkaTemporaryStorageExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
protected Integer limitStart;
protected Integer limitSize;
public KafkaTemporaryStorageExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
public void setLimitStart(Integer limitStart) {
this.limitStart=limitStart;
}
public Integer getLimitStart() {
return limitStart;
}
public void setLimitSize(Integer limitSize) {
this.limitSize=limitSize;
}
public Integer getLimitSize() {
return limitSize;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("ID is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("ID is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("ID =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("ID <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("ID >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("ID >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("ID <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("ID <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("ID in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("ID not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("ID between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("ID not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andMessageIdIsNull() {
addCriterion("MESSAGE_ID is null");
return (Criteria) this;
}
public Criteria andMessageIdIsNotNull() {
addCriterion("MESSAGE_ID is not null");
return (Criteria) this;
}
public Criteria andMessageIdEqualTo(String value) {
addCriterion("MESSAGE_ID =", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotEqualTo(String value) {
addCriterion("MESSAGE_ID <>", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdGreaterThan(String value) {
addCriterion("MESSAGE_ID >", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdGreaterThanOrEqualTo(String value) {
addCriterion("MESSAGE_ID >=", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdLessThan(String value) {
addCriterion("MESSAGE_ID <", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdLessThanOrEqualTo(String value) {
addCriterion("MESSAGE_ID <=", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdLike(String value) {
addCriterion("MESSAGE_ID like", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotLike(String value) {
addCriterion("MESSAGE_ID not like", value, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdIn(List<String> values) {
addCriterion("MESSAGE_ID in", values, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotIn(List<String> values) {
addCriterion("MESSAGE_ID not in", values, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdBetween(String value1, String value2) {
addCriterion("MESSAGE_ID between", value1, value2, "messageId");
return (Criteria) this;
}
public Criteria andMessageIdNotBetween(String value1, String value2) {
addCriterion("MESSAGE_ID not between", value1, value2, "messageId");
return (Criteria) this;
}
public Criteria andMessageCodeIsNull() {
addCriterion("MESSAGE_CODE is null");
return (Criteria) this;
}
public Criteria andMessageCodeIsNotNull() {
addCriterion("MESSAGE_CODE is not null");
return (Criteria) this;
}
public Criteria andMessageCodeEqualTo(String value) {
addCriterion("MESSAGE_CODE =", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotEqualTo(String value) {
addCriterion("MESSAGE_CODE <>", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeGreaterThan(String value) {
addCriterion("MESSAGE_CODE >", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeGreaterThanOrEqualTo(String value) {
addCriterion("MESSAGE_CODE >=", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeLessThan(String value) {
addCriterion("MESSAGE_CODE <", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeLessThanOrEqualTo(String value) {
addCriterion("MESSAGE_CODE <=", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeLike(String value) {
addCriterion("MESSAGE_CODE like", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotLike(String value) {
addCriterion("MESSAGE_CODE not like", value, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeIn(List<String> values) {
addCriterion("MESSAGE_CODE in", values, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotIn(List<String> values) {
addCriterion("MESSAGE_CODE not in", values, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeBetween(String value1, String value2) {
addCriterion("MESSAGE_CODE between", value1, value2, "messageCode");
return (Criteria) this;
}
public Criteria andMessageCodeNotBetween(String value1, String value2) {
addCriterion("MESSAGE_CODE not between", value1, value2, "messageCode");
return (Criteria) this;
}
public Criteria andSenderIdIsNull() {
addCriterion("SENDER_ID is null");
return (Criteria) this;
}
public Criteria andSenderIdIsNotNull() {
addCriterion("SENDER_ID is not null");
return (Criteria) this;
}
public Criteria andSenderIdEqualTo(String value) {
addCriterion("SENDER_ID =", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotEqualTo(String value) {
addCriterion("SENDER_ID <>", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdGreaterThan(String value) {
addCriterion("SENDER_ID >", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdGreaterThanOrEqualTo(String value) {
addCriterion("SENDER_ID >=", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdLessThan(String value) {
addCriterion("SENDER_ID <", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdLessThanOrEqualTo(String value) {
addCriterion("SENDER_ID <=", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdLike(String value) {
addCriterion("SENDER_ID like", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotLike(String value) {
addCriterion("SENDER_ID not like", value, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdIn(List<String> values) {
addCriterion("SENDER_ID in", values, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotIn(List<String> values) {
addCriterion("SENDER_ID not in", values, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdBetween(String value1, String value2) {
addCriterion("SENDER_ID between", value1, value2, "senderId");
return (Criteria) this;
}
public Criteria andSenderIdNotBetween(String value1, String value2) {
addCriterion("SENDER_ID not between", value1, value2, "senderId");
return (Criteria) this;
}
public Criteria andReceiverIdIsNull() {
addCriterion("RECEIVER_ID is null");
return (Criteria) this;
}
public Criteria andReceiverIdIsNotNull() {
addCriterion("RECEIVER_ID is not null");
return (Criteria) this;
}
public Criteria andReceiverIdEqualTo(String value) {
addCriterion("RECEIVER_ID =", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotEqualTo(String value) {
addCriterion("RECEIVER_ID <>", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdGreaterThan(String value) {
addCriterion("RECEIVER_ID >", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdGreaterThanOrEqualTo(String value) {
addCriterion("RECEIVER_ID >=", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdLessThan(String value) {
addCriterion("RECEIVER_ID <", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdLessThanOrEqualTo(String value) {
addCriterion("RECEIVER_ID <=", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdLike(String value) {
addCriterion("RECEIVER_ID like", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotLike(String value) {
addCriterion("RECEIVER_ID not like", value, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdIn(List<String> values) {
addCriterion("RECEIVER_ID in", values, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotIn(List<String> values) {
addCriterion("RECEIVER_ID not in", values, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdBetween(String value1, String value2) {
addCriterion("RECEIVER_ID between", value1, value2, "receiverId");
return (Criteria) this;
}
public Criteria andReceiverIdNotBetween(String value1, String value2) {
addCriterion("RECEIVER_ID not between", value1, value2, "receiverId");
return (Criteria) this;
}
public Criteria andSendTimeIsNull() {
addCriterion("SEND_TIME is null");
return (Criteria) this;
}
public Criteria andSendTimeIsNotNull() {
addCriterion("SEND_TIME is not null");
return (Criteria) this;
}
public Criteria andSendTimeEqualTo(Date value) {
addCriterion("SEND_TIME =", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeNotEqualTo(Date value) {
addCriterion("SEND_TIME <>", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeGreaterThan(Date value) {
addCriterion("SEND_TIME >", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
addCriterion("SEND_TIME >=", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeLessThan(Date value) {
addCriterion("SEND_TIME <", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeLessThanOrEqualTo(Date value) {
addCriterion("SEND_TIME <=", value, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeIn(List<Date> values) {
addCriterion("SEND_TIME in", values, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeNotIn(List<Date> values) {
addCriterion("SEND_TIME not in", values, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeBetween(Date value1, Date value2) {
addCriterion("SEND_TIME between", value1, value2, "sendTime");
return (Criteria) this;
}
public Criteria andSendTimeNotBetween(Date value1, Date value2) {
addCriterion("SEND_TIME not between", value1, value2, "sendTime");
return (Criteria) this;
}
public Criteria andConsignmentCodeIsNull() {
addCriterion("CONSIGNMENT_CODE is null");
return (Criteria) this;
}
public Criteria andConsignmentCodeIsNotNull() {
addCriterion("CONSIGNMENT_CODE is not null");
return (Criteria) this;
}
public Criteria andConsignmentCodeEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE =", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE <>", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeGreaterThan(String value) {
addCriterion("CONSIGNMENT_CODE >", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeGreaterThanOrEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE >=", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeLessThan(String value) {
addCriterion("CONSIGNMENT_CODE <", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeLessThanOrEqualTo(String value) {
addCriterion("CONSIGNMENT_CODE <=", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeLike(String value) {
addCriterion("CONSIGNMENT_CODE like", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotLike(String value) {
addCriterion("CONSIGNMENT_CODE not like", value, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeIn(List<String> values) {
addCriterion("CONSIGNMENT_CODE in", values, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotIn(List<String> values) {
addCriterion("CONSIGNMENT_CODE not in", values, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeBetween(String value1, String value2) {
addCriterion("CONSIGNMENT_CODE between", value1, value2, "consignmentCode");
return (Criteria) this;
}
public Criteria andConsignmentCodeNotBetween(String value1, String value2) {
addCriterion("CONSIGNMENT_CODE not between", value1, value2, "consignmentCode");
return (Criteria) this;
}
public Criteria andFrequencyIsNull() {
addCriterion("FREQUENCY is null");
return (Criteria) this;
}
public Criteria andFrequencyIsNotNull() {
addCriterion("FREQUENCY is not null");
return (Criteria) this;
}
public Criteria andFrequencyEqualTo(Long value) {
addCriterion("FREQUENCY =", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyNotEqualTo(Long value) {
addCriterion("FREQUENCY <>", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyGreaterThan(Long value) {
addCriterion("FREQUENCY >", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyGreaterThanOrEqualTo(Long value) {
addCriterion("FREQUENCY >=", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyLessThan(Long value) {
addCriterion("FREQUENCY <", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyLessThanOrEqualTo(Long value) {
addCriterion("FREQUENCY <=", value, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyIn(List<Long> values) {
addCriterion("FREQUENCY in", values, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyNotIn(List<Long> values) {
addCriterion("FREQUENCY not in", values, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyBetween(Long value1, Long value2) {
addCriterion("FREQUENCY between", value1, value2, "frequency");
return (Criteria) this;
}
public Criteria andFrequencyNotBetween(Long value1, Long value2) {
addCriterion("FREQUENCY not between", value1, value2, "frequency");
return (Criteria) this;
}
public Criteria andStatusIsNull() {
addCriterion("STATUS is null");
return (Criteria) this;
}
public Criteria andStatusIsNotNull() {
addCriterion("STATUS is not null");
return (Criteria) this;
}
public Criteria andStatusEqualTo(Long value) {
addCriterion("STATUS =", value, "status");
return (Criteria) this;
}
public Criteria andStatusNotEqualTo(Long value) {
addCriterion("STATUS <>", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThan(Long value) {
addCriterion("STATUS >", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThanOrEqualTo(Long value) {
addCriterion("STATUS >=", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThan(Long value) {
addCriterion("STATUS <", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThanOrEqualTo(Long value) {
addCriterion("STATUS <=", value, "status");
return (Criteria) this;
}
public Criteria andStatusIn(List<Long> values) {
addCriterion("STATUS in", values, "status");
return (Criteria) this;
}
public Criteria andStatusNotIn(List<Long> values) {
addCriterion("STATUS not in", values, "status");
return (Criteria) this;
}
public Criteria andStatusBetween(Long value1, Long value2) {
addCriterion("STATUS between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andStatusNotBetween(Long value1, Long value2) {
addCriterion("STATUS not between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("REMARK is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("REMARK is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("REMARK =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("REMARK <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("REMARK >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("REMARK >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("REMARK <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("REMARK <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("REMARK like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("REMARK not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("REMARK in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("REMARK not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("REMARK between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("REMARK not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("CREATE_TIME is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("CREATE_TIME is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("CREATE_TIME =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("CREATE_TIME <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("CREATE_TIME >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("CREATE_TIME >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("CREATE_TIME <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("CREATE_TIME <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("CREATE_TIME in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("CREATE_TIME not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("CREATE_TIME between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("CREATE_TIME not between", value1, value2, "createTime");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
\ No newline at end of file
......@@ -40,7 +40,7 @@
sys:系统 系统相关表,例如kafka表
log: 日志 日志记录表,例如邮件发送日志表
-->
<javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java">
<javaModelGenerator targetPackage="com.fedex.connect.common.model.bi" targetProject="src/main/java">
<!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性-->
<property name="enableSubPackages" value="false"/>
<!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false-->
......@@ -52,13 +52,13 @@
</javaModelGenerator>
<!-- 生成映射文件*.xml的位置-->
<sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common">
<sqlMapGenerator targetPackage="mapper.bi" targetProject="src/main/java/com/fedex/connect/common">
<!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
<property name="enableSubPackages" value="false"/>
</sqlMapGenerator>
<!-- 生成DAO的包名和位置 -->
<javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java">
<javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.bi" targetProject="src/main/java">
<!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
<property name="enableSubPackages" value="false"/>
</javaClientGenerator>
......@@ -74,24 +74,24 @@
sqlStatement 指定序列名称
-->
<table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />
</table>
<!-- <table tableName="T_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"-->
<!-- <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<table tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaTemporaryStorage"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />
</table>
<table tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaStorageHistory"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />
</table>
<!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
......