zelong.shao

dao|log实体创建

package com.fedex.connect.common.dao.log;
import com.fedex.connect.common.model.log.EmailHistory;
import com.fedex.connect.common.model.log.EmailHistoryExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface EmailHistoryMapper {
long countByExample(EmailHistoryExample example);
int deleteByExample(EmailHistoryExample example);
int deleteByPrimaryKey(Long id);
int insert(EmailHistory record);
int insertSelective(EmailHistory record);
List<EmailHistory> selectByExampleWithBLOBs(EmailHistoryExample example);
List<EmailHistory> selectByExample(EmailHistoryExample example);
EmailHistory selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example);
int updateByExampleWithBLOBs(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example);
int updateByExample(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example);
int updateByPrimaryKeySelective(EmailHistory record);
int updateByPrimaryKeyWithBLOBs(EmailHistory record);
int updateByPrimaryKey(EmailHistory record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.log;
import com.fedex.connect.common.model.log.Operation;
import com.fedex.connect.common.model.log.OperationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OperationMapper {
long countByExample(OperationExample example);
int deleteByExample(OperationExample example);
int deleteByPrimaryKey(Long id);
int insert(Operation record);
int insertSelective(Operation record);
List<Operation> selectByExampleWithBLOBs(OperationExample example);
List<Operation> selectByExample(OperationExample example);
Operation selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Operation record, @Param("example") OperationExample example);
int updateByExampleWithBLOBs(@Param("record") Operation record, @Param("example") OperationExample example);
int updateByExample(@Param("record") Operation record, @Param("example") OperationExample example);
int updateByPrimaryKeySelective(Operation record);
int updateByPrimaryKeyWithBLOBs(Operation record);
int updateByPrimaryKey(Operation 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.log.EmailHistoryMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.log.EmailHistory">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="BIZ_ID" jdbcType="NUMERIC" property="bizId" />
<result column="BIZ_CODE" jdbcType="VARCHAR" property="bizCode" />
<result column="TO_ADDRESS" jdbcType="VARCHAR" property="toAddress" />
<result column="CC_ADDRESS" jdbcType="VARCHAR" property="ccAddress" />
<result column="SUBJECT" jdbcType="VARCHAR" property="subject" />
<result column="TYPE_ID" jdbcType="NUMERIC" property="typeId" />
<result column="TYPE_NAME" jdbcType="VARCHAR" property="typeName" />
<result column="STATUS_ID" jdbcType="NUMERIC" property="statusId" />
<result column="STATUS_NAME" jdbcType="VARCHAR" property="statusName" />
<result column="SEND_NUM" jdbcType="NUMERIC" property="sendNum" />
<result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" />
<result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
<result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
<result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
<result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
<result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
<result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.EmailHistory">
<result column="BODY" jdbcType="CLOB" property="body" />
</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, BIZ_ID, BIZ_CODE, TO_ADDRESS, CC_ADDRESS, SUBJECT, TYPE_ID, TYPE_NAME, STATUS_ID,
STATUS_NAME, SEND_NUM, SEND_TIME, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
</sql>
<sql id="Blob_Column_List">
BODY
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_LOG_EMAIL_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.log.EmailHistoryExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
from T_LOG_EMAIL_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_LOG_EMAIL_HISTORY
where ID = #{id,jdbcType=NUMERIC}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from T_LOG_EMAIL_HISTORY
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample">
delete from T_LOG_EMAIL_HISTORY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.log.EmailHistory">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL
</selectKey>
insert into T_LOG_EMAIL_HISTORY (ID, BIZ_ID, BIZ_CODE,
TO_ADDRESS, CC_ADDRESS, SUBJECT,
TYPE_ID, TYPE_NAME, STATUS_ID,
STATUS_NAME, SEND_NUM, SEND_TIME,
CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME,
BODY)
values (#{id,jdbcType=NUMERIC}, #{bizId,jdbcType=NUMERIC}, #{bizCode,jdbcType=VARCHAR},
#{toAddress,jdbcType=VARCHAR}, #{ccAddress,jdbcType=VARCHAR}, #{subject,jdbcType=VARCHAR},
#{typeId,jdbcType=NUMERIC}, #{typeName,jdbcType=VARCHAR}, #{statusId,jdbcType=NUMERIC},
#{statusName,jdbcType=VARCHAR}, #{sendNum,jdbcType=NUMERIC}, #{sendTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR},
#{body,jdbcType=CLOB})
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.EmailHistory">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL
</selectKey>
insert into T_LOG_EMAIL_HISTORY
<trim prefix="(" suffix=")" suffixOverrides=",">
ID,
<if test="bizId != null">
BIZ_ID,
</if>
<if test="bizCode != null">
BIZ_CODE,
</if>
<if test="toAddress != null">
TO_ADDRESS,
</if>
<if test="ccAddress != null">
CC_ADDRESS,
</if>
<if test="subject != null">
SUBJECT,
</if>
<if test="typeId != null">
TYPE_ID,
</if>
<if test="typeName != null">
TYPE_NAME,
</if>
<if test="statusId != null">
STATUS_ID,
</if>
<if test="statusName != null">
STATUS_NAME,
</if>
<if test="sendNum != null">
SEND_NUM,
</if>
<if test="sendTime != null">
SEND_TIME,
</if>
<if test="createTime != null">
CREATE_TIME,
</if>
<if test="createUserId != null">
CREATE_USER_ID,
</if>
<if test="createUserName != null">
CREATE_USER_NAME,
</if>
<if test="modifyTime != null">
MODIFY_TIME,
</if>
<if test="modifyUserId != null">
MODIFY_USER_ID,
</if>
<if test="modifyUserName != null">
MODIFY_USER_NAME,
</if>
<if test="body != null">
BODY,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{id,jdbcType=NUMERIC},
<if test="bizId != null">
#{bizId,jdbcType=NUMERIC},
</if>
<if test="bizCode != null">
#{bizCode,jdbcType=VARCHAR},
</if>
<if test="toAddress != null">
#{toAddress,jdbcType=VARCHAR},
</if>
<if test="ccAddress != null">
#{ccAddress,jdbcType=VARCHAR},
</if>
<if test="subject != null">
#{subject,jdbcType=VARCHAR},
</if>
<if test="typeId != null">
#{typeId,jdbcType=NUMERIC},
</if>
<if test="typeName != null">
#{typeName,jdbcType=VARCHAR},
</if>
<if test="statusId != null">
#{statusId,jdbcType=NUMERIC},
</if>
<if test="statusName != null">
#{statusName,jdbcType=VARCHAR},
</if>
<if test="sendNum != null">
#{sendNum,jdbcType=NUMERIC},
</if>
<if test="sendTime != null">
#{sendTime,jdbcType=TIMESTAMP},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="createUserId != null">
#{createUserId,jdbcType=NUMERIC},
</if>
<if test="createUserName != null">
#{createUserName,jdbcType=VARCHAR},
</if>
<if test="modifyTime != null">
#{modifyTime,jdbcType=TIMESTAMP},
</if>
<if test="modifyUserId != null">
#{modifyUserId,jdbcType=NUMERIC},
</if>
<if test="modifyUserName != null">
#{modifyUserName,jdbcType=VARCHAR},
</if>
<if test="body != null">
#{body,jdbcType=CLOB},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample" resultType="java.lang.Long">
select count(*) from T_LOG_EMAIL_HISTORY
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update T_LOG_EMAIL_HISTORY
<set>
<if test="record.id != null">
ID = #{record.id,jdbcType=NUMERIC},
</if>
<if test="record.bizId != null">
BIZ_ID = #{record.bizId,jdbcType=NUMERIC},
</if>
<if test="record.bizCode != null">
BIZ_CODE = #{record.bizCode,jdbcType=VARCHAR},
</if>
<if test="record.toAddress != null">
TO_ADDRESS = #{record.toAddress,jdbcType=VARCHAR},
</if>
<if test="record.ccAddress != null">
CC_ADDRESS = #{record.ccAddress,jdbcType=VARCHAR},
</if>
<if test="record.subject != null">
SUBJECT = #{record.subject,jdbcType=VARCHAR},
</if>
<if test="record.typeId != null">
TYPE_ID = #{record.typeId,jdbcType=NUMERIC},
</if>
<if test="record.typeName != null">
TYPE_NAME = #{record.typeName,jdbcType=VARCHAR},
</if>
<if test="record.statusId != null">
STATUS_ID = #{record.statusId,jdbcType=NUMERIC},
</if>
<if test="record.statusName != null">
STATUS_NAME = #{record.statusName,jdbcType=VARCHAR},
</if>
<if test="record.sendNum != null">
SEND_NUM = #{record.sendNum,jdbcType=NUMERIC},
</if>
<if test="record.sendTime != null">
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
</if>
<if test="record.createTime != null">
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.createUserId != null">
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
</if>
<if test="record.createUserName != null">
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
</if>
<if test="record.modifyTime != null">
MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
</if>
<if test="record.modifyUserId != null">
MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
</if>
<if test="record.modifyUserName != null">
MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
</if>
<if test="record.body != null">
BODY = #{record.body,jdbcType=CLOB},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update T_LOG_EMAIL_HISTORY
set ID = #{record.id,jdbcType=NUMERIC},
BIZ_ID = #{record.bizId,jdbcType=NUMERIC},
BIZ_CODE = #{record.bizCode,jdbcType=VARCHAR},
TO_ADDRESS = #{record.toAddress,jdbcType=VARCHAR},
CC_ADDRESS = #{record.ccAddress,jdbcType=VARCHAR},
SUBJECT = #{record.subject,jdbcType=VARCHAR},
TYPE_ID = #{record.typeId,jdbcType=NUMERIC},
TYPE_NAME = #{record.typeName,jdbcType=VARCHAR},
STATUS_ID = #{record.statusId,jdbcType=NUMERIC},
STATUS_NAME = #{record.statusName,jdbcType=VARCHAR},
SEND_NUM = #{record.sendNum,jdbcType=NUMERIC},
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
BODY = #{record.body,jdbcType=CLOB}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update T_LOG_EMAIL_HISTORY
set ID = #{record.id,jdbcType=NUMERIC},
BIZ_ID = #{record.bizId,jdbcType=NUMERIC},
BIZ_CODE = #{record.bizCode,jdbcType=VARCHAR},
TO_ADDRESS = #{record.toAddress,jdbcType=VARCHAR},
CC_ADDRESS = #{record.ccAddress,jdbcType=VARCHAR},
SUBJECT = #{record.subject,jdbcType=VARCHAR},
TYPE_ID = #{record.typeId,jdbcType=NUMERIC},
TYPE_NAME = #{record.typeName,jdbcType=VARCHAR},
STATUS_ID = #{record.statusId,jdbcType=NUMERIC},
STATUS_NAME = #{record.statusName,jdbcType=VARCHAR},
SEND_NUM = #{record.sendNum,jdbcType=NUMERIC},
SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.EmailHistory">
update T_LOG_EMAIL_HISTORY
<set>
<if test="bizId != null">
BIZ_ID = #{bizId,jdbcType=NUMERIC},
</if>
<if test="bizCode != null">
BIZ_CODE = #{bizCode,jdbcType=VARCHAR},
</if>
<if test="toAddress != null">
TO_ADDRESS = #{toAddress,jdbcType=VARCHAR},
</if>
<if test="ccAddress != null">
CC_ADDRESS = #{ccAddress,jdbcType=VARCHAR},
</if>
<if test="subject != null">
SUBJECT = #{subject,jdbcType=VARCHAR},
</if>
<if test="typeId != null">
TYPE_ID = #{typeId,jdbcType=NUMERIC},
</if>
<if test="typeName != null">
TYPE_NAME = #{typeName,jdbcType=VARCHAR},
</if>
<if test="statusId != null">
STATUS_ID = #{statusId,jdbcType=NUMERIC},
</if>
<if test="statusName != null">
STATUS_NAME = #{statusName,jdbcType=VARCHAR},
</if>
<if test="sendNum != null">
SEND_NUM = #{sendNum,jdbcType=NUMERIC},
</if>
<if test="sendTime != null">
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
</if>
<if test="createTime != null">
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="createUserId != null">
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
</if>
<if test="createUserName != null">
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
</if>
<if test="modifyTime != null">
MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
</if>
<if test="modifyUserId != null">
MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
</if>
<if test="modifyUserName != null">
MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
</if>
<if test="body != null">
BODY = #{body,jdbcType=CLOB},
</if>
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.EmailHistory">
update T_LOG_EMAIL_HISTORY
set BIZ_ID = #{bizId,jdbcType=NUMERIC},
BIZ_CODE = #{bizCode,jdbcType=VARCHAR},
TO_ADDRESS = #{toAddress,jdbcType=VARCHAR},
CC_ADDRESS = #{ccAddress,jdbcType=VARCHAR},
SUBJECT = #{subject,jdbcType=VARCHAR},
TYPE_ID = #{typeId,jdbcType=NUMERIC},
TYPE_NAME = #{typeName,jdbcType=VARCHAR},
STATUS_ID = #{statusId,jdbcType=NUMERIC},
STATUS_NAME = #{statusName,jdbcType=VARCHAR},
SEND_NUM = #{sendNum,jdbcType=NUMERIC},
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
BODY = #{body,jdbcType=CLOB}
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.EmailHistory">
update T_LOG_EMAIL_HISTORY
set BIZ_ID = #{bizId,jdbcType=NUMERIC},
BIZ_CODE = #{bizCode,jdbcType=VARCHAR},
TO_ADDRESS = #{toAddress,jdbcType=VARCHAR},
CC_ADDRESS = #{ccAddress,jdbcType=VARCHAR},
SUBJECT = #{subject,jdbcType=VARCHAR},
TYPE_ID = #{typeId,jdbcType=NUMERIC},
TYPE_NAME = #{typeName,jdbcType=VARCHAR},
STATUS_ID = #{statusId,jdbcType=NUMERIC},
STATUS_NAME = #{statusName,jdbcType=VARCHAR},
SEND_NUM = #{sendNum,jdbcType=NUMERIC},
SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
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.log.OperationMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.log.Operation">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="USER_ID" jdbcType="NUMERIC" property="userId" />
<result column="USER_NAME" jdbcType="VARCHAR" property="userName" />
<result column="MODULE" jdbcType="VARCHAR" property="module" />
<result column="DESCRIBE" jdbcType="VARCHAR" property="describe" />
<result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
<result column="URL" jdbcType="VARCHAR" property="url" />
<result column="REQUEST_PARAMETERS" jdbcType="VARCHAR" property="requestParameters" />
<result column="RESULT" jdbcType="VARCHAR" property="result" />
<result column="STATUS" jdbcType="NUMERIC" property="status" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation">
<result column="REMARK" jdbcType="CLOB" property="remark" />
</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, USER_ID, USER_NAME, MODULE, DESCRIBE, CREATE_TIME, URL, REQUEST_PARAMETERS, RESULT,
STATUS
</sql>
<sql id="Blob_Column_List">
REMARK
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_LOG_OPERATION
<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.log.OperationExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
from T_LOG_OPERATION
<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_LOG_OPERATION
where ID = #{id,jdbcType=NUMERIC}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from T_LOG_OPERATION
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.log.OperationExample">
delete from T_LOG_OPERATION
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.log.Operation">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
</selectKey>
insert into T_LOG_OPERATION (ID, USER_ID, USER_NAME,
MODULE, DESCRIBE, CREATE_TIME,
URL, REQUEST_PARAMETERS, RESULT,
STATUS, REMARK)
values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{userName,jdbcType=VARCHAR},
#{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
#{status,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB})
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
</selectKey>
insert into T_LOG_OPERATION
<trim prefix="(" suffix=")" suffixOverrides=",">
ID,
<if test="userId != null">
USER_ID,
</if>
<if test="userName != null">
USER_NAME,
</if>
<if test="module != null">
MODULE,
</if>
<if test="describe != null">
DESCRIBE,
</if>
<if test="createTime != null">
CREATE_TIME,
</if>
<if test="url != null">
URL,
</if>
<if test="requestParameters != null">
REQUEST_PARAMETERS,
</if>
<if test="result != null">
RESULT,
</if>
<if test="status != null">
STATUS,
</if>
<if test="remark != null">
REMARK,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{id,jdbcType=NUMERIC},
<if test="userId != null">
#{userId,jdbcType=NUMERIC},
</if>
<if test="userName != null">
#{userName,jdbcType=VARCHAR},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
<if test="describe != null">
#{describe,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="url != null">
#{url,jdbcType=VARCHAR},
</if>
<if test="requestParameters != null">
#{requestParameters,jdbcType=VARCHAR},
</if>
<if test="result != null">
#{result,jdbcType=VARCHAR},
</if>
<if test="status != null">
#{status,jdbcType=NUMERIC},
</if>
<if test="remark != null">
#{remark,jdbcType=CLOB},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultType="java.lang.Long">
select count(*) from T_LOG_OPERATION
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update T_LOG_OPERATION
<set>
<if test="record.id != null">
ID = #{record.id,jdbcType=NUMERIC},
</if>
<if test="record.userId != null">
USER_ID = #{record.userId,jdbcType=NUMERIC},
</if>
<if test="record.userName != null">
USER_NAME = #{record.userName,jdbcType=VARCHAR},
</if>
<if test="record.module != null">
MODULE = #{record.module,jdbcType=VARCHAR},
</if>
<if test="record.describe != null">
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.url != null">
URL = #{record.url,jdbcType=VARCHAR},
</if>
<if test="record.requestParameters != null">
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
</if>
<if test="record.result != null">
RESULT = #{record.result,jdbcType=VARCHAR},
</if>
<if test="record.status != null">
STATUS = #{record.status,jdbcType=NUMERIC},
</if>
<if test="record.remark != null">
REMARK = #{record.remark,jdbcType=CLOB},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update T_LOG_OPERATION
set ID = #{record.id,jdbcType=NUMERIC},
USER_ID = #{record.userId,jdbcType=NUMERIC},
USER_NAME = #{record.userName,jdbcType=VARCHAR},
MODULE = #{record.module,jdbcType=VARCHAR},
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
URL = #{record.url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
RESULT = #{record.result,jdbcType=VARCHAR},
STATUS = #{record.status,jdbcType=NUMERIC},
REMARK = #{record.remark,jdbcType=CLOB}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update T_LOG_OPERATION
set ID = #{record.id,jdbcType=NUMERIC},
USER_ID = #{record.userId,jdbcType=NUMERIC},
USER_NAME = #{record.userName,jdbcType=VARCHAR},
MODULE = #{record.module,jdbcType=VARCHAR},
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
URL = #{record.url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
RESULT = #{record.result,jdbcType=VARCHAR},
STATUS = #{record.status,jdbcType=NUMERIC}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.Operation">
update T_LOG_OPERATION
<set>
<if test="userId != null">
USER_ID = #{userId,jdbcType=NUMERIC},
</if>
<if test="userName != null">
USER_NAME = #{userName,jdbcType=VARCHAR},
</if>
<if test="module != null">
MODULE = #{module,jdbcType=VARCHAR},
</if>
<if test="describe != null">
DESCRIBE = #{describe,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="url != null">
URL = #{url,jdbcType=VARCHAR},
</if>
<if test="requestParameters != null">
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
</if>
<if test="result != null">
RESULT = #{result,jdbcType=VARCHAR},
</if>
<if test="status != null">
STATUS = #{status,jdbcType=NUMERIC},
</if>
<if test="remark != null">
REMARK = #{remark,jdbcType=CLOB},
</if>
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.Operation">
update T_LOG_OPERATION
set USER_ID = #{userId,jdbcType=NUMERIC},
USER_NAME = #{userName,jdbcType=VARCHAR},
MODULE = #{module,jdbcType=VARCHAR},
DESCRIBE = #{describe,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
URL = #{url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
RESULT = #{result,jdbcType=VARCHAR},
STATUS = #{status,jdbcType=NUMERIC},
REMARK = #{remark,jdbcType=CLOB}
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.Operation">
update T_LOG_OPERATION
set USER_ID = #{userId,jdbcType=NUMERIC},
USER_NAME = #{userName,jdbcType=VARCHAR},
MODULE = #{module,jdbcType=VARCHAR},
DESCRIBE = #{describe,jdbcType=VARCHAR},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
URL = #{url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
RESULT = #{result,jdbcType=VARCHAR},
STATUS = #{status,jdbcType=NUMERIC}
where ID = #{id,jdbcType=NUMERIC}
</update>
<sql id="OracleDialectPrefix">
<if test="limitStart != null and limitStart&gt;=0">
select * from ( select row_.*, rownum rownum_ from (
</if>
</sql>
<sql id="OracleDialectSuffix">
<if test="limitStart != null and limitStart&gt;=0">
<![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
</if>
</sql>
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.log.Operation">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="USER_ID" jdbcType="NUMERIC" property="userId" />
<result column="LOGIN_NAME" jdbcType="VARCHAR" property="loginName" />
<result column="USER_NAME" jdbcType="VARCHAR" property="userName" />
<result column="MODULE" jdbcType="VARCHAR" property="module" />
<result column="DESCRIBE" jdbcType="VARCHAR" property="describe" />
<result column="URL" jdbcType="VARCHAR" property="url" />
<result column="REQUEST_PARAMETERS" jdbcType="VARCHAR" property="requestParameters" />
<result column="RESULT" jdbcType="VARCHAR" property="result" />
<result column="STATUS" jdbcType="NUMERIC" property="status" />
<result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
<result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
<result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
<result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
<result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
<result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation">
<result column="REMARK" jdbcType="CLOB" property="remark" />
</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, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL, REQUEST_PARAMETERS, RESULT,
STATUS, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
MODIFY_USER_NAME
</sql>
<sql id="Blob_Column_List">
REMARK
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from T_LOG_OPERATION
<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.log.OperationExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
distinct
</if>
'true' as QUERYID,
<include refid="Base_Column_List" />
from T_LOG_OPERATION
<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_LOG_OPERATION
where ID = #{id,jdbcType=NUMERIC}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from T_LOG_OPERATION
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.log.OperationExample">
delete from T_LOG_OPERATION
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.log.Operation">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
</selectKey>
insert into T_LOG_OPERATION (ID, USER_ID, LOGIN_NAME,
USER_NAME, MODULE, DESCRIBE,
URL, REQUEST_PARAMETERS, RESULT,
STATUS, CREATE_TIME, CREATE_USER_ID,
CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
MODIFY_USER_NAME, REMARK)
values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
#{status,jdbcType=NUMERIC}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
#{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC},
#{modifyUserName,jdbcType=VARCHAR}, #{remark,jdbcType=CLOB})
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
</selectKey>
insert into T_LOG_OPERATION
<trim prefix="(" suffix=")" suffixOverrides=",">
ID,
<if test="userId != null">
USER_ID,
</if>
<if test="loginName != null">
LOGIN_NAME,
</if>
<if test="userName != null">
USER_NAME,
</if>
<if test="module != null">
MODULE,
</if>
<if test="describe != null">
DESCRIBE,
</if>
<if test="url != null">
URL,
</if>
<if test="requestParameters != null">
REQUEST_PARAMETERS,
</if>
<if test="result != null">
RESULT,
</if>
<if test="status != null">
STATUS,
</if>
<if test="createTime != null">
CREATE_TIME,
</if>
<if test="createUserId != null">
CREATE_USER_ID,
</if>
<if test="createUserName != null">
CREATE_USER_NAME,
</if>
<if test="modifyTime != null">
MODIFY_TIME,
</if>
<if test="modifyUserId != null">
MODIFY_USER_ID,
</if>
<if test="modifyUserName != null">
MODIFY_USER_NAME,
</if>
<if test="remark != null">
REMARK,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{id,jdbcType=NUMERIC},
<if test="userId != null">
#{userId,jdbcType=NUMERIC},
</if>
<if test="loginName != null">
#{loginName,jdbcType=VARCHAR},
</if>
<if test="userName != null">
#{userName,jdbcType=VARCHAR},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
<if test="describe != null">
#{describe,jdbcType=VARCHAR},
</if>
<if test="url != null">
#{url,jdbcType=VARCHAR},
</if>
<if test="requestParameters != null">
#{requestParameters,jdbcType=VARCHAR},
</if>
<if test="result != null">
#{result,jdbcType=VARCHAR},
</if>
<if test="status != null">
#{status,jdbcType=NUMERIC},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="createUserId != null">
#{createUserId,jdbcType=NUMERIC},
</if>
<if test="createUserName != null">
#{createUserName,jdbcType=VARCHAR},
</if>
<if test="modifyTime != null">
#{modifyTime,jdbcType=TIMESTAMP},
</if>
<if test="modifyUserId != null">
#{modifyUserId,jdbcType=NUMERIC},
</if>
<if test="modifyUserName != null">
#{modifyUserName,jdbcType=VARCHAR},
</if>
<if test="remark != null">
#{remark,jdbcType=CLOB},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultType="java.lang.Long">
select count(*) from T_LOG_OPERATION
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update T_LOG_OPERATION
<set>
<if test="record.id != null">
ID = #{record.id,jdbcType=NUMERIC},
</if>
<if test="record.userId != null">
USER_ID = #{record.userId,jdbcType=NUMERIC},
</if>
<if test="record.loginName != null">
LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
</if>
<if test="record.userName != null">
USER_NAME = #{record.userName,jdbcType=VARCHAR},
</if>
<if test="record.module != null">
MODULE = #{record.module,jdbcType=VARCHAR},
</if>
<if test="record.describe != null">
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
</if>
<if test="record.url != null">
URL = #{record.url,jdbcType=VARCHAR},
</if>
<if test="record.requestParameters != null">
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
</if>
<if test="record.result != null">
RESULT = #{record.result,jdbcType=VARCHAR},
</if>
<if test="record.status != null">
STATUS = #{record.status,jdbcType=NUMERIC},
</if>
<if test="record.createTime != null">
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.createUserId != null">
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
</if>
<if test="record.createUserName != null">
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
</if>
<if test="record.modifyTime != null">
MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
</if>
<if test="record.modifyUserId != null">
MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
</if>
<if test="record.modifyUserName != null">
MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
</if>
<if test="record.remark != null">
REMARK = #{record.remark,jdbcType=CLOB},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update T_LOG_OPERATION
set ID = #{record.id,jdbcType=NUMERIC},
USER_ID = #{record.userId,jdbcType=NUMERIC},
LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
USER_NAME = #{record.userName,jdbcType=VARCHAR},
MODULE = #{record.module,jdbcType=VARCHAR},
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
URL = #{record.url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
RESULT = #{record.result,jdbcType=VARCHAR},
STATUS = #{record.status,jdbcType=NUMERIC},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
REMARK = #{record.remark,jdbcType=CLOB}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update T_LOG_OPERATION
set ID = #{record.id,jdbcType=NUMERIC},
USER_ID = #{record.userId,jdbcType=NUMERIC},
LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
USER_NAME = #{record.userName,jdbcType=VARCHAR},
MODULE = #{record.module,jdbcType=VARCHAR},
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
URL = #{record.url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
RESULT = #{record.result,jdbcType=VARCHAR},
STATUS = #{record.status,jdbcType=NUMERIC},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.Operation">
update T_LOG_OPERATION
<set>
<if test="userId != null">
USER_ID = #{userId,jdbcType=NUMERIC},
</if>
<if test="loginName != null">
LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
</if>
<if test="userName != null">
USER_NAME = #{userName,jdbcType=VARCHAR},
</if>
<if test="module != null">
MODULE = #{module,jdbcType=VARCHAR},
</if>
<if test="describe != null">
DESCRIBE = #{describe,jdbcType=VARCHAR},
</if>
<if test="url != null">
URL = #{url,jdbcType=VARCHAR},
</if>
<if test="requestParameters != null">
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
</if>
<if test="result != null">
RESULT = #{result,jdbcType=VARCHAR},
</if>
<if test="status != null">
STATUS = #{status,jdbcType=NUMERIC},
</if>
<if test="createTime != null">
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="createUserId != null">
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
</if>
<if test="createUserName != null">
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
</if>
<if test="modifyTime != null">
MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
</if>
<if test="modifyUserId != null">
MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
</if>
<if test="modifyUserName != null">
MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
</if>
<if test="remark != null">
REMARK = #{remark,jdbcType=CLOB},
</if>
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.Operation">
update T_LOG_OPERATION
set USER_ID = #{userId,jdbcType=NUMERIC},
LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
USER_NAME = #{userName,jdbcType=VARCHAR},
MODULE = #{module,jdbcType=VARCHAR},
DESCRIBE = #{describe,jdbcType=VARCHAR},
URL = #{url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
RESULT = #{result,jdbcType=VARCHAR},
STATUS = #{status,jdbcType=NUMERIC},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
REMARK = #{remark,jdbcType=CLOB}
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.Operation">
update T_LOG_OPERATION
set USER_ID = #{userId,jdbcType=NUMERIC},
LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
USER_NAME = #{userName,jdbcType=VARCHAR},
MODULE = #{module,jdbcType=VARCHAR},
DESCRIBE = #{describe,jdbcType=VARCHAR},
URL = #{url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
RESULT = #{result,jdbcType=VARCHAR},
STATUS = #{status,jdbcType=NUMERIC},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
where ID = #{id,jdbcType=NUMERIC}
</update>
<sql id="OracleDialectPrefix">
<if test="limitStart != null and limitStart&gt;=0">
select * from ( select row_.*, rownum rownum_ from (
</if>
</sql>
<sql id="OracleDialectSuffix">
<if test="limitStart != null and limitStart&gt;=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.log;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: 邮件发送历史日志表
* TABLE: T_LOG_EMAIL_HISTORY
*/
public class EmailHistory implements Serializable {
/**
* ID,主键自增
*/
private Long id;
/**
* 业务ID
*/
private Long bizId;
/**
* 业务编号(业务相关的编号:例如运单号)
*/
private String bizCode;
/**
* 收件人邮箱
*/
private String toAddress;
/**
* 抄送人邮箱
*/
private String ccAddress;
/**
* 邮件标题
*/
private String subject;
/**
* 邮件类型ID,关联数据字典表。指定字典目录CODE:EMAIL_TYPE
*/
private Long typeId;
/**
* 邮件类型名称
*/
private String typeName;
/**
* 邮件状态ID,关联数据字典表。指定字典目录CODE:EMAIL_STATUS
*/
private Long statusId;
/**
* 邮件状态名称
*/
private String statusName;
/**
* 发送次数(0-3次)
*/
private Long sendNum;
/**
* 邮件发送时间
*/
private Date sendTime;
/**
* 创建时间
*/
private Date createTime;
/**
* 创建人ID,关联用户表ID
*/
private Long createUserId;
/**
* 创建人名称
*/
private String createUserName;
/**
* 修改时间
*/
private Date modifyTime;
/**
* 修改人ID,关联用户表ID
*/
private Long modifyUserId;
/**
* 修改人名称
*/
private String modifyUserName;
/**
* 邮件内容
*/
private String body;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getBizId() {
return bizId;
}
public void setBizId(Long bizId) {
this.bizId = bizId;
}
public String getBizCode() {
return bizCode;
}
public void setBizCode(String bizCode) {
this.bizCode = bizCode == null ? null : bizCode.trim();
}
public String getToAddress() {
return toAddress;
}
public void setToAddress(String toAddress) {
this.toAddress = toAddress == null ? null : toAddress.trim();
}
public String getCcAddress() {
return ccAddress;
}
public void setCcAddress(String ccAddress) {
this.ccAddress = ccAddress == null ? null : ccAddress.trim();
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject == null ? null : subject.trim();
}
public Long getTypeId() {
return typeId;
}
public void setTypeId(Long typeId) {
this.typeId = typeId;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName == null ? null : typeName.trim();
}
public Long getStatusId() {
return statusId;
}
public void setStatusId(Long statusId) {
this.statusId = statusId;
}
public String getStatusName() {
return statusName;
}
public void setStatusName(String statusName) {
this.statusName = statusName == null ? null : statusName.trim();
}
public Long getSendNum() {
return sendNum;
}
public void setSendNum(Long sendNum) {
this.sendNum = sendNum;
}
public Date getSendTime() {
return sendTime;
}
public void setSendTime(Date sendTime) {
this.sendTime = sendTime;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Long getCreateUserId() {
return createUserId;
}
public void setCreateUserId(Long createUserId) {
this.createUserId = createUserId;
}
public String getCreateUserName() {
return createUserName;
}
public void setCreateUserName(String createUserName) {
this.createUserName = createUserName == null ? null : createUserName.trim();
}
public Date getModifyTime() {
return modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Long getModifyUserId() {
return modifyUserId;
}
public void setModifyUserId(Long modifyUserId) {
this.modifyUserId = modifyUserId;
}
public String getModifyUserName() {
return modifyUserName;
}
public void setModifyUserName(String modifyUserName) {
this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body == null ? null : body.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(", bizId=").append(bizId);
sb.append(", bizCode=").append(bizCode);
sb.append(", toAddress=").append(toAddress);
sb.append(", ccAddress=").append(ccAddress);
sb.append(", subject=").append(subject);
sb.append(", typeId=").append(typeId);
sb.append(", typeName=").append(typeName);
sb.append(", statusId=").append(statusId);
sb.append(", statusName=").append(statusName);
sb.append(", sendNum=").append(sendNum);
sb.append(", sendTime=").append(sendTime);
sb.append(", createTime=").append(createTime);
sb.append(", createUserId=").append(createUserId);
sb.append(", createUserName=").append(createUserName);
sb.append(", modifyTime=").append(modifyTime);
sb.append(", modifyUserId=").append(modifyUserId);
sb.append(", modifyUserName=").append(modifyUserName);
sb.append(", body=").append(body);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.log;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class EmailHistoryExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
protected Integer limitStart;
protected Integer limitSize;
public EmailHistoryExample() {
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 andBizIdIsNull() {
addCriterion("BIZ_ID is null");
return (Criteria) this;
}
public Criteria andBizIdIsNotNull() {
addCriterion("BIZ_ID is not null");
return (Criteria) this;
}
public Criteria andBizIdEqualTo(Long value) {
addCriterion("BIZ_ID =", value, "bizId");
return (Criteria) this;
}
public Criteria andBizIdNotEqualTo(Long value) {
addCriterion("BIZ_ID <>", value, "bizId");
return (Criteria) this;
}
public Criteria andBizIdGreaterThan(Long value) {
addCriterion("BIZ_ID >", value, "bizId");
return (Criteria) this;
}
public Criteria andBizIdGreaterThanOrEqualTo(Long value) {
addCriterion("BIZ_ID >=", value, "bizId");
return (Criteria) this;
}
public Criteria andBizIdLessThan(Long value) {
addCriterion("BIZ_ID <", value, "bizId");
return (Criteria) this;
}
public Criteria andBizIdLessThanOrEqualTo(Long value) {
addCriterion("BIZ_ID <=", value, "bizId");
return (Criteria) this;
}
public Criteria andBizIdIn(List<Long> values) {
addCriterion("BIZ_ID in", values, "bizId");
return (Criteria) this;
}
public Criteria andBizIdNotIn(List<Long> values) {
addCriterion("BIZ_ID not in", values, "bizId");
return (Criteria) this;
}
public Criteria andBizIdBetween(Long value1, Long value2) {
addCriterion("BIZ_ID between", value1, value2, "bizId");
return (Criteria) this;
}
public Criteria andBizIdNotBetween(Long value1, Long value2) {
addCriterion("BIZ_ID not between", value1, value2, "bizId");
return (Criteria) this;
}
public Criteria andBizCodeIsNull() {
addCriterion("BIZ_CODE is null");
return (Criteria) this;
}
public Criteria andBizCodeIsNotNull() {
addCriterion("BIZ_CODE is not null");
return (Criteria) this;
}
public Criteria andBizCodeEqualTo(String value) {
addCriterion("BIZ_CODE =", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeNotEqualTo(String value) {
addCriterion("BIZ_CODE <>", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeGreaterThan(String value) {
addCriterion("BIZ_CODE >", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeGreaterThanOrEqualTo(String value) {
addCriterion("BIZ_CODE >=", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeLessThan(String value) {
addCriterion("BIZ_CODE <", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeLessThanOrEqualTo(String value) {
addCriterion("BIZ_CODE <=", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeLike(String value) {
addCriterion("BIZ_CODE like", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeNotLike(String value) {
addCriterion("BIZ_CODE not like", value, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeIn(List<String> values) {
addCriterion("BIZ_CODE in", values, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeNotIn(List<String> values) {
addCriterion("BIZ_CODE not in", values, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeBetween(String value1, String value2) {
addCriterion("BIZ_CODE between", value1, value2, "bizCode");
return (Criteria) this;
}
public Criteria andBizCodeNotBetween(String value1, String value2) {
addCriterion("BIZ_CODE not between", value1, value2, "bizCode");
return (Criteria) this;
}
public Criteria andToAddressIsNull() {
addCriterion("TO_ADDRESS is null");
return (Criteria) this;
}
public Criteria andToAddressIsNotNull() {
addCriterion("TO_ADDRESS is not null");
return (Criteria) this;
}
public Criteria andToAddressEqualTo(String value) {
addCriterion("TO_ADDRESS =", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressNotEqualTo(String value) {
addCriterion("TO_ADDRESS <>", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressGreaterThan(String value) {
addCriterion("TO_ADDRESS >", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressGreaterThanOrEqualTo(String value) {
addCriterion("TO_ADDRESS >=", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressLessThan(String value) {
addCriterion("TO_ADDRESS <", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressLessThanOrEqualTo(String value) {
addCriterion("TO_ADDRESS <=", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressLike(String value) {
addCriterion("TO_ADDRESS like", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressNotLike(String value) {
addCriterion("TO_ADDRESS not like", value, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressIn(List<String> values) {
addCriterion("TO_ADDRESS in", values, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressNotIn(List<String> values) {
addCriterion("TO_ADDRESS not in", values, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressBetween(String value1, String value2) {
addCriterion("TO_ADDRESS between", value1, value2, "toAddress");
return (Criteria) this;
}
public Criteria andToAddressNotBetween(String value1, String value2) {
addCriterion("TO_ADDRESS not between", value1, value2, "toAddress");
return (Criteria) this;
}
public Criteria andCcAddressIsNull() {
addCriterion("CC_ADDRESS is null");
return (Criteria) this;
}
public Criteria andCcAddressIsNotNull() {
addCriterion("CC_ADDRESS is not null");
return (Criteria) this;
}
public Criteria andCcAddressEqualTo(String value) {
addCriterion("CC_ADDRESS =", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressNotEqualTo(String value) {
addCriterion("CC_ADDRESS <>", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressGreaterThan(String value) {
addCriterion("CC_ADDRESS >", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressGreaterThanOrEqualTo(String value) {
addCriterion("CC_ADDRESS >=", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressLessThan(String value) {
addCriterion("CC_ADDRESS <", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressLessThanOrEqualTo(String value) {
addCriterion("CC_ADDRESS <=", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressLike(String value) {
addCriterion("CC_ADDRESS like", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressNotLike(String value) {
addCriterion("CC_ADDRESS not like", value, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressIn(List<String> values) {
addCriterion("CC_ADDRESS in", values, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressNotIn(List<String> values) {
addCriterion("CC_ADDRESS not in", values, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressBetween(String value1, String value2) {
addCriterion("CC_ADDRESS between", value1, value2, "ccAddress");
return (Criteria) this;
}
public Criteria andCcAddressNotBetween(String value1, String value2) {
addCriterion("CC_ADDRESS not between", value1, value2, "ccAddress");
return (Criteria) this;
}
public Criteria andSubjectIsNull() {
addCriterion("SUBJECT is null");
return (Criteria) this;
}
public Criteria andSubjectIsNotNull() {
addCriterion("SUBJECT is not null");
return (Criteria) this;
}
public Criteria andSubjectEqualTo(String value) {
addCriterion("SUBJECT =", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectNotEqualTo(String value) {
addCriterion("SUBJECT <>", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectGreaterThan(String value) {
addCriterion("SUBJECT >", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectGreaterThanOrEqualTo(String value) {
addCriterion("SUBJECT >=", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectLessThan(String value) {
addCriterion("SUBJECT <", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectLessThanOrEqualTo(String value) {
addCriterion("SUBJECT <=", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectLike(String value) {
addCriterion("SUBJECT like", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectNotLike(String value) {
addCriterion("SUBJECT not like", value, "subject");
return (Criteria) this;
}
public Criteria andSubjectIn(List<String> values) {
addCriterion("SUBJECT in", values, "subject");
return (Criteria) this;
}
public Criteria andSubjectNotIn(List<String> values) {
addCriterion("SUBJECT not in", values, "subject");
return (Criteria) this;
}
public Criteria andSubjectBetween(String value1, String value2) {
addCriterion("SUBJECT between", value1, value2, "subject");
return (Criteria) this;
}
public Criteria andSubjectNotBetween(String value1, String value2) {
addCriterion("SUBJECT not between", value1, value2, "subject");
return (Criteria) this;
}
public Criteria andTypeIdIsNull() {
addCriterion("TYPE_ID is null");
return (Criteria) this;
}
public Criteria andTypeIdIsNotNull() {
addCriterion("TYPE_ID is not null");
return (Criteria) this;
}
public Criteria andTypeIdEqualTo(Long value) {
addCriterion("TYPE_ID =", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdNotEqualTo(Long value) {
addCriterion("TYPE_ID <>", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdGreaterThan(Long value) {
addCriterion("TYPE_ID >", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdGreaterThanOrEqualTo(Long value) {
addCriterion("TYPE_ID >=", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdLessThan(Long value) {
addCriterion("TYPE_ID <", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdLessThanOrEqualTo(Long value) {
addCriterion("TYPE_ID <=", value, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdIn(List<Long> values) {
addCriterion("TYPE_ID in", values, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdNotIn(List<Long> values) {
addCriterion("TYPE_ID not in", values, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdBetween(Long value1, Long value2) {
addCriterion("TYPE_ID between", value1, value2, "typeId");
return (Criteria) this;
}
public Criteria andTypeIdNotBetween(Long value1, Long value2) {
addCriterion("TYPE_ID not between", value1, value2, "typeId");
return (Criteria) this;
}
public Criteria andTypeNameIsNull() {
addCriterion("TYPE_NAME is null");
return (Criteria) this;
}
public Criteria andTypeNameIsNotNull() {
addCriterion("TYPE_NAME is not null");
return (Criteria) this;
}
public Criteria andTypeNameEqualTo(String value) {
addCriterion("TYPE_NAME =", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameNotEqualTo(String value) {
addCriterion("TYPE_NAME <>", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameGreaterThan(String value) {
addCriterion("TYPE_NAME >", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameGreaterThanOrEqualTo(String value) {
addCriterion("TYPE_NAME >=", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameLessThan(String value) {
addCriterion("TYPE_NAME <", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameLessThanOrEqualTo(String value) {
addCriterion("TYPE_NAME <=", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameLike(String value) {
addCriterion("TYPE_NAME like", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameNotLike(String value) {
addCriterion("TYPE_NAME not like", value, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameIn(List<String> values) {
addCriterion("TYPE_NAME in", values, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameNotIn(List<String> values) {
addCriterion("TYPE_NAME not in", values, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameBetween(String value1, String value2) {
addCriterion("TYPE_NAME between", value1, value2, "typeName");
return (Criteria) this;
}
public Criteria andTypeNameNotBetween(String value1, String value2) {
addCriterion("TYPE_NAME not between", value1, value2, "typeName");
return (Criteria) this;
}
public Criteria andStatusIdIsNull() {
addCriterion("STATUS_ID is null");
return (Criteria) this;
}
public Criteria andStatusIdIsNotNull() {
addCriterion("STATUS_ID is not null");
return (Criteria) this;
}
public Criteria andStatusIdEqualTo(Long value) {
addCriterion("STATUS_ID =", value, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdNotEqualTo(Long value) {
addCriterion("STATUS_ID <>", value, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdGreaterThan(Long value) {
addCriterion("STATUS_ID >", value, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdGreaterThanOrEqualTo(Long value) {
addCriterion("STATUS_ID >=", value, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdLessThan(Long value) {
addCriterion("STATUS_ID <", value, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdLessThanOrEqualTo(Long value) {
addCriterion("STATUS_ID <=", value, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdIn(List<Long> values) {
addCriterion("STATUS_ID in", values, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdNotIn(List<Long> values) {
addCriterion("STATUS_ID not in", values, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdBetween(Long value1, Long value2) {
addCriterion("STATUS_ID between", value1, value2, "statusId");
return (Criteria) this;
}
public Criteria andStatusIdNotBetween(Long value1, Long value2) {
addCriterion("STATUS_ID not between", value1, value2, "statusId");
return (Criteria) this;
}
public Criteria andStatusNameIsNull() {
addCriterion("STATUS_NAME is null");
return (Criteria) this;
}
public Criteria andStatusNameIsNotNull() {
addCriterion("STATUS_NAME is not null");
return (Criteria) this;
}
public Criteria andStatusNameEqualTo(String value) {
addCriterion("STATUS_NAME =", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameNotEqualTo(String value) {
addCriterion("STATUS_NAME <>", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameGreaterThan(String value) {
addCriterion("STATUS_NAME >", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameGreaterThanOrEqualTo(String value) {
addCriterion("STATUS_NAME >=", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameLessThan(String value) {
addCriterion("STATUS_NAME <", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameLessThanOrEqualTo(String value) {
addCriterion("STATUS_NAME <=", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameLike(String value) {
addCriterion("STATUS_NAME like", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameNotLike(String value) {
addCriterion("STATUS_NAME not like", value, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameIn(List<String> values) {
addCriterion("STATUS_NAME in", values, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameNotIn(List<String> values) {
addCriterion("STATUS_NAME not in", values, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameBetween(String value1, String value2) {
addCriterion("STATUS_NAME between", value1, value2, "statusName");
return (Criteria) this;
}
public Criteria andStatusNameNotBetween(String value1, String value2) {
addCriterion("STATUS_NAME not between", value1, value2, "statusName");
return (Criteria) this;
}
public Criteria andSendNumIsNull() {
addCriterion("SEND_NUM is null");
return (Criteria) this;
}
public Criteria andSendNumIsNotNull() {
addCriterion("SEND_NUM is not null");
return (Criteria) this;
}
public Criteria andSendNumEqualTo(Long value) {
addCriterion("SEND_NUM =", value, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumNotEqualTo(Long value) {
addCriterion("SEND_NUM <>", value, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumGreaterThan(Long value) {
addCriterion("SEND_NUM >", value, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumGreaterThanOrEqualTo(Long value) {
addCriterion("SEND_NUM >=", value, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumLessThan(Long value) {
addCriterion("SEND_NUM <", value, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumLessThanOrEqualTo(Long value) {
addCriterion("SEND_NUM <=", value, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumIn(List<Long> values) {
addCriterion("SEND_NUM in", values, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumNotIn(List<Long> values) {
addCriterion("SEND_NUM not in", values, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumBetween(Long value1, Long value2) {
addCriterion("SEND_NUM between", value1, value2, "sendNum");
return (Criteria) this;
}
public Criteria andSendNumNotBetween(Long value1, Long value2) {
addCriterion("SEND_NUM not between", value1, value2, "sendNum");
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 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 Criteria andCreateUserIdIsNull() {
addCriterion("CREATE_USER_ID is null");
return (Criteria) this;
}
public Criteria andCreateUserIdIsNotNull() {
addCriterion("CREATE_USER_ID is not null");
return (Criteria) this;
}
public Criteria andCreateUserIdEqualTo(Long value) {
addCriterion("CREATE_USER_ID =", value, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdNotEqualTo(Long value) {
addCriterion("CREATE_USER_ID <>", value, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdGreaterThan(Long value) {
addCriterion("CREATE_USER_ID >", value, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("CREATE_USER_ID >=", value, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdLessThan(Long value) {
addCriterion("CREATE_USER_ID <", value, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
addCriterion("CREATE_USER_ID <=", value, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdIn(List<Long> values) {
addCriterion("CREATE_USER_ID in", values, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdNotIn(List<Long> values) {
addCriterion("CREATE_USER_ID not in", values, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdBetween(Long value1, Long value2) {
addCriterion("CREATE_USER_ID between", value1, value2, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId");
return (Criteria) this;
}
public Criteria andCreateUserNameIsNull() {
addCriterion("CREATE_USER_NAME is null");
return (Criteria) this;
}
public Criteria andCreateUserNameIsNotNull() {
addCriterion("CREATE_USER_NAME is not null");
return (Criteria) this;
}
public Criteria andCreateUserNameEqualTo(String value) {
addCriterion("CREATE_USER_NAME =", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameNotEqualTo(String value) {
addCriterion("CREATE_USER_NAME <>", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameGreaterThan(String value) {
addCriterion("CREATE_USER_NAME >", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
addCriterion("CREATE_USER_NAME >=", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameLessThan(String value) {
addCriterion("CREATE_USER_NAME <", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
addCriterion("CREATE_USER_NAME <=", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameLike(String value) {
addCriterion("CREATE_USER_NAME like", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameNotLike(String value) {
addCriterion("CREATE_USER_NAME not like", value, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameIn(List<String> values) {
addCriterion("CREATE_USER_NAME in", values, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameNotIn(List<String> values) {
addCriterion("CREATE_USER_NAME not in", values, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameBetween(String value1, String value2) {
addCriterion("CREATE_USER_NAME between", value1, value2, "createUserName");
return (Criteria) this;
}
public Criteria andCreateUserNameNotBetween(String value1, String value2) {
addCriterion("CREATE_USER_NAME not between", value1, value2, "createUserName");
return (Criteria) this;
}
public Criteria andModifyTimeIsNull() {
addCriterion("MODIFY_TIME is null");
return (Criteria) this;
}
public Criteria andModifyTimeIsNotNull() {
addCriterion("MODIFY_TIME is not null");
return (Criteria) this;
}
public Criteria andModifyTimeEqualTo(Date value) {
addCriterion("MODIFY_TIME =", value, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeNotEqualTo(Date value) {
addCriterion("MODIFY_TIME <>", value, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeGreaterThan(Date value) {
addCriterion("MODIFY_TIME >", value, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
addCriterion("MODIFY_TIME >=", value, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeLessThan(Date value) {
addCriterion("MODIFY_TIME <", value, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
addCriterion("MODIFY_TIME <=", value, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeIn(List<Date> values) {
addCriterion("MODIFY_TIME in", values, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeNotIn(List<Date> values) {
addCriterion("MODIFY_TIME not in", values, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeBetween(Date value1, Date value2) {
addCriterion("MODIFY_TIME between", value1, value2, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
addCriterion("MODIFY_TIME not between", value1, value2, "modifyTime");
return (Criteria) this;
}
public Criteria andModifyUserIdIsNull() {
addCriterion("MODIFY_USER_ID is null");
return (Criteria) this;
}
public Criteria andModifyUserIdIsNotNull() {
addCriterion("MODIFY_USER_ID is not null");
return (Criteria) this;
}
public Criteria andModifyUserIdEqualTo(Long value) {
addCriterion("MODIFY_USER_ID =", value, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdNotEqualTo(Long value) {
addCriterion("MODIFY_USER_ID <>", value, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdGreaterThan(Long value) {
addCriterion("MODIFY_USER_ID >", value, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("MODIFY_USER_ID >=", value, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdLessThan(Long value) {
addCriterion("MODIFY_USER_ID <", value, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
addCriterion("MODIFY_USER_ID <=", value, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdIn(List<Long> values) {
addCriterion("MODIFY_USER_ID in", values, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdNotIn(List<Long> values) {
addCriterion("MODIFY_USER_ID not in", values, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdBetween(Long value1, Long value2) {
addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId");
return (Criteria) this;
}
public Criteria andModifyUserNameIsNull() {
addCriterion("MODIFY_USER_NAME is null");
return (Criteria) this;
}
public Criteria andModifyUserNameIsNotNull() {
addCriterion("MODIFY_USER_NAME is not null");
return (Criteria) this;
}
public Criteria andModifyUserNameEqualTo(String value) {
addCriterion("MODIFY_USER_NAME =", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameNotEqualTo(String value) {
addCriterion("MODIFY_USER_NAME <>", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameGreaterThan(String value) {
addCriterion("MODIFY_USER_NAME >", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameGreaterThanOrEqualTo(String value) {
addCriterion("MODIFY_USER_NAME >=", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameLessThan(String value) {
addCriterion("MODIFY_USER_NAME <", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameLessThanOrEqualTo(String value) {
addCriterion("MODIFY_USER_NAME <=", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameLike(String value) {
addCriterion("MODIFY_USER_NAME like", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameNotLike(String value) {
addCriterion("MODIFY_USER_NAME not like", value, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameIn(List<String> values) {
addCriterion("MODIFY_USER_NAME in", values, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameNotIn(List<String> values) {
addCriterion("MODIFY_USER_NAME not in", values, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameBetween(String value1, String value2) {
addCriterion("MODIFY_USER_NAME between", value1, value2, "modifyUserName");
return (Criteria) this;
}
public Criteria andModifyUserNameNotBetween(String value1, String value2) {
addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName");
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.log;
import java.io.Serializable;
import java.util.Date;
/**
* DESC: 操作日志
* TABLE: T_LOG_OPERATION
*/
public class Operation implements Serializable {
/**
* ID
*/
private Long id;
/**
* 操作人id
*/
private Long userId;
/**
* 操作人名称
*/
private String userName;
/**
* 操作模块
*/
private String module;
/**
* 操作描述
*/
private String describe;
/**
* 操作时间
*/
private Date createTime;
/**
* 请求路径
*/
private String url;
/**
* 请求参数
*/
private String requestParameters;
/**
* 操作结果
*/
private String result;
/**
* 状态 0-不展示 1-展示
*/
private Long status;
/**
* 备注
*/
private String remark;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName == null ? null : userName.trim();
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module == null ? null : module.trim();
}
public String getDescribe() {
return describe;
}
public void setDescribe(String describe) {
this.describe = describe == null ? null : describe.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url == null ? null : url.trim();
}
public String getRequestParameters() {
return requestParameters;
}
public void setRequestParameters(String requestParameters) {
this.requestParameters = requestParameters == null ? null : requestParameters.trim();
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result == null ? null : result.trim();
}
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();
}
@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(", userId=").append(userId);
sb.append(", userName=").append(userName);
sb.append(", module=").append(module);
sb.append(", describe=").append(describe);
sb.append(", createTime=").append(createTime);
sb.append(", url=").append(url);
sb.append(", requestParameters=").append(requestParameters);
sb.append(", result=").append(result);
sb.append(", status=").append(status);
sb.append(", remark=").append(remark);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.fedex.connect.common.model.log;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class OperationExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
protected Integer limitStart;
protected Integer limitSize;
public OperationExample() {
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 andUserIdIsNull() {
addCriterion("USER_ID is null");
return (Criteria) this;
}
public Criteria andUserIdIsNotNull() {
addCriterion("USER_ID is not null");
return (Criteria) this;
}
public Criteria andUserIdEqualTo(Long value) {
addCriterion("USER_ID =", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotEqualTo(Long value) {
addCriterion("USER_ID <>", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThan(Long value) {
addCriterion("USER_ID >", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("USER_ID >=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThan(Long value) {
addCriterion("USER_ID <", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThanOrEqualTo(Long value) {
addCriterion("USER_ID <=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<Long> values) {
addCriterion("USER_ID in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotIn(List<Long> values) {
addCriterion("USER_ID not in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdBetween(Long value1, Long value2) {
addCriterion("USER_ID between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotBetween(Long value1, Long value2) {
addCriterion("USER_ID not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andUserNameIsNull() {
addCriterion("USER_NAME is null");
return (Criteria) this;
}
public Criteria andUserNameIsNotNull() {
addCriterion("USER_NAME is not null");
return (Criteria) this;
}
public Criteria andUserNameEqualTo(String value) {
addCriterion("USER_NAME =", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameNotEqualTo(String value) {
addCriterion("USER_NAME <>", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameGreaterThan(String value) {
addCriterion("USER_NAME >", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameGreaterThanOrEqualTo(String value) {
addCriterion("USER_NAME >=", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameLessThan(String value) {
addCriterion("USER_NAME <", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameLessThanOrEqualTo(String value) {
addCriterion("USER_NAME <=", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameLike(String value) {
addCriterion("USER_NAME like", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameNotLike(String value) {
addCriterion("USER_NAME not like", value, "userName");
return (Criteria) this;
}
public Criteria andUserNameIn(List<String> values) {
addCriterion("USER_NAME in", values, "userName");
return (Criteria) this;
}
public Criteria andUserNameNotIn(List<String> values) {
addCriterion("USER_NAME not in", values, "userName");
return (Criteria) this;
}
public Criteria andUserNameBetween(String value1, String value2) {
addCriterion("USER_NAME between", value1, value2, "userName");
return (Criteria) this;
}
public Criteria andUserNameNotBetween(String value1, String value2) {
addCriterion("USER_NAME not between", value1, value2, "userName");
return (Criteria) this;
}
public Criteria andModuleIsNull() {
addCriterion("MODULE is null");
return (Criteria) this;
}
public Criteria andModuleIsNotNull() {
addCriterion("MODULE is not null");
return (Criteria) this;
}
public Criteria andModuleEqualTo(String value) {
addCriterion("MODULE =", value, "module");
return (Criteria) this;
}
public Criteria andModuleNotEqualTo(String value) {
addCriterion("MODULE <>", value, "module");
return (Criteria) this;
}
public Criteria andModuleGreaterThan(String value) {
addCriterion("MODULE >", value, "module");
return (Criteria) this;
}
public Criteria andModuleGreaterThanOrEqualTo(String value) {
addCriterion("MODULE >=", value, "module");
return (Criteria) this;
}
public Criteria andModuleLessThan(String value) {
addCriterion("MODULE <", value, "module");
return (Criteria) this;
}
public Criteria andModuleLessThanOrEqualTo(String value) {
addCriterion("MODULE <=", value, "module");
return (Criteria) this;
}
public Criteria andModuleLike(String value) {
addCriterion("MODULE like", value, "module");
return (Criteria) this;
}
public Criteria andModuleNotLike(String value) {
addCriterion("MODULE not like", value, "module");
return (Criteria) this;
}
public Criteria andModuleIn(List<String> values) {
addCriterion("MODULE in", values, "module");
return (Criteria) this;
}
public Criteria andModuleNotIn(List<String> values) {
addCriterion("MODULE not in", values, "module");
return (Criteria) this;
}
public Criteria andModuleBetween(String value1, String value2) {
addCriterion("MODULE between", value1, value2, "module");
return (Criteria) this;
}
public Criteria andModuleNotBetween(String value1, String value2) {
addCriterion("MODULE not between", value1, value2, "module");
return (Criteria) this;
}
public Criteria andDescribeIsNull() {
addCriterion("DESCRIBE is null");
return (Criteria) this;
}
public Criteria andDescribeIsNotNull() {
addCriterion("DESCRIBE is not null");
return (Criteria) this;
}
public Criteria andDescribeEqualTo(String value) {
addCriterion("DESCRIBE =", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeNotEqualTo(String value) {
addCriterion("DESCRIBE <>", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeGreaterThan(String value) {
addCriterion("DESCRIBE >", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeGreaterThanOrEqualTo(String value) {
addCriterion("DESCRIBE >=", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeLessThan(String value) {
addCriterion("DESCRIBE <", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeLessThanOrEqualTo(String value) {
addCriterion("DESCRIBE <=", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeLike(String value) {
addCriterion("DESCRIBE like", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeNotLike(String value) {
addCriterion("DESCRIBE not like", value, "describe");
return (Criteria) this;
}
public Criteria andDescribeIn(List<String> values) {
addCriterion("DESCRIBE in", values, "describe");
return (Criteria) this;
}
public Criteria andDescribeNotIn(List<String> values) {
addCriterion("DESCRIBE not in", values, "describe");
return (Criteria) this;
}
public Criteria andDescribeBetween(String value1, String value2) {
addCriterion("DESCRIBE between", value1, value2, "describe");
return (Criteria) this;
}
public Criteria andDescribeNotBetween(String value1, String value2) {
addCriterion("DESCRIBE not between", value1, value2, "describe");
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 Criteria andUrlIsNull() {
addCriterion("URL is null");
return (Criteria) this;
}
public Criteria andUrlIsNotNull() {
addCriterion("URL is not null");
return (Criteria) this;
}
public Criteria andUrlEqualTo(String value) {
addCriterion("URL =", value, "url");
return (Criteria) this;
}
public Criteria andUrlNotEqualTo(String value) {
addCriterion("URL <>", value, "url");
return (Criteria) this;
}
public Criteria andUrlGreaterThan(String value) {
addCriterion("URL >", value, "url");
return (Criteria) this;
}
public Criteria andUrlGreaterThanOrEqualTo(String value) {
addCriterion("URL >=", value, "url");
return (Criteria) this;
}
public Criteria andUrlLessThan(String value) {
addCriterion("URL <", value, "url");
return (Criteria) this;
}
public Criteria andUrlLessThanOrEqualTo(String value) {
addCriterion("URL <=", value, "url");
return (Criteria) this;
}
public Criteria andUrlLike(String value) {
addCriterion("URL like", value, "url");
return (Criteria) this;
}
public Criteria andUrlNotLike(String value) {
addCriterion("URL not like", value, "url");
return (Criteria) this;
}
public Criteria andUrlIn(List<String> values) {
addCriterion("URL in", values, "url");
return (Criteria) this;
}
public Criteria andUrlNotIn(List<String> values) {
addCriterion("URL not in", values, "url");
return (Criteria) this;
}
public Criteria andUrlBetween(String value1, String value2) {
addCriterion("URL between", value1, value2, "url");
return (Criteria) this;
}
public Criteria andUrlNotBetween(String value1, String value2) {
addCriterion("URL not between", value1, value2, "url");
return (Criteria) this;
}
public Criteria andRequestParametersIsNull() {
addCriterion("REQUEST_PARAMETERS is null");
return (Criteria) this;
}
public Criteria andRequestParametersIsNotNull() {
addCriterion("REQUEST_PARAMETERS is not null");
return (Criteria) this;
}
public Criteria andRequestParametersEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS =", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS <>", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersGreaterThan(String value) {
addCriterion("REQUEST_PARAMETERS >", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersGreaterThanOrEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS >=", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersLessThan(String value) {
addCriterion("REQUEST_PARAMETERS <", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersLessThanOrEqualTo(String value) {
addCriterion("REQUEST_PARAMETERS <=", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersLike(String value) {
addCriterion("REQUEST_PARAMETERS like", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotLike(String value) {
addCriterion("REQUEST_PARAMETERS not like", value, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersIn(List<String> values) {
addCriterion("REQUEST_PARAMETERS in", values, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotIn(List<String> values) {
addCriterion("REQUEST_PARAMETERS not in", values, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersBetween(String value1, String value2) {
addCriterion("REQUEST_PARAMETERS between", value1, value2, "requestParameters");
return (Criteria) this;
}
public Criteria andRequestParametersNotBetween(String value1, String value2) {
addCriterion("REQUEST_PARAMETERS not between", value1, value2, "requestParameters");
return (Criteria) this;
}
public Criteria andResultIsNull() {
addCriterion("RESULT is null");
return (Criteria) this;
}
public Criteria andResultIsNotNull() {
addCriterion("RESULT is not null");
return (Criteria) this;
}
public Criteria andResultEqualTo(String value) {
addCriterion("RESULT =", value, "result");
return (Criteria) this;
}
public Criteria andResultNotEqualTo(String value) {
addCriterion("RESULT <>", value, "result");
return (Criteria) this;
}
public Criteria andResultGreaterThan(String value) {
addCriterion("RESULT >", value, "result");
return (Criteria) this;
}
public Criteria andResultGreaterThanOrEqualTo(String value) {
addCriterion("RESULT >=", value, "result");
return (Criteria) this;
}
public Criteria andResultLessThan(String value) {
addCriterion("RESULT <", value, "result");
return (Criteria) this;
}
public Criteria andResultLessThanOrEqualTo(String value) {
addCriterion("RESULT <=", value, "result");
return (Criteria) this;
}
public Criteria andResultLike(String value) {
addCriterion("RESULT like", value, "result");
return (Criteria) this;
}
public Criteria andResultNotLike(String value) {
addCriterion("RESULT not like", value, "result");
return (Criteria) this;
}
public Criteria andResultIn(List<String> values) {
addCriterion("RESULT in", values, "result");
return (Criteria) this;
}
public Criteria andResultNotIn(List<String> values) {
addCriterion("RESULT not in", values, "result");
return (Criteria) this;
}
public Criteria andResultBetween(String value1, String value2) {
addCriterion("RESULT between", value1, value2, "result");
return (Criteria) this;
}
public Criteria andResultNotBetween(String value1, String value2) {
addCriterion("RESULT not between", value1, value2, "result");
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 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.biz" targetProject="src/main/java">
<javaModelGenerator targetPackage="com.fedex.connect.common.model.log" 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.biz" targetProject="src/main/java/com/fedex/connect/common">
<sqlMapGenerator targetPackage="mapper.log" 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.biz" targetProject="src/main/java">
<javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.log" targetProject="src/main/java">
<!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
<property name="enableSubPackages" value="false"/>
</javaClientGenerator>
......@@ -73,45 +73,61 @@
generatedKey 指定KEY,Oracle需要指定序列。
sqlStatement 指定序列名称
-->
<table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"
<table tableName="T_LOG_OPERATION" domainObjectName="Operation"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL" />
</table>
<table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"
<table tableName="T_LOG_EMAIL_HISTORY" domainObjectName="EmailHistory"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />
</table>
<table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />
</table>
<table tableName="T_BIZ_EMAIL" domainObjectName="Email"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_EMAIL.NEXTVAL FROM DUAL" />
</table>
<table tableName="T_BIZ_PUSH_OB" domainObjectName="PushOb"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB.NEXTVAL FROM DUAL" />
</table>
<table tableName="T_BIZ_PUSH_OB_DETAIL" domainObjectName="PushObDetail"
enableCountByExample="true" enableUpdateByExample="true"
enableDeleteByExample="true" enableSelectByExample="true"
selectByExampleQueryId="true">
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" />
<generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" />
</table>
<!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BIZ_EMAIL" domainObjectName="Email"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_EMAIL.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BIZ_PUSH_OB" domainObjectName="PushOb"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BIZ_PUSH_OB_DETAIL" domainObjectName="PushObDetail"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
<!-- selectByExampleQueryId="true">-->
<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" />-->
<!-- </table>-->
<!-- <table tableName="T_BI_PORTCLEAR_EMAIL_MAPPING" domainObjectName="PortclearEmailMapping"-->
<!-- enableCountByExample="true" enableUpdateByExample="true"-->
<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
......