zelong.shao

dao|log实体创建

1 +package com.fedex.connect.common.dao.log;
2 +
3 +import com.fedex.connect.common.model.log.EmailHistory;
4 +import com.fedex.connect.common.model.log.EmailHistoryExample;
5 +import org.apache.ibatis.annotations.Param;
6 +
7 +import java.util.List;
8 +
9 +public interface EmailHistoryMapper {
10 + long countByExample(EmailHistoryExample example);
11 +
12 + int deleteByExample(EmailHistoryExample example);
13 +
14 + int deleteByPrimaryKey(Long id);
15 +
16 + int insert(EmailHistory record);
17 +
18 + int insertSelective(EmailHistory record);
19 +
20 + List<EmailHistory> selectByExampleWithBLOBs(EmailHistoryExample example);
21 +
22 + List<EmailHistory> selectByExample(EmailHistoryExample example);
23 +
24 + EmailHistory selectByPrimaryKey(Long id);
25 +
26 + int updateByExampleSelective(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example);
27 +
28 + int updateByExampleWithBLOBs(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example);
29 +
30 + int updateByExample(@Param("record") EmailHistory record, @Param("example") EmailHistoryExample example);
31 +
32 + int updateByPrimaryKeySelective(EmailHistory record);
33 +
34 + int updateByPrimaryKeyWithBLOBs(EmailHistory record);
35 +
36 + int updateByPrimaryKey(EmailHistory record);
37 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.dao.log;
2 +
3 +import com.fedex.connect.common.model.log.Operation;
4 +import com.fedex.connect.common.model.log.OperationExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface OperationMapper {
9 + long countByExample(OperationExample example);
10 +
11 + int deleteByExample(OperationExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(Operation record);
16 +
17 + int insertSelective(Operation record);
18 +
19 + List<Operation> selectByExampleWithBLOBs(OperationExample example);
20 +
21 + List<Operation> selectByExample(OperationExample example);
22 +
23 + Operation selectByPrimaryKey(Long id);
24 +
25 + int updateByExampleSelective(@Param("record") Operation record, @Param("example") OperationExample example);
26 +
27 + int updateByExampleWithBLOBs(@Param("record") Operation record, @Param("example") OperationExample example);
28 +
29 + int updateByExample(@Param("record") Operation record, @Param("example") OperationExample example);
30 +
31 + int updateByPrimaryKeySelective(Operation record);
32 +
33 + int updateByPrimaryKeyWithBLOBs(Operation record);
34 +
35 + int updateByPrimaryKey(Operation record);
36 +}
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 +<mapper namespace="com.fedex.connect.common.dao.log.EmailHistoryMapper">
4 + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.log.EmailHistory">
5 + <id column="ID" jdbcType="NUMERIC" property="id" />
6 + <result column="BIZ_ID" jdbcType="NUMERIC" property="bizId" />
7 + <result column="BIZ_CODE" jdbcType="VARCHAR" property="bizCode" />
8 + <result column="TO_ADDRESS" jdbcType="VARCHAR" property="toAddress" />
9 + <result column="CC_ADDRESS" jdbcType="VARCHAR" property="ccAddress" />
10 + <result column="SUBJECT" jdbcType="VARCHAR" property="subject" />
11 + <result column="TYPE_ID" jdbcType="NUMERIC" property="typeId" />
12 + <result column="TYPE_NAME" jdbcType="VARCHAR" property="typeName" />
13 + <result column="STATUS_ID" jdbcType="NUMERIC" property="statusId" />
14 + <result column="STATUS_NAME" jdbcType="VARCHAR" property="statusName" />
15 + <result column="SEND_NUM" jdbcType="NUMERIC" property="sendNum" />
16 + <result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" />
17 + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
18 + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
19 + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
20 + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
21 + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
22 + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
23 + </resultMap>
24 + <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.EmailHistory">
25 + <result column="BODY" jdbcType="CLOB" property="body" />
26 + </resultMap>
27 + <sql id="Example_Where_Clause">
28 + <where>
29 + <foreach collection="oredCriteria" item="criteria" separator="or">
30 + <if test="criteria.valid">
31 + <trim prefix="(" prefixOverrides="and" suffix=")">
32 + <foreach collection="criteria.criteria" item="criterion">
33 + <choose>
34 + <when test="criterion.noValue">
35 + and ${criterion.condition}
36 + </when>
37 + <when test="criterion.singleValue">
38 + and ${criterion.condition} #{criterion.value}
39 + </when>
40 + <when test="criterion.betweenValue">
41 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
42 + </when>
43 + <when test="criterion.listValue">
44 + and ${criterion.condition}
45 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
46 + #{listItem}
47 + </foreach>
48 + </when>
49 + </choose>
50 + </foreach>
51 + </trim>
52 + </if>
53 + </foreach>
54 + </where>
55 + </sql>
56 + <sql id="Update_By_Example_Where_Clause">
57 + <where>
58 + <foreach collection="example.oredCriteria" item="criteria" separator="or">
59 + <if test="criteria.valid">
60 + <trim prefix="(" prefixOverrides="and" suffix=")">
61 + <foreach collection="criteria.criteria" item="criterion">
62 + <choose>
63 + <when test="criterion.noValue">
64 + and ${criterion.condition}
65 + </when>
66 + <when test="criterion.singleValue">
67 + and ${criterion.condition} #{criterion.value}
68 + </when>
69 + <when test="criterion.betweenValue">
70 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
71 + </when>
72 + <when test="criterion.listValue">
73 + and ${criterion.condition}
74 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
75 + #{listItem}
76 + </foreach>
77 + </when>
78 + </choose>
79 + </foreach>
80 + </trim>
81 + </if>
82 + </foreach>
83 + </where>
84 + </sql>
85 + <sql id="Base_Column_List">
86 + ID, BIZ_ID, BIZ_CODE, TO_ADDRESS, CC_ADDRESS, SUBJECT, TYPE_ID, TYPE_NAME, STATUS_ID,
87 + STATUS_NAME, SEND_NUM, SEND_TIME, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
88 + MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
89 + </sql>
90 + <sql id="Blob_Column_List">
91 + BODY
92 + </sql>
93 + <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample" resultMap="ResultMapWithBLOBs">
94 + select
95 + <if test="distinct">
96 + distinct
97 + </if>
98 + 'true' as QUERYID,
99 + <include refid="Base_Column_List" />
100 + ,
101 + <include refid="Blob_Column_List" />
102 + from T_LOG_EMAIL_HISTORY
103 + <if test="_parameter != null">
104 + <include refid="Example_Where_Clause" />
105 + </if>
106 + <if test="orderByClause != null">
107 + order by ${orderByClause}
108 + </if>
109 + </select>
110 + <select id="selectByExample" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample" resultMap="BaseResultMap">
111 + <include refid="OracleDialectPrefix" />
112 + select
113 + <if test="distinct">
114 + distinct
115 + </if>
116 + 'true' as QUERYID,
117 + <include refid="Base_Column_List" />
118 + from T_LOG_EMAIL_HISTORY
119 + <if test="_parameter != null">
120 + <include refid="Example_Where_Clause" />
121 + </if>
122 + <if test="orderByClause != null">
123 + order by ${orderByClause}
124 + </if>
125 + <include refid="OracleDialectSuffix" />
126 + </select>
127 + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
128 + select
129 + <include refid="Base_Column_List" />
130 + ,
131 + <include refid="Blob_Column_List" />
132 + from T_LOG_EMAIL_HISTORY
133 + where ID = #{id,jdbcType=NUMERIC}
134 + </select>
135 + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
136 + delete from T_LOG_EMAIL_HISTORY
137 + where ID = #{id,jdbcType=NUMERIC}
138 + </delete>
139 + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample">
140 + delete from T_LOG_EMAIL_HISTORY
141 + <if test="_parameter != null">
142 + <include refid="Example_Where_Clause" />
143 + </if>
144 + </delete>
145 + <insert id="insert" parameterType="com.fedex.connect.common.model.log.EmailHistory">
146 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
147 + SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL
148 + </selectKey>
149 + insert into T_LOG_EMAIL_HISTORY (ID, BIZ_ID, BIZ_CODE,
150 + TO_ADDRESS, CC_ADDRESS, SUBJECT,
151 + TYPE_ID, TYPE_NAME, STATUS_ID,
152 + STATUS_NAME, SEND_NUM, SEND_TIME,
153 + CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
154 + MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME,
155 + BODY)
156 + values (#{id,jdbcType=NUMERIC}, #{bizId,jdbcType=NUMERIC}, #{bizCode,jdbcType=VARCHAR},
157 + #{toAddress,jdbcType=VARCHAR}, #{ccAddress,jdbcType=VARCHAR}, #{subject,jdbcType=VARCHAR},
158 + #{typeId,jdbcType=NUMERIC}, #{typeName,jdbcType=VARCHAR}, #{statusId,jdbcType=NUMERIC},
159 + #{statusName,jdbcType=VARCHAR}, #{sendNum,jdbcType=NUMERIC}, #{sendTime,jdbcType=TIMESTAMP},
160 + #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR},
161 + #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR},
162 + #{body,jdbcType=CLOB})
163 + </insert>
164 + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.EmailHistory">
165 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
166 + SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL
167 + </selectKey>
168 + insert into T_LOG_EMAIL_HISTORY
169 + <trim prefix="(" suffix=")" suffixOverrides=",">
170 + ID,
171 + <if test="bizId != null">
172 + BIZ_ID,
173 + </if>
174 + <if test="bizCode != null">
175 + BIZ_CODE,
176 + </if>
177 + <if test="toAddress != null">
178 + TO_ADDRESS,
179 + </if>
180 + <if test="ccAddress != null">
181 + CC_ADDRESS,
182 + </if>
183 + <if test="subject != null">
184 + SUBJECT,
185 + </if>
186 + <if test="typeId != null">
187 + TYPE_ID,
188 + </if>
189 + <if test="typeName != null">
190 + TYPE_NAME,
191 + </if>
192 + <if test="statusId != null">
193 + STATUS_ID,
194 + </if>
195 + <if test="statusName != null">
196 + STATUS_NAME,
197 + </if>
198 + <if test="sendNum != null">
199 + SEND_NUM,
200 + </if>
201 + <if test="sendTime != null">
202 + SEND_TIME,
203 + </if>
204 + <if test="createTime != null">
205 + CREATE_TIME,
206 + </if>
207 + <if test="createUserId != null">
208 + CREATE_USER_ID,
209 + </if>
210 + <if test="createUserName != null">
211 + CREATE_USER_NAME,
212 + </if>
213 + <if test="modifyTime != null">
214 + MODIFY_TIME,
215 + </if>
216 + <if test="modifyUserId != null">
217 + MODIFY_USER_ID,
218 + </if>
219 + <if test="modifyUserName != null">
220 + MODIFY_USER_NAME,
221 + </if>
222 + <if test="body != null">
223 + BODY,
224 + </if>
225 + </trim>
226 + <trim prefix="values (" suffix=")" suffixOverrides=",">
227 + #{id,jdbcType=NUMERIC},
228 + <if test="bizId != null">
229 + #{bizId,jdbcType=NUMERIC},
230 + </if>
231 + <if test="bizCode != null">
232 + #{bizCode,jdbcType=VARCHAR},
233 + </if>
234 + <if test="toAddress != null">
235 + #{toAddress,jdbcType=VARCHAR},
236 + </if>
237 + <if test="ccAddress != null">
238 + #{ccAddress,jdbcType=VARCHAR},
239 + </if>
240 + <if test="subject != null">
241 + #{subject,jdbcType=VARCHAR},
242 + </if>
243 + <if test="typeId != null">
244 + #{typeId,jdbcType=NUMERIC},
245 + </if>
246 + <if test="typeName != null">
247 + #{typeName,jdbcType=VARCHAR},
248 + </if>
249 + <if test="statusId != null">
250 + #{statusId,jdbcType=NUMERIC},
251 + </if>
252 + <if test="statusName != null">
253 + #{statusName,jdbcType=VARCHAR},
254 + </if>
255 + <if test="sendNum != null">
256 + #{sendNum,jdbcType=NUMERIC},
257 + </if>
258 + <if test="sendTime != null">
259 + #{sendTime,jdbcType=TIMESTAMP},
260 + </if>
261 + <if test="createTime != null">
262 + #{createTime,jdbcType=TIMESTAMP},
263 + </if>
264 + <if test="createUserId != null">
265 + #{createUserId,jdbcType=NUMERIC},
266 + </if>
267 + <if test="createUserName != null">
268 + #{createUserName,jdbcType=VARCHAR},
269 + </if>
270 + <if test="modifyTime != null">
271 + #{modifyTime,jdbcType=TIMESTAMP},
272 + </if>
273 + <if test="modifyUserId != null">
274 + #{modifyUserId,jdbcType=NUMERIC},
275 + </if>
276 + <if test="modifyUserName != null">
277 + #{modifyUserName,jdbcType=VARCHAR},
278 + </if>
279 + <if test="body != null">
280 + #{body,jdbcType=CLOB},
281 + </if>
282 + </trim>
283 + </insert>
284 + <select id="countByExample" parameterType="com.fedex.connect.common.model.log.EmailHistoryExample" resultType="java.lang.Long">
285 + select count(*) from T_LOG_EMAIL_HISTORY
286 + <if test="_parameter != null">
287 + <include refid="Example_Where_Clause" />
288 + </if>
289 + </select>
290 + <update id="updateByExampleSelective" parameterType="map">
291 + update T_LOG_EMAIL_HISTORY
292 + <set>
293 + <if test="record.id != null">
294 + ID = #{record.id,jdbcType=NUMERIC},
295 + </if>
296 + <if test="record.bizId != null">
297 + BIZ_ID = #{record.bizId,jdbcType=NUMERIC},
298 + </if>
299 + <if test="record.bizCode != null">
300 + BIZ_CODE = #{record.bizCode,jdbcType=VARCHAR},
301 + </if>
302 + <if test="record.toAddress != null">
303 + TO_ADDRESS = #{record.toAddress,jdbcType=VARCHAR},
304 + </if>
305 + <if test="record.ccAddress != null">
306 + CC_ADDRESS = #{record.ccAddress,jdbcType=VARCHAR},
307 + </if>
308 + <if test="record.subject != null">
309 + SUBJECT = #{record.subject,jdbcType=VARCHAR},
310 + </if>
311 + <if test="record.typeId != null">
312 + TYPE_ID = #{record.typeId,jdbcType=NUMERIC},
313 + </if>
314 + <if test="record.typeName != null">
315 + TYPE_NAME = #{record.typeName,jdbcType=VARCHAR},
316 + </if>
317 + <if test="record.statusId != null">
318 + STATUS_ID = #{record.statusId,jdbcType=NUMERIC},
319 + </if>
320 + <if test="record.statusName != null">
321 + STATUS_NAME = #{record.statusName,jdbcType=VARCHAR},
322 + </if>
323 + <if test="record.sendNum != null">
324 + SEND_NUM = #{record.sendNum,jdbcType=NUMERIC},
325 + </if>
326 + <if test="record.sendTime != null">
327 + SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
328 + </if>
329 + <if test="record.createTime != null">
330 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
331 + </if>
332 + <if test="record.createUserId != null">
333 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
334 + </if>
335 + <if test="record.createUserName != null">
336 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
337 + </if>
338 + <if test="record.modifyTime != null">
339 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
340 + </if>
341 + <if test="record.modifyUserId != null">
342 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
343 + </if>
344 + <if test="record.modifyUserName != null">
345 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
346 + </if>
347 + <if test="record.body != null">
348 + BODY = #{record.body,jdbcType=CLOB},
349 + </if>
350 + </set>
351 + <if test="_parameter != null">
352 + <include refid="Update_By_Example_Where_Clause" />
353 + </if>
354 + </update>
355 + <update id="updateByExampleWithBLOBs" parameterType="map">
356 + update T_LOG_EMAIL_HISTORY
357 + set ID = #{record.id,jdbcType=NUMERIC},
358 + BIZ_ID = #{record.bizId,jdbcType=NUMERIC},
359 + BIZ_CODE = #{record.bizCode,jdbcType=VARCHAR},
360 + TO_ADDRESS = #{record.toAddress,jdbcType=VARCHAR},
361 + CC_ADDRESS = #{record.ccAddress,jdbcType=VARCHAR},
362 + SUBJECT = #{record.subject,jdbcType=VARCHAR},
363 + TYPE_ID = #{record.typeId,jdbcType=NUMERIC},
364 + TYPE_NAME = #{record.typeName,jdbcType=VARCHAR},
365 + STATUS_ID = #{record.statusId,jdbcType=NUMERIC},
366 + STATUS_NAME = #{record.statusName,jdbcType=VARCHAR},
367 + SEND_NUM = #{record.sendNum,jdbcType=NUMERIC},
368 + SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
369 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
370 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
371 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
372 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
373 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
374 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
375 + BODY = #{record.body,jdbcType=CLOB}
376 + <if test="_parameter != null">
377 + <include refid="Update_By_Example_Where_Clause" />
378 + </if>
379 + </update>
380 + <update id="updateByExample" parameterType="map">
381 + update T_LOG_EMAIL_HISTORY
382 + set ID = #{record.id,jdbcType=NUMERIC},
383 + BIZ_ID = #{record.bizId,jdbcType=NUMERIC},
384 + BIZ_CODE = #{record.bizCode,jdbcType=VARCHAR},
385 + TO_ADDRESS = #{record.toAddress,jdbcType=VARCHAR},
386 + CC_ADDRESS = #{record.ccAddress,jdbcType=VARCHAR},
387 + SUBJECT = #{record.subject,jdbcType=VARCHAR},
388 + TYPE_ID = #{record.typeId,jdbcType=NUMERIC},
389 + TYPE_NAME = #{record.typeName,jdbcType=VARCHAR},
390 + STATUS_ID = #{record.statusId,jdbcType=NUMERIC},
391 + STATUS_NAME = #{record.statusName,jdbcType=VARCHAR},
392 + SEND_NUM = #{record.sendNum,jdbcType=NUMERIC},
393 + SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP},
394 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
395 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
396 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
397 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
398 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
399 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
400 + <if test="_parameter != null">
401 + <include refid="Update_By_Example_Where_Clause" />
402 + </if>
403 + </update>
404 + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.EmailHistory">
405 + update T_LOG_EMAIL_HISTORY
406 + <set>
407 + <if test="bizId != null">
408 + BIZ_ID = #{bizId,jdbcType=NUMERIC},
409 + </if>
410 + <if test="bizCode != null">
411 + BIZ_CODE = #{bizCode,jdbcType=VARCHAR},
412 + </if>
413 + <if test="toAddress != null">
414 + TO_ADDRESS = #{toAddress,jdbcType=VARCHAR},
415 + </if>
416 + <if test="ccAddress != null">
417 + CC_ADDRESS = #{ccAddress,jdbcType=VARCHAR},
418 + </if>
419 + <if test="subject != null">
420 + SUBJECT = #{subject,jdbcType=VARCHAR},
421 + </if>
422 + <if test="typeId != null">
423 + TYPE_ID = #{typeId,jdbcType=NUMERIC},
424 + </if>
425 + <if test="typeName != null">
426 + TYPE_NAME = #{typeName,jdbcType=VARCHAR},
427 + </if>
428 + <if test="statusId != null">
429 + STATUS_ID = #{statusId,jdbcType=NUMERIC},
430 + </if>
431 + <if test="statusName != null">
432 + STATUS_NAME = #{statusName,jdbcType=VARCHAR},
433 + </if>
434 + <if test="sendNum != null">
435 + SEND_NUM = #{sendNum,jdbcType=NUMERIC},
436 + </if>
437 + <if test="sendTime != null">
438 + SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
439 + </if>
440 + <if test="createTime != null">
441 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
442 + </if>
443 + <if test="createUserId != null">
444 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
445 + </if>
446 + <if test="createUserName != null">
447 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
448 + </if>
449 + <if test="modifyTime != null">
450 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
451 + </if>
452 + <if test="modifyUserId != null">
453 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
454 + </if>
455 + <if test="modifyUserName != null">
456 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
457 + </if>
458 + <if test="body != null">
459 + BODY = #{body,jdbcType=CLOB},
460 + </if>
461 + </set>
462 + where ID = #{id,jdbcType=NUMERIC}
463 + </update>
464 + <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.EmailHistory">
465 + update T_LOG_EMAIL_HISTORY
466 + set BIZ_ID = #{bizId,jdbcType=NUMERIC},
467 + BIZ_CODE = #{bizCode,jdbcType=VARCHAR},
468 + TO_ADDRESS = #{toAddress,jdbcType=VARCHAR},
469 + CC_ADDRESS = #{ccAddress,jdbcType=VARCHAR},
470 + SUBJECT = #{subject,jdbcType=VARCHAR},
471 + TYPE_ID = #{typeId,jdbcType=NUMERIC},
472 + TYPE_NAME = #{typeName,jdbcType=VARCHAR},
473 + STATUS_ID = #{statusId,jdbcType=NUMERIC},
474 + STATUS_NAME = #{statusName,jdbcType=VARCHAR},
475 + SEND_NUM = #{sendNum,jdbcType=NUMERIC},
476 + SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
477 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
478 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
479 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
480 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
481 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
482 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
483 + BODY = #{body,jdbcType=CLOB}
484 + where ID = #{id,jdbcType=NUMERIC}
485 + </update>
486 + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.EmailHistory">
487 + update T_LOG_EMAIL_HISTORY
488 + set BIZ_ID = #{bizId,jdbcType=NUMERIC},
489 + BIZ_CODE = #{bizCode,jdbcType=VARCHAR},
490 + TO_ADDRESS = #{toAddress,jdbcType=VARCHAR},
491 + CC_ADDRESS = #{ccAddress,jdbcType=VARCHAR},
492 + SUBJECT = #{subject,jdbcType=VARCHAR},
493 + TYPE_ID = #{typeId,jdbcType=NUMERIC},
494 + TYPE_NAME = #{typeName,jdbcType=VARCHAR},
495 + STATUS_ID = #{statusId,jdbcType=NUMERIC},
496 + STATUS_NAME = #{statusName,jdbcType=VARCHAR},
497 + SEND_NUM = #{sendNum,jdbcType=NUMERIC},
498 + SEND_TIME = #{sendTime,jdbcType=TIMESTAMP},
499 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
500 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
501 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
502 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
503 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
504 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
505 + where ID = #{id,jdbcType=NUMERIC}
506 + </update>
507 + <sql id="OracleDialectPrefix">
508 + <if test="limitStart != null and limitStart>=0">
509 + select * from ( select row_.*, rownum rownum_ from (
510 + </if>
511 + </sql>
512 + <sql id="OracleDialectSuffix">
513 + <if test="limitStart != null and limitStart>=0">
514 + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
515 + </if>
516 + </sql>
517 +</mapper>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 +<mapper namespace="com.fedex.connect.common.dao.log.OperationMapper">
4 + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.log.Operation">
5 + <id column="ID" jdbcType="NUMERIC" property="id" />
6 + <result column="USER_ID" jdbcType="NUMERIC" property="userId" />
7 + <result column="USER_NAME" jdbcType="VARCHAR" property="userName" />
8 + <result column="MODULE" jdbcType="VARCHAR" property="module" />
9 + <result column="DESCRIBE" jdbcType="VARCHAR" property="describe" />
10 + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
11 + <result column="URL" jdbcType="VARCHAR" property="url" />
12 + <result column="REQUEST_PARAMETERS" jdbcType="VARCHAR" property="requestParameters" />
13 + <result column="RESULT" jdbcType="VARCHAR" property="result" />
14 + <result column="STATUS" jdbcType="NUMERIC" property="status" />
15 + </resultMap>
16 + <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation">
17 + <result column="REMARK" jdbcType="CLOB" property="remark" />
18 + </resultMap>
19 + <sql id="Example_Where_Clause">
20 + <where>
21 + <foreach collection="oredCriteria" item="criteria" separator="or">
22 + <if test="criteria.valid">
23 + <trim prefix="(" prefixOverrides="and" suffix=")">
24 + <foreach collection="criteria.criteria" item="criterion">
25 + <choose>
26 + <when test="criterion.noValue">
27 + and ${criterion.condition}
28 + </when>
29 + <when test="criterion.singleValue">
30 + and ${criterion.condition} #{criterion.value}
31 + </when>
32 + <when test="criterion.betweenValue">
33 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
34 + </when>
35 + <when test="criterion.listValue">
36 + and ${criterion.condition}
37 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
38 + #{listItem}
39 + </foreach>
40 + </when>
41 + </choose>
42 + </foreach>
43 + </trim>
44 + </if>
45 + </foreach>
46 + </where>
47 + </sql>
48 + <sql id="Update_By_Example_Where_Clause">
49 + <where>
50 + <foreach collection="example.oredCriteria" item="criteria" separator="or">
51 + <if test="criteria.valid">
52 + <trim prefix="(" prefixOverrides="and" suffix=")">
53 + <foreach collection="criteria.criteria" item="criterion">
54 + <choose>
55 + <when test="criterion.noValue">
56 + and ${criterion.condition}
57 + </when>
58 + <when test="criterion.singleValue">
59 + and ${criterion.condition} #{criterion.value}
60 + </when>
61 + <when test="criterion.betweenValue">
62 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
63 + </when>
64 + <when test="criterion.listValue">
65 + and ${criterion.condition}
66 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
67 + #{listItem}
68 + </foreach>
69 + </when>
70 + </choose>
71 + </foreach>
72 + </trim>
73 + </if>
74 + </foreach>
75 + </where>
76 + </sql>
77 + <sql id="Base_Column_List">
78 + ID, USER_ID, USER_NAME, MODULE, DESCRIBE, CREATE_TIME, URL, REQUEST_PARAMETERS, RESULT,
79 + STATUS
80 + </sql>
81 + <sql id="Blob_Column_List">
82 + REMARK
83 + </sql>
84 + <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="ResultMapWithBLOBs">
85 + select
86 + <if test="distinct">
87 + distinct
88 + </if>
89 + 'true' as QUERYID,
90 + <include refid="Base_Column_List" />
91 + ,
92 + <include refid="Blob_Column_List" />
93 + from T_LOG_OPERATION
94 + <if test="_parameter != null">
95 + <include refid="Example_Where_Clause" />
96 + </if>
97 + <if test="orderByClause != null">
98 + order by ${orderByClause}
99 + </if>
100 + </select>
101 + <select id="selectByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="BaseResultMap">
102 + <include refid="OracleDialectPrefix" />
103 + select
104 + <if test="distinct">
105 + distinct
106 + </if>
107 + 'true' as QUERYID,
108 + <include refid="Base_Column_List" />
109 + from T_LOG_OPERATION
110 + <if test="_parameter != null">
111 + <include refid="Example_Where_Clause" />
112 + </if>
113 + <if test="orderByClause != null">
114 + order by ${orderByClause}
115 + </if>
116 + <include refid="OracleDialectSuffix" />
117 + </select>
118 + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
119 + select
120 + <include refid="Base_Column_List" />
121 + ,
122 + <include refid="Blob_Column_List" />
123 + from T_LOG_OPERATION
124 + where ID = #{id,jdbcType=NUMERIC}
125 + </select>
126 + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
127 + delete from T_LOG_OPERATION
128 + where ID = #{id,jdbcType=NUMERIC}
129 + </delete>
130 + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.log.OperationExample">
131 + delete from T_LOG_OPERATION
132 + <if test="_parameter != null">
133 + <include refid="Example_Where_Clause" />
134 + </if>
135 + </delete>
136 + <insert id="insert" parameterType="com.fedex.connect.common.model.log.Operation">
137 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
138 + SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
139 + </selectKey>
140 + insert into T_LOG_OPERATION (ID, USER_ID, USER_NAME,
141 + MODULE, DESCRIBE, CREATE_TIME,
142 + URL, REQUEST_PARAMETERS, RESULT,
143 + STATUS, REMARK)
144 + values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{userName,jdbcType=VARCHAR},
145 + #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
146 + #{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
147 + #{status,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB})
148 + </insert>
149 + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation">
150 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
151 + SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
152 + </selectKey>
153 + insert into T_LOG_OPERATION
154 + <trim prefix="(" suffix=")" suffixOverrides=",">
155 + ID,
156 + <if test="userId != null">
157 + USER_ID,
158 + </if>
159 + <if test="userName != null">
160 + USER_NAME,
161 + </if>
162 + <if test="module != null">
163 + MODULE,
164 + </if>
165 + <if test="describe != null">
166 + DESCRIBE,
167 + </if>
168 + <if test="createTime != null">
169 + CREATE_TIME,
170 + </if>
171 + <if test="url != null">
172 + URL,
173 + </if>
174 + <if test="requestParameters != null">
175 + REQUEST_PARAMETERS,
176 + </if>
177 + <if test="result != null">
178 + RESULT,
179 + </if>
180 + <if test="status != null">
181 + STATUS,
182 + </if>
183 + <if test="remark != null">
184 + REMARK,
185 + </if>
186 + </trim>
187 + <trim prefix="values (" suffix=")" suffixOverrides=",">
188 + #{id,jdbcType=NUMERIC},
189 + <if test="userId != null">
190 + #{userId,jdbcType=NUMERIC},
191 + </if>
192 + <if test="userName != null">
193 + #{userName,jdbcType=VARCHAR},
194 + </if>
195 + <if test="module != null">
196 + #{module,jdbcType=VARCHAR},
197 + </if>
198 + <if test="describe != null">
199 + #{describe,jdbcType=VARCHAR},
200 + </if>
201 + <if test="createTime != null">
202 + #{createTime,jdbcType=TIMESTAMP},
203 + </if>
204 + <if test="url != null">
205 + #{url,jdbcType=VARCHAR},
206 + </if>
207 + <if test="requestParameters != null">
208 + #{requestParameters,jdbcType=VARCHAR},
209 + </if>
210 + <if test="result != null">
211 + #{result,jdbcType=VARCHAR},
212 + </if>
213 + <if test="status != null">
214 + #{status,jdbcType=NUMERIC},
215 + </if>
216 + <if test="remark != null">
217 + #{remark,jdbcType=CLOB},
218 + </if>
219 + </trim>
220 + </insert>
221 + <select id="countByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultType="java.lang.Long">
222 + select count(*) from T_LOG_OPERATION
223 + <if test="_parameter != null">
224 + <include refid="Example_Where_Clause" />
225 + </if>
226 + </select>
227 + <update id="updateByExampleSelective" parameterType="map">
228 + update T_LOG_OPERATION
229 + <set>
230 + <if test="record.id != null">
231 + ID = #{record.id,jdbcType=NUMERIC},
232 + </if>
233 + <if test="record.userId != null">
234 + USER_ID = #{record.userId,jdbcType=NUMERIC},
235 + </if>
236 + <if test="record.userName != null">
237 + USER_NAME = #{record.userName,jdbcType=VARCHAR},
238 + </if>
239 + <if test="record.module != null">
240 + MODULE = #{record.module,jdbcType=VARCHAR},
241 + </if>
242 + <if test="record.describe != null">
243 + DESCRIBE = #{record.describe,jdbcType=VARCHAR},
244 + </if>
245 + <if test="record.createTime != null">
246 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
247 + </if>
248 + <if test="record.url != null">
249 + URL = #{record.url,jdbcType=VARCHAR},
250 + </if>
251 + <if test="record.requestParameters != null">
252 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
253 + </if>
254 + <if test="record.result != null">
255 + RESULT = #{record.result,jdbcType=VARCHAR},
256 + </if>
257 + <if test="record.status != null">
258 + STATUS = #{record.status,jdbcType=NUMERIC},
259 + </if>
260 + <if test="record.remark != null">
261 + REMARK = #{record.remark,jdbcType=CLOB},
262 + </if>
263 + </set>
264 + <if test="_parameter != null">
265 + <include refid="Update_By_Example_Where_Clause" />
266 + </if>
267 + </update>
268 + <update id="updateByExampleWithBLOBs" parameterType="map">
269 + update T_LOG_OPERATION
270 + set ID = #{record.id,jdbcType=NUMERIC},
271 + USER_ID = #{record.userId,jdbcType=NUMERIC},
272 + USER_NAME = #{record.userName,jdbcType=VARCHAR},
273 + MODULE = #{record.module,jdbcType=VARCHAR},
274 + DESCRIBE = #{record.describe,jdbcType=VARCHAR},
275 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
276 + URL = #{record.url,jdbcType=VARCHAR},
277 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
278 + RESULT = #{record.result,jdbcType=VARCHAR},
279 + STATUS = #{record.status,jdbcType=NUMERIC},
280 + REMARK = #{record.remark,jdbcType=CLOB}
281 + <if test="_parameter != null">
282 + <include refid="Update_By_Example_Where_Clause" />
283 + </if>
284 + </update>
285 + <update id="updateByExample" parameterType="map">
286 + update T_LOG_OPERATION
287 + set ID = #{record.id,jdbcType=NUMERIC},
288 + USER_ID = #{record.userId,jdbcType=NUMERIC},
289 + USER_NAME = #{record.userName,jdbcType=VARCHAR},
290 + MODULE = #{record.module,jdbcType=VARCHAR},
291 + DESCRIBE = #{record.describe,jdbcType=VARCHAR},
292 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
293 + URL = #{record.url,jdbcType=VARCHAR},
294 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
295 + RESULT = #{record.result,jdbcType=VARCHAR},
296 + STATUS = #{record.status,jdbcType=NUMERIC}
297 + <if test="_parameter != null">
298 + <include refid="Update_By_Example_Where_Clause" />
299 + </if>
300 + </update>
301 + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.Operation">
302 + update T_LOG_OPERATION
303 + <set>
304 + <if test="userId != null">
305 + USER_ID = #{userId,jdbcType=NUMERIC},
306 + </if>
307 + <if test="userName != null">
308 + USER_NAME = #{userName,jdbcType=VARCHAR},
309 + </if>
310 + <if test="module != null">
311 + MODULE = #{module,jdbcType=VARCHAR},
312 + </if>
313 + <if test="describe != null">
314 + DESCRIBE = #{describe,jdbcType=VARCHAR},
315 + </if>
316 + <if test="createTime != null">
317 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
318 + </if>
319 + <if test="url != null">
320 + URL = #{url,jdbcType=VARCHAR},
321 + </if>
322 + <if test="requestParameters != null">
323 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
324 + </if>
325 + <if test="result != null">
326 + RESULT = #{result,jdbcType=VARCHAR},
327 + </if>
328 + <if test="status != null">
329 + STATUS = #{status,jdbcType=NUMERIC},
330 + </if>
331 + <if test="remark != null">
332 + REMARK = #{remark,jdbcType=CLOB},
333 + </if>
334 + </set>
335 + where ID = #{id,jdbcType=NUMERIC}
336 + </update>
337 + <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.Operation">
338 + update T_LOG_OPERATION
339 + set USER_ID = #{userId,jdbcType=NUMERIC},
340 + USER_NAME = #{userName,jdbcType=VARCHAR},
341 + MODULE = #{module,jdbcType=VARCHAR},
342 + DESCRIBE = #{describe,jdbcType=VARCHAR},
343 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
344 + URL = #{url,jdbcType=VARCHAR},
345 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
346 + RESULT = #{result,jdbcType=VARCHAR},
347 + STATUS = #{status,jdbcType=NUMERIC},
348 + REMARK = #{remark,jdbcType=CLOB}
349 + where ID = #{id,jdbcType=NUMERIC}
350 + </update>
351 + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.Operation">
352 + update T_LOG_OPERATION
353 + set USER_ID = #{userId,jdbcType=NUMERIC},
354 + USER_NAME = #{userName,jdbcType=VARCHAR},
355 + MODULE = #{module,jdbcType=VARCHAR},
356 + DESCRIBE = #{describe,jdbcType=VARCHAR},
357 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
358 + URL = #{url,jdbcType=VARCHAR},
359 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
360 + RESULT = #{result,jdbcType=VARCHAR},
361 + STATUS = #{status,jdbcType=NUMERIC}
362 + where ID = #{id,jdbcType=NUMERIC}
363 + </update>
364 + <sql id="OracleDialectPrefix">
365 + <if test="limitStart != null and limitStart&gt;=0">
366 + select * from ( select row_.*, rownum rownum_ from (
367 + </if>
368 + </sql>
369 + <sql id="OracleDialectSuffix">
370 + <if test="limitStart != null and limitStart&gt;=0">
371 + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
372 + </if>
373 + </sql>
374 + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.log.Operation">
375 + <id column="ID" jdbcType="NUMERIC" property="id" />
376 + <result column="USER_ID" jdbcType="NUMERIC" property="userId" />
377 + <result column="LOGIN_NAME" jdbcType="VARCHAR" property="loginName" />
378 + <result column="USER_NAME" jdbcType="VARCHAR" property="userName" />
379 + <result column="MODULE" jdbcType="VARCHAR" property="module" />
380 + <result column="DESCRIBE" jdbcType="VARCHAR" property="describe" />
381 + <result column="URL" jdbcType="VARCHAR" property="url" />
382 + <result column="REQUEST_PARAMETERS" jdbcType="VARCHAR" property="requestParameters" />
383 + <result column="RESULT" jdbcType="VARCHAR" property="result" />
384 + <result column="STATUS" jdbcType="NUMERIC" property="status" />
385 + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
386 + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
387 + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
388 + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
389 + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
390 + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
391 + </resultMap>
392 + <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation">
393 + <result column="REMARK" jdbcType="CLOB" property="remark" />
394 + </resultMap>
395 + <sql id="Example_Where_Clause">
396 + <where>
397 + <foreach collection="oredCriteria" item="criteria" separator="or">
398 + <if test="criteria.valid">
399 + <trim prefix="(" prefixOverrides="and" suffix=")">
400 + <foreach collection="criteria.criteria" item="criterion">
401 + <choose>
402 + <when test="criterion.noValue">
403 + and ${criterion.condition}
404 + </when>
405 + <when test="criterion.singleValue">
406 + and ${criterion.condition} #{criterion.value}
407 + </when>
408 + <when test="criterion.betweenValue">
409 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
410 + </when>
411 + <when test="criterion.listValue">
412 + and ${criterion.condition}
413 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
414 + #{listItem}
415 + </foreach>
416 + </when>
417 + </choose>
418 + </foreach>
419 + </trim>
420 + </if>
421 + </foreach>
422 + </where>
423 + </sql>
424 + <sql id="Update_By_Example_Where_Clause">
425 + <where>
426 + <foreach collection="example.oredCriteria" item="criteria" separator="or">
427 + <if test="criteria.valid">
428 + <trim prefix="(" prefixOverrides="and" suffix=")">
429 + <foreach collection="criteria.criteria" item="criterion">
430 + <choose>
431 + <when test="criterion.noValue">
432 + and ${criterion.condition}
433 + </when>
434 + <when test="criterion.singleValue">
435 + and ${criterion.condition} #{criterion.value}
436 + </when>
437 + <when test="criterion.betweenValue">
438 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
439 + </when>
440 + <when test="criterion.listValue">
441 + and ${criterion.condition}
442 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
443 + #{listItem}
444 + </foreach>
445 + </when>
446 + </choose>
447 + </foreach>
448 + </trim>
449 + </if>
450 + </foreach>
451 + </where>
452 + </sql>
453 + <sql id="Base_Column_List">
454 + ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL, REQUEST_PARAMETERS, RESULT,
455 + STATUS, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
456 + MODIFY_USER_NAME
457 + </sql>
458 + <sql id="Blob_Column_List">
459 + REMARK
460 + </sql>
461 + <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="ResultMapWithBLOBs">
462 + select
463 + <if test="distinct">
464 + distinct
465 + </if>
466 + 'true' as QUERYID,
467 + <include refid="Base_Column_List" />
468 + ,
469 + <include refid="Blob_Column_List" />
470 + from T_LOG_OPERATION
471 + <if test="_parameter != null">
472 + <include refid="Example_Where_Clause" />
473 + </if>
474 + <if test="orderByClause != null">
475 + order by ${orderByClause}
476 + </if>
477 + </select>
478 + <select id="selectByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="BaseResultMap">
479 + <include refid="OracleDialectPrefix" />
480 + select
481 + <if test="distinct">
482 + distinct
483 + </if>
484 + 'true' as QUERYID,
485 + <include refid="Base_Column_List" />
486 + from T_LOG_OPERATION
487 + <if test="_parameter != null">
488 + <include refid="Example_Where_Clause" />
489 + </if>
490 + <if test="orderByClause != null">
491 + order by ${orderByClause}
492 + </if>
493 + <include refid="OracleDialectSuffix" />
494 + </select>
495 + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
496 + select
497 + <include refid="Base_Column_List" />
498 + ,
499 + <include refid="Blob_Column_List" />
500 + from T_LOG_OPERATION
501 + where ID = #{id,jdbcType=NUMERIC}
502 + </select>
503 + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
504 + delete from T_LOG_OPERATION
505 + where ID = #{id,jdbcType=NUMERIC}
506 + </delete>
507 + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.log.OperationExample">
508 + delete from T_LOG_OPERATION
509 + <if test="_parameter != null">
510 + <include refid="Example_Where_Clause" />
511 + </if>
512 + </delete>
513 + <insert id="insert" parameterType="com.fedex.connect.common.model.log.Operation">
514 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
515 + SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
516 + </selectKey>
517 + insert into T_LOG_OPERATION (ID, USER_ID, LOGIN_NAME,
518 + USER_NAME, MODULE, DESCRIBE,
519 + URL, REQUEST_PARAMETERS, RESULT,
520 + STATUS, CREATE_TIME, CREATE_USER_ID,
521 + CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
522 + MODIFY_USER_NAME, REMARK)
523 + values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR},
524 + #{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR},
525 + #{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
526 + #{status,jdbcType=NUMERIC}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
527 + #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC},
528 + #{modifyUserName,jdbcType=VARCHAR}, #{remark,jdbcType=CLOB})
529 + </insert>
530 + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation">
531 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
532 + SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
533 + </selectKey>
534 + insert into T_LOG_OPERATION
535 + <trim prefix="(" suffix=")" suffixOverrides=",">
536 + ID,
537 + <if test="userId != null">
538 + USER_ID,
539 + </if>
540 + <if test="loginName != null">
541 + LOGIN_NAME,
542 + </if>
543 + <if test="userName != null">
544 + USER_NAME,
545 + </if>
546 + <if test="module != null">
547 + MODULE,
548 + </if>
549 + <if test="describe != null">
550 + DESCRIBE,
551 + </if>
552 + <if test="url != null">
553 + URL,
554 + </if>
555 + <if test="requestParameters != null">
556 + REQUEST_PARAMETERS,
557 + </if>
558 + <if test="result != null">
559 + RESULT,
560 + </if>
561 + <if test="status != null">
562 + STATUS,
563 + </if>
564 + <if test="createTime != null">
565 + CREATE_TIME,
566 + </if>
567 + <if test="createUserId != null">
568 + CREATE_USER_ID,
569 + </if>
570 + <if test="createUserName != null">
571 + CREATE_USER_NAME,
572 + </if>
573 + <if test="modifyTime != null">
574 + MODIFY_TIME,
575 + </if>
576 + <if test="modifyUserId != null">
577 + MODIFY_USER_ID,
578 + </if>
579 + <if test="modifyUserName != null">
580 + MODIFY_USER_NAME,
581 + </if>
582 + <if test="remark != null">
583 + REMARK,
584 + </if>
585 + </trim>
586 + <trim prefix="values (" suffix=")" suffixOverrides=",">
587 + #{id,jdbcType=NUMERIC},
588 + <if test="userId != null">
589 + #{userId,jdbcType=NUMERIC},
590 + </if>
591 + <if test="loginName != null">
592 + #{loginName,jdbcType=VARCHAR},
593 + </if>
594 + <if test="userName != null">
595 + #{userName,jdbcType=VARCHAR},
596 + </if>
597 + <if test="module != null">
598 + #{module,jdbcType=VARCHAR},
599 + </if>
600 + <if test="describe != null">
601 + #{describe,jdbcType=VARCHAR},
602 + </if>
603 + <if test="url != null">
604 + #{url,jdbcType=VARCHAR},
605 + </if>
606 + <if test="requestParameters != null">
607 + #{requestParameters,jdbcType=VARCHAR},
608 + </if>
609 + <if test="result != null">
610 + #{result,jdbcType=VARCHAR},
611 + </if>
612 + <if test="status != null">
613 + #{status,jdbcType=NUMERIC},
614 + </if>
615 + <if test="createTime != null">
616 + #{createTime,jdbcType=TIMESTAMP},
617 + </if>
618 + <if test="createUserId != null">
619 + #{createUserId,jdbcType=NUMERIC},
620 + </if>
621 + <if test="createUserName != null">
622 + #{createUserName,jdbcType=VARCHAR},
623 + </if>
624 + <if test="modifyTime != null">
625 + #{modifyTime,jdbcType=TIMESTAMP},
626 + </if>
627 + <if test="modifyUserId != null">
628 + #{modifyUserId,jdbcType=NUMERIC},
629 + </if>
630 + <if test="modifyUserName != null">
631 + #{modifyUserName,jdbcType=VARCHAR},
632 + </if>
633 + <if test="remark != null">
634 + #{remark,jdbcType=CLOB},
635 + </if>
636 + </trim>
637 + </insert>
638 + <select id="countByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultType="java.lang.Long">
639 + select count(*) from T_LOG_OPERATION
640 + <if test="_parameter != null">
641 + <include refid="Example_Where_Clause" />
642 + </if>
643 + </select>
644 + <update id="updateByExampleSelective" parameterType="map">
645 + update T_LOG_OPERATION
646 + <set>
647 + <if test="record.id != null">
648 + ID = #{record.id,jdbcType=NUMERIC},
649 + </if>
650 + <if test="record.userId != null">
651 + USER_ID = #{record.userId,jdbcType=NUMERIC},
652 + </if>
653 + <if test="record.loginName != null">
654 + LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
655 + </if>
656 + <if test="record.userName != null">
657 + USER_NAME = #{record.userName,jdbcType=VARCHAR},
658 + </if>
659 + <if test="record.module != null">
660 + MODULE = #{record.module,jdbcType=VARCHAR},
661 + </if>
662 + <if test="record.describe != null">
663 + DESCRIBE = #{record.describe,jdbcType=VARCHAR},
664 + </if>
665 + <if test="record.url != null">
666 + URL = #{record.url,jdbcType=VARCHAR},
667 + </if>
668 + <if test="record.requestParameters != null">
669 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
670 + </if>
671 + <if test="record.result != null">
672 + RESULT = #{record.result,jdbcType=VARCHAR},
673 + </if>
674 + <if test="record.status != null">
675 + STATUS = #{record.status,jdbcType=NUMERIC},
676 + </if>
677 + <if test="record.createTime != null">
678 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
679 + </if>
680 + <if test="record.createUserId != null">
681 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
682 + </if>
683 + <if test="record.createUserName != null">
684 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
685 + </if>
686 + <if test="record.modifyTime != null">
687 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
688 + </if>
689 + <if test="record.modifyUserId != null">
690 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
691 + </if>
692 + <if test="record.modifyUserName != null">
693 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
694 + </if>
695 + <if test="record.remark != null">
696 + REMARK = #{record.remark,jdbcType=CLOB},
697 + </if>
698 + </set>
699 + <if test="_parameter != null">
700 + <include refid="Update_By_Example_Where_Clause" />
701 + </if>
702 + </update>
703 + <update id="updateByExampleWithBLOBs" parameterType="map">
704 + update T_LOG_OPERATION
705 + set ID = #{record.id,jdbcType=NUMERIC},
706 + USER_ID = #{record.userId,jdbcType=NUMERIC},
707 + LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
708 + USER_NAME = #{record.userName,jdbcType=VARCHAR},
709 + MODULE = #{record.module,jdbcType=VARCHAR},
710 + DESCRIBE = #{record.describe,jdbcType=VARCHAR},
711 + URL = #{record.url,jdbcType=VARCHAR},
712 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
713 + RESULT = #{record.result,jdbcType=VARCHAR},
714 + STATUS = #{record.status,jdbcType=NUMERIC},
715 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
716 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
717 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
718 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
719 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
720 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
721 + REMARK = #{record.remark,jdbcType=CLOB}
722 + <if test="_parameter != null">
723 + <include refid="Update_By_Example_Where_Clause" />
724 + </if>
725 + </update>
726 + <update id="updateByExample" parameterType="map">
727 + update T_LOG_OPERATION
728 + set ID = #{record.id,jdbcType=NUMERIC},
729 + USER_ID = #{record.userId,jdbcType=NUMERIC},
730 + LOGIN_NAME = #{record.loginName,jdbcType=VARCHAR},
731 + USER_NAME = #{record.userName,jdbcType=VARCHAR},
732 + MODULE = #{record.module,jdbcType=VARCHAR},
733 + DESCRIBE = #{record.describe,jdbcType=VARCHAR},
734 + URL = #{record.url,jdbcType=VARCHAR},
735 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
736 + RESULT = #{record.result,jdbcType=VARCHAR},
737 + STATUS = #{record.status,jdbcType=NUMERIC},
738 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
739 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
740 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
741 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
742 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
743 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
744 + <if test="_parameter != null">
745 + <include refid="Update_By_Example_Where_Clause" />
746 + </if>
747 + </update>
748 + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.Operation">
749 + update T_LOG_OPERATION
750 + <set>
751 + <if test="userId != null">
752 + USER_ID = #{userId,jdbcType=NUMERIC},
753 + </if>
754 + <if test="loginName != null">
755 + LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
756 + </if>
757 + <if test="userName != null">
758 + USER_NAME = #{userName,jdbcType=VARCHAR},
759 + </if>
760 + <if test="module != null">
761 + MODULE = #{module,jdbcType=VARCHAR},
762 + </if>
763 + <if test="describe != null">
764 + DESCRIBE = #{describe,jdbcType=VARCHAR},
765 + </if>
766 + <if test="url != null">
767 + URL = #{url,jdbcType=VARCHAR},
768 + </if>
769 + <if test="requestParameters != null">
770 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
771 + </if>
772 + <if test="result != null">
773 + RESULT = #{result,jdbcType=VARCHAR},
774 + </if>
775 + <if test="status != null">
776 + STATUS = #{status,jdbcType=NUMERIC},
777 + </if>
778 + <if test="createTime != null">
779 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
780 + </if>
781 + <if test="createUserId != null">
782 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
783 + </if>
784 + <if test="createUserName != null">
785 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
786 + </if>
787 + <if test="modifyTime != null">
788 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
789 + </if>
790 + <if test="modifyUserId != null">
791 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
792 + </if>
793 + <if test="modifyUserName != null">
794 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
795 + </if>
796 + <if test="remark != null">
797 + REMARK = #{remark,jdbcType=CLOB},
798 + </if>
799 + </set>
800 + where ID = #{id,jdbcType=NUMERIC}
801 + </update>
802 + <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.Operation">
803 + update T_LOG_OPERATION
804 + set USER_ID = #{userId,jdbcType=NUMERIC},
805 + LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
806 + USER_NAME = #{userName,jdbcType=VARCHAR},
807 + MODULE = #{module,jdbcType=VARCHAR},
808 + DESCRIBE = #{describe,jdbcType=VARCHAR},
809 + URL = #{url,jdbcType=VARCHAR},
810 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
811 + RESULT = #{result,jdbcType=VARCHAR},
812 + STATUS = #{status,jdbcType=NUMERIC},
813 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
814 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
815 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
816 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
817 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
818 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
819 + REMARK = #{remark,jdbcType=CLOB}
820 + where ID = #{id,jdbcType=NUMERIC}
821 + </update>
822 + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.Operation">
823 + update T_LOG_OPERATION
824 + set USER_ID = #{userId,jdbcType=NUMERIC},
825 + LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
826 + USER_NAME = #{userName,jdbcType=VARCHAR},
827 + MODULE = #{module,jdbcType=VARCHAR},
828 + DESCRIBE = #{describe,jdbcType=VARCHAR},
829 + URL = #{url,jdbcType=VARCHAR},
830 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
831 + RESULT = #{result,jdbcType=VARCHAR},
832 + STATUS = #{status,jdbcType=NUMERIC},
833 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
834 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
835 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
836 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
837 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
838 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
839 + where ID = #{id,jdbcType=NUMERIC}
840 + </update>
841 + <sql id="OracleDialectPrefix">
842 + <if test="limitStart != null and limitStart&gt;=0">
843 + select * from ( select row_.*, rownum rownum_ from (
844 + </if>
845 + </sql>
846 + <sql id="OracleDialectSuffix">
847 + <if test="limitStart != null and limitStart&gt;=0">
848 + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
849 + </if>
850 + </sql>
851 +</mapper>
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.log;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: 邮件发送历史日志表
8 + * TABLE: T_LOG_EMAIL_HISTORY
9 + */
10 +public class EmailHistory implements Serializable {
11 + /**
12 + * ID,主键自增
13 + */
14 + private Long id;
15 +
16 + /**
17 + * 业务ID
18 + */
19 + private Long bizId;
20 +
21 + /**
22 + * 业务编号(业务相关的编号:例如运单号)
23 + */
24 + private String bizCode;
25 +
26 + /**
27 + * 收件人邮箱
28 + */
29 + private String toAddress;
30 +
31 + /**
32 + * 抄送人邮箱
33 + */
34 + private String ccAddress;
35 +
36 + /**
37 + * 邮件标题
38 + */
39 + private String subject;
40 +
41 + /**
42 + * 邮件类型ID,关联数据字典表。指定字典目录CODE:EMAIL_TYPE
43 + */
44 + private Long typeId;
45 +
46 + /**
47 + * 邮件类型名称
48 + */
49 + private String typeName;
50 +
51 + /**
52 + * 邮件状态ID,关联数据字典表。指定字典目录CODE:EMAIL_STATUS
53 + */
54 + private Long statusId;
55 +
56 + /**
57 + * 邮件状态名称
58 + */
59 + private String statusName;
60 +
61 + /**
62 + * 发送次数(0-3次)
63 + */
64 + private Long sendNum;
65 +
66 + /**
67 + * 邮件发送时间
68 + */
69 + private Date sendTime;
70 +
71 + /**
72 + * 创建时间
73 + */
74 + private Date createTime;
75 +
76 + /**
77 + * 创建人ID,关联用户表ID
78 + */
79 + private Long createUserId;
80 +
81 + /**
82 + * 创建人名称
83 + */
84 + private String createUserName;
85 +
86 + /**
87 + * 修改时间
88 + */
89 + private Date modifyTime;
90 +
91 + /**
92 + * 修改人ID,关联用户表ID
93 + */
94 + private Long modifyUserId;
95 +
96 + /**
97 + * 修改人名称
98 + */
99 + private String modifyUserName;
100 +
101 + /**
102 + * 邮件内容
103 + */
104 + private String body;
105 +
106 + private static final long serialVersionUID = 1L;
107 +
108 + public Long getId() {
109 + return id;
110 + }
111 +
112 + public void setId(Long id) {
113 + this.id = id;
114 + }
115 +
116 + public Long getBizId() {
117 + return bizId;
118 + }
119 +
120 + public void setBizId(Long bizId) {
121 + this.bizId = bizId;
122 + }
123 +
124 + public String getBizCode() {
125 + return bizCode;
126 + }
127 +
128 + public void setBizCode(String bizCode) {
129 + this.bizCode = bizCode == null ? null : bizCode.trim();
130 + }
131 +
132 + public String getToAddress() {
133 + return toAddress;
134 + }
135 +
136 + public void setToAddress(String toAddress) {
137 + this.toAddress = toAddress == null ? null : toAddress.trim();
138 + }
139 +
140 + public String getCcAddress() {
141 + return ccAddress;
142 + }
143 +
144 + public void setCcAddress(String ccAddress) {
145 + this.ccAddress = ccAddress == null ? null : ccAddress.trim();
146 + }
147 +
148 + public String getSubject() {
149 + return subject;
150 + }
151 +
152 + public void setSubject(String subject) {
153 + this.subject = subject == null ? null : subject.trim();
154 + }
155 +
156 + public Long getTypeId() {
157 + return typeId;
158 + }
159 +
160 + public void setTypeId(Long typeId) {
161 + this.typeId = typeId;
162 + }
163 +
164 + public String getTypeName() {
165 + return typeName;
166 + }
167 +
168 + public void setTypeName(String typeName) {
169 + this.typeName = typeName == null ? null : typeName.trim();
170 + }
171 +
172 + public Long getStatusId() {
173 + return statusId;
174 + }
175 +
176 + public void setStatusId(Long statusId) {
177 + this.statusId = statusId;
178 + }
179 +
180 + public String getStatusName() {
181 + return statusName;
182 + }
183 +
184 + public void setStatusName(String statusName) {
185 + this.statusName = statusName == null ? null : statusName.trim();
186 + }
187 +
188 + public Long getSendNum() {
189 + return sendNum;
190 + }
191 +
192 + public void setSendNum(Long sendNum) {
193 + this.sendNum = sendNum;
194 + }
195 +
196 + public Date getSendTime() {
197 + return sendTime;
198 + }
199 +
200 + public void setSendTime(Date sendTime) {
201 + this.sendTime = sendTime;
202 + }
203 +
204 + public Date getCreateTime() {
205 + return createTime;
206 + }
207 +
208 + public void setCreateTime(Date createTime) {
209 + this.createTime = createTime;
210 + }
211 +
212 + public Long getCreateUserId() {
213 + return createUserId;
214 + }
215 +
216 + public void setCreateUserId(Long createUserId) {
217 + this.createUserId = createUserId;
218 + }
219 +
220 + public String getCreateUserName() {
221 + return createUserName;
222 + }
223 +
224 + public void setCreateUserName(String createUserName) {
225 + this.createUserName = createUserName == null ? null : createUserName.trim();
226 + }
227 +
228 + public Date getModifyTime() {
229 + return modifyTime;
230 + }
231 +
232 + public void setModifyTime(Date modifyTime) {
233 + this.modifyTime = modifyTime;
234 + }
235 +
236 + public Long getModifyUserId() {
237 + return modifyUserId;
238 + }
239 +
240 + public void setModifyUserId(Long modifyUserId) {
241 + this.modifyUserId = modifyUserId;
242 + }
243 +
244 + public String getModifyUserName() {
245 + return modifyUserName;
246 + }
247 +
248 + public void setModifyUserName(String modifyUserName) {
249 + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
250 + }
251 +
252 + public String getBody() {
253 + return body;
254 + }
255 +
256 + public void setBody(String body) {
257 + this.body = body == null ? null : body.trim();
258 + }
259 +
260 + @Override
261 + public String toString() {
262 + StringBuilder sb = new StringBuilder();
263 + sb.append(getClass().getSimpleName());
264 + sb.append(" [");
265 + sb.append("Hash = ").append(hashCode());
266 + sb.append(", id=").append(id);
267 + sb.append(", bizId=").append(bizId);
268 + sb.append(", bizCode=").append(bizCode);
269 + sb.append(", toAddress=").append(toAddress);
270 + sb.append(", ccAddress=").append(ccAddress);
271 + sb.append(", subject=").append(subject);
272 + sb.append(", typeId=").append(typeId);
273 + sb.append(", typeName=").append(typeName);
274 + sb.append(", statusId=").append(statusId);
275 + sb.append(", statusName=").append(statusName);
276 + sb.append(", sendNum=").append(sendNum);
277 + sb.append(", sendTime=").append(sendTime);
278 + sb.append(", createTime=").append(createTime);
279 + sb.append(", createUserId=").append(createUserId);
280 + sb.append(", createUserName=").append(createUserName);
281 + sb.append(", modifyTime=").append(modifyTime);
282 + sb.append(", modifyUserId=").append(modifyUserId);
283 + sb.append(", modifyUserName=").append(modifyUserName);
284 + sb.append(", body=").append(body);
285 + sb.append(", serialVersionUID=").append(serialVersionUID);
286 + sb.append("]");
287 + return sb.toString();
288 + }
289 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.log;
2 +
3 +import java.util.ArrayList;
4 +import java.util.Date;
5 +import java.util.List;
6 +
7 +public class EmailHistoryExample {
8 + protected String orderByClause;
9 +
10 + protected boolean distinct;
11 +
12 + protected List<Criteria> oredCriteria;
13 +
14 + protected Integer limitStart;
15 +
16 + protected Integer limitSize;
17 +
18 + public EmailHistoryExample() {
19 + oredCriteria = new ArrayList<Criteria>();
20 + }
21 +
22 + public void setOrderByClause(String orderByClause) {
23 + this.orderByClause = orderByClause;
24 + }
25 +
26 + public String getOrderByClause() {
27 + return orderByClause;
28 + }
29 +
30 + public void setDistinct(boolean distinct) {
31 + this.distinct = distinct;
32 + }
33 +
34 + public boolean isDistinct() {
35 + return distinct;
36 + }
37 +
38 + public List<Criteria> getOredCriteria() {
39 + return oredCriteria;
40 + }
41 +
42 + public void or(Criteria criteria) {
43 + oredCriteria.add(criteria);
44 + }
45 +
46 + public Criteria or() {
47 + Criteria criteria = createCriteriaInternal();
48 + oredCriteria.add(criteria);
49 + return criteria;
50 + }
51 +
52 + public Criteria createCriteria() {
53 + Criteria criteria = createCriteriaInternal();
54 + if (oredCriteria.size() == 0) {
55 + oredCriteria.add(criteria);
56 + }
57 + return criteria;
58 + }
59 +
60 + protected Criteria createCriteriaInternal() {
61 + Criteria criteria = new Criteria();
62 + return criteria;
63 + }
64 +
65 + public void clear() {
66 + oredCriteria.clear();
67 + orderByClause = null;
68 + distinct = false;
69 + }
70 +
71 + public void setLimitStart(Integer limitStart) {
72 + this.limitStart=limitStart;
73 + }
74 +
75 + public Integer getLimitStart() {
76 + return limitStart;
77 + }
78 +
79 + public void setLimitSize(Integer limitSize) {
80 + this.limitSize=limitSize;
81 + }
82 +
83 + public Integer getLimitSize() {
84 + return limitSize;
85 + }
86 +
87 + protected abstract static class GeneratedCriteria {
88 + protected List<Criterion> criteria;
89 +
90 + protected GeneratedCriteria() {
91 + super();
92 + criteria = new ArrayList<Criterion>();
93 + }
94 +
95 + public boolean isValid() {
96 + return criteria.size() > 0;
97 + }
98 +
99 + public List<Criterion> getAllCriteria() {
100 + return criteria;
101 + }
102 +
103 + public List<Criterion> getCriteria() {
104 + return criteria;
105 + }
106 +
107 + protected void addCriterion(String condition) {
108 + if (condition == null) {
109 + throw new RuntimeException("Value for condition cannot be null");
110 + }
111 + criteria.add(new Criterion(condition));
112 + }
113 +
114 + protected void addCriterion(String condition, Object value, String property) {
115 + if (value == null) {
116 + throw new RuntimeException("Value for " + property + " cannot be null");
117 + }
118 + criteria.add(new Criterion(condition, value));
119 + }
120 +
121 + protected void addCriterion(String condition, Object value1, Object value2, String property) {
122 + if (value1 == null || value2 == null) {
123 + throw new RuntimeException("Between values for " + property + " cannot be null");
124 + }
125 + criteria.add(new Criterion(condition, value1, value2));
126 + }
127 +
128 + public Criteria andIdIsNull() {
129 + addCriterion("ID is null");
130 + return (Criteria) this;
131 + }
132 +
133 + public Criteria andIdIsNotNull() {
134 + addCriterion("ID is not null");
135 + return (Criteria) this;
136 + }
137 +
138 + public Criteria andIdEqualTo(Long value) {
139 + addCriterion("ID =", value, "id");
140 + return (Criteria) this;
141 + }
142 +
143 + public Criteria andIdNotEqualTo(Long value) {
144 + addCriterion("ID <>", value, "id");
145 + return (Criteria) this;
146 + }
147 +
148 + public Criteria andIdGreaterThan(Long value) {
149 + addCriterion("ID >", value, "id");
150 + return (Criteria) this;
151 + }
152 +
153 + public Criteria andIdGreaterThanOrEqualTo(Long value) {
154 + addCriterion("ID >=", value, "id");
155 + return (Criteria) this;
156 + }
157 +
158 + public Criteria andIdLessThan(Long value) {
159 + addCriterion("ID <", value, "id");
160 + return (Criteria) this;
161 + }
162 +
163 + public Criteria andIdLessThanOrEqualTo(Long value) {
164 + addCriterion("ID <=", value, "id");
165 + return (Criteria) this;
166 + }
167 +
168 + public Criteria andIdIn(List<Long> values) {
169 + addCriterion("ID in", values, "id");
170 + return (Criteria) this;
171 + }
172 +
173 + public Criteria andIdNotIn(List<Long> values) {
174 + addCriterion("ID not in", values, "id");
175 + return (Criteria) this;
176 + }
177 +
178 + public Criteria andIdBetween(Long value1, Long value2) {
179 + addCriterion("ID between", value1, value2, "id");
180 + return (Criteria) this;
181 + }
182 +
183 + public Criteria andIdNotBetween(Long value1, Long value2) {
184 + addCriterion("ID not between", value1, value2, "id");
185 + return (Criteria) this;
186 + }
187 +
188 + public Criteria andBizIdIsNull() {
189 + addCriterion("BIZ_ID is null");
190 + return (Criteria) this;
191 + }
192 +
193 + public Criteria andBizIdIsNotNull() {
194 + addCriterion("BIZ_ID is not null");
195 + return (Criteria) this;
196 + }
197 +
198 + public Criteria andBizIdEqualTo(Long value) {
199 + addCriterion("BIZ_ID =", value, "bizId");
200 + return (Criteria) this;
201 + }
202 +
203 + public Criteria andBizIdNotEqualTo(Long value) {
204 + addCriterion("BIZ_ID <>", value, "bizId");
205 + return (Criteria) this;
206 + }
207 +
208 + public Criteria andBizIdGreaterThan(Long value) {
209 + addCriterion("BIZ_ID >", value, "bizId");
210 + return (Criteria) this;
211 + }
212 +
213 + public Criteria andBizIdGreaterThanOrEqualTo(Long value) {
214 + addCriterion("BIZ_ID >=", value, "bizId");
215 + return (Criteria) this;
216 + }
217 +
218 + public Criteria andBizIdLessThan(Long value) {
219 + addCriterion("BIZ_ID <", value, "bizId");
220 + return (Criteria) this;
221 + }
222 +
223 + public Criteria andBizIdLessThanOrEqualTo(Long value) {
224 + addCriterion("BIZ_ID <=", value, "bizId");
225 + return (Criteria) this;
226 + }
227 +
228 + public Criteria andBizIdIn(List<Long> values) {
229 + addCriterion("BIZ_ID in", values, "bizId");
230 + return (Criteria) this;
231 + }
232 +
233 + public Criteria andBizIdNotIn(List<Long> values) {
234 + addCriterion("BIZ_ID not in", values, "bizId");
235 + return (Criteria) this;
236 + }
237 +
238 + public Criteria andBizIdBetween(Long value1, Long value2) {
239 + addCriterion("BIZ_ID between", value1, value2, "bizId");
240 + return (Criteria) this;
241 + }
242 +
243 + public Criteria andBizIdNotBetween(Long value1, Long value2) {
244 + addCriterion("BIZ_ID not between", value1, value2, "bizId");
245 + return (Criteria) this;
246 + }
247 +
248 + public Criteria andBizCodeIsNull() {
249 + addCriterion("BIZ_CODE is null");
250 + return (Criteria) this;
251 + }
252 +
253 + public Criteria andBizCodeIsNotNull() {
254 + addCriterion("BIZ_CODE is not null");
255 + return (Criteria) this;
256 + }
257 +
258 + public Criteria andBizCodeEqualTo(String value) {
259 + addCriterion("BIZ_CODE =", value, "bizCode");
260 + return (Criteria) this;
261 + }
262 +
263 + public Criteria andBizCodeNotEqualTo(String value) {
264 + addCriterion("BIZ_CODE <>", value, "bizCode");
265 + return (Criteria) this;
266 + }
267 +
268 + public Criteria andBizCodeGreaterThan(String value) {
269 + addCriterion("BIZ_CODE >", value, "bizCode");
270 + return (Criteria) this;
271 + }
272 +
273 + public Criteria andBizCodeGreaterThanOrEqualTo(String value) {
274 + addCriterion("BIZ_CODE >=", value, "bizCode");
275 + return (Criteria) this;
276 + }
277 +
278 + public Criteria andBizCodeLessThan(String value) {
279 + addCriterion("BIZ_CODE <", value, "bizCode");
280 + return (Criteria) this;
281 + }
282 +
283 + public Criteria andBizCodeLessThanOrEqualTo(String value) {
284 + addCriterion("BIZ_CODE <=", value, "bizCode");
285 + return (Criteria) this;
286 + }
287 +
288 + public Criteria andBizCodeLike(String value) {
289 + addCriterion("BIZ_CODE like", value, "bizCode");
290 + return (Criteria) this;
291 + }
292 +
293 + public Criteria andBizCodeNotLike(String value) {
294 + addCriterion("BIZ_CODE not like", value, "bizCode");
295 + return (Criteria) this;
296 + }
297 +
298 + public Criteria andBizCodeIn(List<String> values) {
299 + addCriterion("BIZ_CODE in", values, "bizCode");
300 + return (Criteria) this;
301 + }
302 +
303 + public Criteria andBizCodeNotIn(List<String> values) {
304 + addCriterion("BIZ_CODE not in", values, "bizCode");
305 + return (Criteria) this;
306 + }
307 +
308 + public Criteria andBizCodeBetween(String value1, String value2) {
309 + addCriterion("BIZ_CODE between", value1, value2, "bizCode");
310 + return (Criteria) this;
311 + }
312 +
313 + public Criteria andBizCodeNotBetween(String value1, String value2) {
314 + addCriterion("BIZ_CODE not between", value1, value2, "bizCode");
315 + return (Criteria) this;
316 + }
317 +
318 + public Criteria andToAddressIsNull() {
319 + addCriterion("TO_ADDRESS is null");
320 + return (Criteria) this;
321 + }
322 +
323 + public Criteria andToAddressIsNotNull() {
324 + addCriterion("TO_ADDRESS is not null");
325 + return (Criteria) this;
326 + }
327 +
328 + public Criteria andToAddressEqualTo(String value) {
329 + addCriterion("TO_ADDRESS =", value, "toAddress");
330 + return (Criteria) this;
331 + }
332 +
333 + public Criteria andToAddressNotEqualTo(String value) {
334 + addCriterion("TO_ADDRESS <>", value, "toAddress");
335 + return (Criteria) this;
336 + }
337 +
338 + public Criteria andToAddressGreaterThan(String value) {
339 + addCriterion("TO_ADDRESS >", value, "toAddress");
340 + return (Criteria) this;
341 + }
342 +
343 + public Criteria andToAddressGreaterThanOrEqualTo(String value) {
344 + addCriterion("TO_ADDRESS >=", value, "toAddress");
345 + return (Criteria) this;
346 + }
347 +
348 + public Criteria andToAddressLessThan(String value) {
349 + addCriterion("TO_ADDRESS <", value, "toAddress");
350 + return (Criteria) this;
351 + }
352 +
353 + public Criteria andToAddressLessThanOrEqualTo(String value) {
354 + addCriterion("TO_ADDRESS <=", value, "toAddress");
355 + return (Criteria) this;
356 + }
357 +
358 + public Criteria andToAddressLike(String value) {
359 + addCriterion("TO_ADDRESS like", value, "toAddress");
360 + return (Criteria) this;
361 + }
362 +
363 + public Criteria andToAddressNotLike(String value) {
364 + addCriterion("TO_ADDRESS not like", value, "toAddress");
365 + return (Criteria) this;
366 + }
367 +
368 + public Criteria andToAddressIn(List<String> values) {
369 + addCriterion("TO_ADDRESS in", values, "toAddress");
370 + return (Criteria) this;
371 + }
372 +
373 + public Criteria andToAddressNotIn(List<String> values) {
374 + addCriterion("TO_ADDRESS not in", values, "toAddress");
375 + return (Criteria) this;
376 + }
377 +
378 + public Criteria andToAddressBetween(String value1, String value2) {
379 + addCriterion("TO_ADDRESS between", value1, value2, "toAddress");
380 + return (Criteria) this;
381 + }
382 +
383 + public Criteria andToAddressNotBetween(String value1, String value2) {
384 + addCriterion("TO_ADDRESS not between", value1, value2, "toAddress");
385 + return (Criteria) this;
386 + }
387 +
388 + public Criteria andCcAddressIsNull() {
389 + addCriterion("CC_ADDRESS is null");
390 + return (Criteria) this;
391 + }
392 +
393 + public Criteria andCcAddressIsNotNull() {
394 + addCriterion("CC_ADDRESS is not null");
395 + return (Criteria) this;
396 + }
397 +
398 + public Criteria andCcAddressEqualTo(String value) {
399 + addCriterion("CC_ADDRESS =", value, "ccAddress");
400 + return (Criteria) this;
401 + }
402 +
403 + public Criteria andCcAddressNotEqualTo(String value) {
404 + addCriterion("CC_ADDRESS <>", value, "ccAddress");
405 + return (Criteria) this;
406 + }
407 +
408 + public Criteria andCcAddressGreaterThan(String value) {
409 + addCriterion("CC_ADDRESS >", value, "ccAddress");
410 + return (Criteria) this;
411 + }
412 +
413 + public Criteria andCcAddressGreaterThanOrEqualTo(String value) {
414 + addCriterion("CC_ADDRESS >=", value, "ccAddress");
415 + return (Criteria) this;
416 + }
417 +
418 + public Criteria andCcAddressLessThan(String value) {
419 + addCriterion("CC_ADDRESS <", value, "ccAddress");
420 + return (Criteria) this;
421 + }
422 +
423 + public Criteria andCcAddressLessThanOrEqualTo(String value) {
424 + addCriterion("CC_ADDRESS <=", value, "ccAddress");
425 + return (Criteria) this;
426 + }
427 +
428 + public Criteria andCcAddressLike(String value) {
429 + addCriterion("CC_ADDRESS like", value, "ccAddress");
430 + return (Criteria) this;
431 + }
432 +
433 + public Criteria andCcAddressNotLike(String value) {
434 + addCriterion("CC_ADDRESS not like", value, "ccAddress");
435 + return (Criteria) this;
436 + }
437 +
438 + public Criteria andCcAddressIn(List<String> values) {
439 + addCriterion("CC_ADDRESS in", values, "ccAddress");
440 + return (Criteria) this;
441 + }
442 +
443 + public Criteria andCcAddressNotIn(List<String> values) {
444 + addCriterion("CC_ADDRESS not in", values, "ccAddress");
445 + return (Criteria) this;
446 + }
447 +
448 + public Criteria andCcAddressBetween(String value1, String value2) {
449 + addCriterion("CC_ADDRESS between", value1, value2, "ccAddress");
450 + return (Criteria) this;
451 + }
452 +
453 + public Criteria andCcAddressNotBetween(String value1, String value2) {
454 + addCriterion("CC_ADDRESS not between", value1, value2, "ccAddress");
455 + return (Criteria) this;
456 + }
457 +
458 + public Criteria andSubjectIsNull() {
459 + addCriterion("SUBJECT is null");
460 + return (Criteria) this;
461 + }
462 +
463 + public Criteria andSubjectIsNotNull() {
464 + addCriterion("SUBJECT is not null");
465 + return (Criteria) this;
466 + }
467 +
468 + public Criteria andSubjectEqualTo(String value) {
469 + addCriterion("SUBJECT =", value, "subject");
470 + return (Criteria) this;
471 + }
472 +
473 + public Criteria andSubjectNotEqualTo(String value) {
474 + addCriterion("SUBJECT <>", value, "subject");
475 + return (Criteria) this;
476 + }
477 +
478 + public Criteria andSubjectGreaterThan(String value) {
479 + addCriterion("SUBJECT >", value, "subject");
480 + return (Criteria) this;
481 + }
482 +
483 + public Criteria andSubjectGreaterThanOrEqualTo(String value) {
484 + addCriterion("SUBJECT >=", value, "subject");
485 + return (Criteria) this;
486 + }
487 +
488 + public Criteria andSubjectLessThan(String value) {
489 + addCriterion("SUBJECT <", value, "subject");
490 + return (Criteria) this;
491 + }
492 +
493 + public Criteria andSubjectLessThanOrEqualTo(String value) {
494 + addCriterion("SUBJECT <=", value, "subject");
495 + return (Criteria) this;
496 + }
497 +
498 + public Criteria andSubjectLike(String value) {
499 + addCriterion("SUBJECT like", value, "subject");
500 + return (Criteria) this;
501 + }
502 +
503 + public Criteria andSubjectNotLike(String value) {
504 + addCriterion("SUBJECT not like", value, "subject");
505 + return (Criteria) this;
506 + }
507 +
508 + public Criteria andSubjectIn(List<String> values) {
509 + addCriterion("SUBJECT in", values, "subject");
510 + return (Criteria) this;
511 + }
512 +
513 + public Criteria andSubjectNotIn(List<String> values) {
514 + addCriterion("SUBJECT not in", values, "subject");
515 + return (Criteria) this;
516 + }
517 +
518 + public Criteria andSubjectBetween(String value1, String value2) {
519 + addCriterion("SUBJECT between", value1, value2, "subject");
520 + return (Criteria) this;
521 + }
522 +
523 + public Criteria andSubjectNotBetween(String value1, String value2) {
524 + addCriterion("SUBJECT not between", value1, value2, "subject");
525 + return (Criteria) this;
526 + }
527 +
528 + public Criteria andTypeIdIsNull() {
529 + addCriterion("TYPE_ID is null");
530 + return (Criteria) this;
531 + }
532 +
533 + public Criteria andTypeIdIsNotNull() {
534 + addCriterion("TYPE_ID is not null");
535 + return (Criteria) this;
536 + }
537 +
538 + public Criteria andTypeIdEqualTo(Long value) {
539 + addCriterion("TYPE_ID =", value, "typeId");
540 + return (Criteria) this;
541 + }
542 +
543 + public Criteria andTypeIdNotEqualTo(Long value) {
544 + addCriterion("TYPE_ID <>", value, "typeId");
545 + return (Criteria) this;
546 + }
547 +
548 + public Criteria andTypeIdGreaterThan(Long value) {
549 + addCriterion("TYPE_ID >", value, "typeId");
550 + return (Criteria) this;
551 + }
552 +
553 + public Criteria andTypeIdGreaterThanOrEqualTo(Long value) {
554 + addCriterion("TYPE_ID >=", value, "typeId");
555 + return (Criteria) this;
556 + }
557 +
558 + public Criteria andTypeIdLessThan(Long value) {
559 + addCriterion("TYPE_ID <", value, "typeId");
560 + return (Criteria) this;
561 + }
562 +
563 + public Criteria andTypeIdLessThanOrEqualTo(Long value) {
564 + addCriterion("TYPE_ID <=", value, "typeId");
565 + return (Criteria) this;
566 + }
567 +
568 + public Criteria andTypeIdIn(List<Long> values) {
569 + addCriterion("TYPE_ID in", values, "typeId");
570 + return (Criteria) this;
571 + }
572 +
573 + public Criteria andTypeIdNotIn(List<Long> values) {
574 + addCriterion("TYPE_ID not in", values, "typeId");
575 + return (Criteria) this;
576 + }
577 +
578 + public Criteria andTypeIdBetween(Long value1, Long value2) {
579 + addCriterion("TYPE_ID between", value1, value2, "typeId");
580 + return (Criteria) this;
581 + }
582 +
583 + public Criteria andTypeIdNotBetween(Long value1, Long value2) {
584 + addCriterion("TYPE_ID not between", value1, value2, "typeId");
585 + return (Criteria) this;
586 + }
587 +
588 + public Criteria andTypeNameIsNull() {
589 + addCriterion("TYPE_NAME is null");
590 + return (Criteria) this;
591 + }
592 +
593 + public Criteria andTypeNameIsNotNull() {
594 + addCriterion("TYPE_NAME is not null");
595 + return (Criteria) this;
596 + }
597 +
598 + public Criteria andTypeNameEqualTo(String value) {
599 + addCriterion("TYPE_NAME =", value, "typeName");
600 + return (Criteria) this;
601 + }
602 +
603 + public Criteria andTypeNameNotEqualTo(String value) {
604 + addCriterion("TYPE_NAME <>", value, "typeName");
605 + return (Criteria) this;
606 + }
607 +
608 + public Criteria andTypeNameGreaterThan(String value) {
609 + addCriterion("TYPE_NAME >", value, "typeName");
610 + return (Criteria) this;
611 + }
612 +
613 + public Criteria andTypeNameGreaterThanOrEqualTo(String value) {
614 + addCriterion("TYPE_NAME >=", value, "typeName");
615 + return (Criteria) this;
616 + }
617 +
618 + public Criteria andTypeNameLessThan(String value) {
619 + addCriterion("TYPE_NAME <", value, "typeName");
620 + return (Criteria) this;
621 + }
622 +
623 + public Criteria andTypeNameLessThanOrEqualTo(String value) {
624 + addCriterion("TYPE_NAME <=", value, "typeName");
625 + return (Criteria) this;
626 + }
627 +
628 + public Criteria andTypeNameLike(String value) {
629 + addCriterion("TYPE_NAME like", value, "typeName");
630 + return (Criteria) this;
631 + }
632 +
633 + public Criteria andTypeNameNotLike(String value) {
634 + addCriterion("TYPE_NAME not like", value, "typeName");
635 + return (Criteria) this;
636 + }
637 +
638 + public Criteria andTypeNameIn(List<String> values) {
639 + addCriterion("TYPE_NAME in", values, "typeName");
640 + return (Criteria) this;
641 + }
642 +
643 + public Criteria andTypeNameNotIn(List<String> values) {
644 + addCriterion("TYPE_NAME not in", values, "typeName");
645 + return (Criteria) this;
646 + }
647 +
648 + public Criteria andTypeNameBetween(String value1, String value2) {
649 + addCriterion("TYPE_NAME between", value1, value2, "typeName");
650 + return (Criteria) this;
651 + }
652 +
653 + public Criteria andTypeNameNotBetween(String value1, String value2) {
654 + addCriterion("TYPE_NAME not between", value1, value2, "typeName");
655 + return (Criteria) this;
656 + }
657 +
658 + public Criteria andStatusIdIsNull() {
659 + addCriterion("STATUS_ID is null");
660 + return (Criteria) this;
661 + }
662 +
663 + public Criteria andStatusIdIsNotNull() {
664 + addCriterion("STATUS_ID is not null");
665 + return (Criteria) this;
666 + }
667 +
668 + public Criteria andStatusIdEqualTo(Long value) {
669 + addCriterion("STATUS_ID =", value, "statusId");
670 + return (Criteria) this;
671 + }
672 +
673 + public Criteria andStatusIdNotEqualTo(Long value) {
674 + addCriterion("STATUS_ID <>", value, "statusId");
675 + return (Criteria) this;
676 + }
677 +
678 + public Criteria andStatusIdGreaterThan(Long value) {
679 + addCriterion("STATUS_ID >", value, "statusId");
680 + return (Criteria) this;
681 + }
682 +
683 + public Criteria andStatusIdGreaterThanOrEqualTo(Long value) {
684 + addCriterion("STATUS_ID >=", value, "statusId");
685 + return (Criteria) this;
686 + }
687 +
688 + public Criteria andStatusIdLessThan(Long value) {
689 + addCriterion("STATUS_ID <", value, "statusId");
690 + return (Criteria) this;
691 + }
692 +
693 + public Criteria andStatusIdLessThanOrEqualTo(Long value) {
694 + addCriterion("STATUS_ID <=", value, "statusId");
695 + return (Criteria) this;
696 + }
697 +
698 + public Criteria andStatusIdIn(List<Long> values) {
699 + addCriterion("STATUS_ID in", values, "statusId");
700 + return (Criteria) this;
701 + }
702 +
703 + public Criteria andStatusIdNotIn(List<Long> values) {
704 + addCriterion("STATUS_ID not in", values, "statusId");
705 + return (Criteria) this;
706 + }
707 +
708 + public Criteria andStatusIdBetween(Long value1, Long value2) {
709 + addCriterion("STATUS_ID between", value1, value2, "statusId");
710 + return (Criteria) this;
711 + }
712 +
713 + public Criteria andStatusIdNotBetween(Long value1, Long value2) {
714 + addCriterion("STATUS_ID not between", value1, value2, "statusId");
715 + return (Criteria) this;
716 + }
717 +
718 + public Criteria andStatusNameIsNull() {
719 + addCriterion("STATUS_NAME is null");
720 + return (Criteria) this;
721 + }
722 +
723 + public Criteria andStatusNameIsNotNull() {
724 + addCriterion("STATUS_NAME is not null");
725 + return (Criteria) this;
726 + }
727 +
728 + public Criteria andStatusNameEqualTo(String value) {
729 + addCriterion("STATUS_NAME =", value, "statusName");
730 + return (Criteria) this;
731 + }
732 +
733 + public Criteria andStatusNameNotEqualTo(String value) {
734 + addCriterion("STATUS_NAME <>", value, "statusName");
735 + return (Criteria) this;
736 + }
737 +
738 + public Criteria andStatusNameGreaterThan(String value) {
739 + addCriterion("STATUS_NAME >", value, "statusName");
740 + return (Criteria) this;
741 + }
742 +
743 + public Criteria andStatusNameGreaterThanOrEqualTo(String value) {
744 + addCriterion("STATUS_NAME >=", value, "statusName");
745 + return (Criteria) this;
746 + }
747 +
748 + public Criteria andStatusNameLessThan(String value) {
749 + addCriterion("STATUS_NAME <", value, "statusName");
750 + return (Criteria) this;
751 + }
752 +
753 + public Criteria andStatusNameLessThanOrEqualTo(String value) {
754 + addCriterion("STATUS_NAME <=", value, "statusName");
755 + return (Criteria) this;
756 + }
757 +
758 + public Criteria andStatusNameLike(String value) {
759 + addCriterion("STATUS_NAME like", value, "statusName");
760 + return (Criteria) this;
761 + }
762 +
763 + public Criteria andStatusNameNotLike(String value) {
764 + addCriterion("STATUS_NAME not like", value, "statusName");
765 + return (Criteria) this;
766 + }
767 +
768 + public Criteria andStatusNameIn(List<String> values) {
769 + addCriterion("STATUS_NAME in", values, "statusName");
770 + return (Criteria) this;
771 + }
772 +
773 + public Criteria andStatusNameNotIn(List<String> values) {
774 + addCriterion("STATUS_NAME not in", values, "statusName");
775 + return (Criteria) this;
776 + }
777 +
778 + public Criteria andStatusNameBetween(String value1, String value2) {
779 + addCriterion("STATUS_NAME between", value1, value2, "statusName");
780 + return (Criteria) this;
781 + }
782 +
783 + public Criteria andStatusNameNotBetween(String value1, String value2) {
784 + addCriterion("STATUS_NAME not between", value1, value2, "statusName");
785 + return (Criteria) this;
786 + }
787 +
788 + public Criteria andSendNumIsNull() {
789 + addCriterion("SEND_NUM is null");
790 + return (Criteria) this;
791 + }
792 +
793 + public Criteria andSendNumIsNotNull() {
794 + addCriterion("SEND_NUM is not null");
795 + return (Criteria) this;
796 + }
797 +
798 + public Criteria andSendNumEqualTo(Long value) {
799 + addCriterion("SEND_NUM =", value, "sendNum");
800 + return (Criteria) this;
801 + }
802 +
803 + public Criteria andSendNumNotEqualTo(Long value) {
804 + addCriterion("SEND_NUM <>", value, "sendNum");
805 + return (Criteria) this;
806 + }
807 +
808 + public Criteria andSendNumGreaterThan(Long value) {
809 + addCriterion("SEND_NUM >", value, "sendNum");
810 + return (Criteria) this;
811 + }
812 +
813 + public Criteria andSendNumGreaterThanOrEqualTo(Long value) {
814 + addCriterion("SEND_NUM >=", value, "sendNum");
815 + return (Criteria) this;
816 + }
817 +
818 + public Criteria andSendNumLessThan(Long value) {
819 + addCriterion("SEND_NUM <", value, "sendNum");
820 + return (Criteria) this;
821 + }
822 +
823 + public Criteria andSendNumLessThanOrEqualTo(Long value) {
824 + addCriterion("SEND_NUM <=", value, "sendNum");
825 + return (Criteria) this;
826 + }
827 +
828 + public Criteria andSendNumIn(List<Long> values) {
829 + addCriterion("SEND_NUM in", values, "sendNum");
830 + return (Criteria) this;
831 + }
832 +
833 + public Criteria andSendNumNotIn(List<Long> values) {
834 + addCriterion("SEND_NUM not in", values, "sendNum");
835 + return (Criteria) this;
836 + }
837 +
838 + public Criteria andSendNumBetween(Long value1, Long value2) {
839 + addCriterion("SEND_NUM between", value1, value2, "sendNum");
840 + return (Criteria) this;
841 + }
842 +
843 + public Criteria andSendNumNotBetween(Long value1, Long value2) {
844 + addCriterion("SEND_NUM not between", value1, value2, "sendNum");
845 + return (Criteria) this;
846 + }
847 +
848 + public Criteria andSendTimeIsNull() {
849 + addCriterion("SEND_TIME is null");
850 + return (Criteria) this;
851 + }
852 +
853 + public Criteria andSendTimeIsNotNull() {
854 + addCriterion("SEND_TIME is not null");
855 + return (Criteria) this;
856 + }
857 +
858 + public Criteria andSendTimeEqualTo(Date value) {
859 + addCriterion("SEND_TIME =", value, "sendTime");
860 + return (Criteria) this;
861 + }
862 +
863 + public Criteria andSendTimeNotEqualTo(Date value) {
864 + addCriterion("SEND_TIME <>", value, "sendTime");
865 + return (Criteria) this;
866 + }
867 +
868 + public Criteria andSendTimeGreaterThan(Date value) {
869 + addCriterion("SEND_TIME >", value, "sendTime");
870 + return (Criteria) this;
871 + }
872 +
873 + public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
874 + addCriterion("SEND_TIME >=", value, "sendTime");
875 + return (Criteria) this;
876 + }
877 +
878 + public Criteria andSendTimeLessThan(Date value) {
879 + addCriterion("SEND_TIME <", value, "sendTime");
880 + return (Criteria) this;
881 + }
882 +
883 + public Criteria andSendTimeLessThanOrEqualTo(Date value) {
884 + addCriterion("SEND_TIME <=", value, "sendTime");
885 + return (Criteria) this;
886 + }
887 +
888 + public Criteria andSendTimeIn(List<Date> values) {
889 + addCriterion("SEND_TIME in", values, "sendTime");
890 + return (Criteria) this;
891 + }
892 +
893 + public Criteria andSendTimeNotIn(List<Date> values) {
894 + addCriterion("SEND_TIME not in", values, "sendTime");
895 + return (Criteria) this;
896 + }
897 +
898 + public Criteria andSendTimeBetween(Date value1, Date value2) {
899 + addCriterion("SEND_TIME between", value1, value2, "sendTime");
900 + return (Criteria) this;
901 + }
902 +
903 + public Criteria andSendTimeNotBetween(Date value1, Date value2) {
904 + addCriterion("SEND_TIME not between", value1, value2, "sendTime");
905 + return (Criteria) this;
906 + }
907 +
908 + public Criteria andCreateTimeIsNull() {
909 + addCriterion("CREATE_TIME is null");
910 + return (Criteria) this;
911 + }
912 +
913 + public Criteria andCreateTimeIsNotNull() {
914 + addCriterion("CREATE_TIME is not null");
915 + return (Criteria) this;
916 + }
917 +
918 + public Criteria andCreateTimeEqualTo(Date value) {
919 + addCriterion("CREATE_TIME =", value, "createTime");
920 + return (Criteria) this;
921 + }
922 +
923 + public Criteria andCreateTimeNotEqualTo(Date value) {
924 + addCriterion("CREATE_TIME <>", value, "createTime");
925 + return (Criteria) this;
926 + }
927 +
928 + public Criteria andCreateTimeGreaterThan(Date value) {
929 + addCriterion("CREATE_TIME >", value, "createTime");
930 + return (Criteria) this;
931 + }
932 +
933 + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
934 + addCriterion("CREATE_TIME >=", value, "createTime");
935 + return (Criteria) this;
936 + }
937 +
938 + public Criteria andCreateTimeLessThan(Date value) {
939 + addCriterion("CREATE_TIME <", value, "createTime");
940 + return (Criteria) this;
941 + }
942 +
943 + public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
944 + addCriterion("CREATE_TIME <=", value, "createTime");
945 + return (Criteria) this;
946 + }
947 +
948 + public Criteria andCreateTimeIn(List<Date> values) {
949 + addCriterion("CREATE_TIME in", values, "createTime");
950 + return (Criteria) this;
951 + }
952 +
953 + public Criteria andCreateTimeNotIn(List<Date> values) {
954 + addCriterion("CREATE_TIME not in", values, "createTime");
955 + return (Criteria) this;
956 + }
957 +
958 + public Criteria andCreateTimeBetween(Date value1, Date value2) {
959 + addCriterion("CREATE_TIME between", value1, value2, "createTime");
960 + return (Criteria) this;
961 + }
962 +
963 + public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
964 + addCriterion("CREATE_TIME not between", value1, value2, "createTime");
965 + return (Criteria) this;
966 + }
967 +
968 + public Criteria andCreateUserIdIsNull() {
969 + addCriterion("CREATE_USER_ID is null");
970 + return (Criteria) this;
971 + }
972 +
973 + public Criteria andCreateUserIdIsNotNull() {
974 + addCriterion("CREATE_USER_ID is not null");
975 + return (Criteria) this;
976 + }
977 +
978 + public Criteria andCreateUserIdEqualTo(Long value) {
979 + addCriterion("CREATE_USER_ID =", value, "createUserId");
980 + return (Criteria) this;
981 + }
982 +
983 + public Criteria andCreateUserIdNotEqualTo(Long value) {
984 + addCriterion("CREATE_USER_ID <>", value, "createUserId");
985 + return (Criteria) this;
986 + }
987 +
988 + public Criteria andCreateUserIdGreaterThan(Long value) {
989 + addCriterion("CREATE_USER_ID >", value, "createUserId");
990 + return (Criteria) this;
991 + }
992 +
993 + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
994 + addCriterion("CREATE_USER_ID >=", value, "createUserId");
995 + return (Criteria) this;
996 + }
997 +
998 + public Criteria andCreateUserIdLessThan(Long value) {
999 + addCriterion("CREATE_USER_ID <", value, "createUserId");
1000 + return (Criteria) this;
1001 + }
1002 +
1003 + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
1004 + addCriterion("CREATE_USER_ID <=", value, "createUserId");
1005 + return (Criteria) this;
1006 + }
1007 +
1008 + public Criteria andCreateUserIdIn(List<Long> values) {
1009 + addCriterion("CREATE_USER_ID in", values, "createUserId");
1010 + return (Criteria) this;
1011 + }
1012 +
1013 + public Criteria andCreateUserIdNotIn(List<Long> values) {
1014 + addCriterion("CREATE_USER_ID not in", values, "createUserId");
1015 + return (Criteria) this;
1016 + }
1017 +
1018 + public Criteria andCreateUserIdBetween(Long value1, Long value2) {
1019 + addCriterion("CREATE_USER_ID between", value1, value2, "createUserId");
1020 + return (Criteria) this;
1021 + }
1022 +
1023 + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
1024 + addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId");
1025 + return (Criteria) this;
1026 + }
1027 +
1028 + public Criteria andCreateUserNameIsNull() {
1029 + addCriterion("CREATE_USER_NAME is null");
1030 + return (Criteria) this;
1031 + }
1032 +
1033 + public Criteria andCreateUserNameIsNotNull() {
1034 + addCriterion("CREATE_USER_NAME is not null");
1035 + return (Criteria) this;
1036 + }
1037 +
1038 + public Criteria andCreateUserNameEqualTo(String value) {
1039 + addCriterion("CREATE_USER_NAME =", value, "createUserName");
1040 + return (Criteria) this;
1041 + }
1042 +
1043 + public Criteria andCreateUserNameNotEqualTo(String value) {
1044 + addCriterion("CREATE_USER_NAME <>", value, "createUserName");
1045 + return (Criteria) this;
1046 + }
1047 +
1048 + public Criteria andCreateUserNameGreaterThan(String value) {
1049 + addCriterion("CREATE_USER_NAME >", value, "createUserName");
1050 + return (Criteria) this;
1051 + }
1052 +
1053 + public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
1054 + addCriterion("CREATE_USER_NAME >=", value, "createUserName");
1055 + return (Criteria) this;
1056 + }
1057 +
1058 + public Criteria andCreateUserNameLessThan(String value) {
1059 + addCriterion("CREATE_USER_NAME <", value, "createUserName");
1060 + return (Criteria) this;
1061 + }
1062 +
1063 + public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
1064 + addCriterion("CREATE_USER_NAME <=", value, "createUserName");
1065 + return (Criteria) this;
1066 + }
1067 +
1068 + public Criteria andCreateUserNameLike(String value) {
1069 + addCriterion("CREATE_USER_NAME like", value, "createUserName");
1070 + return (Criteria) this;
1071 + }
1072 +
1073 + public Criteria andCreateUserNameNotLike(String value) {
1074 + addCriterion("CREATE_USER_NAME not like", value, "createUserName");
1075 + return (Criteria) this;
1076 + }
1077 +
1078 + public Criteria andCreateUserNameIn(List<String> values) {
1079 + addCriterion("CREATE_USER_NAME in", values, "createUserName");
1080 + return (Criteria) this;
1081 + }
1082 +
1083 + public Criteria andCreateUserNameNotIn(List<String> values) {
1084 + addCriterion("CREATE_USER_NAME not in", values, "createUserName");
1085 + return (Criteria) this;
1086 + }
1087 +
1088 + public Criteria andCreateUserNameBetween(String value1, String value2) {
1089 + addCriterion("CREATE_USER_NAME between", value1, value2, "createUserName");
1090 + return (Criteria) this;
1091 + }
1092 +
1093 + public Criteria andCreateUserNameNotBetween(String value1, String value2) {
1094 + addCriterion("CREATE_USER_NAME not between", value1, value2, "createUserName");
1095 + return (Criteria) this;
1096 + }
1097 +
1098 + public Criteria andModifyTimeIsNull() {
1099 + addCriterion("MODIFY_TIME is null");
1100 + return (Criteria) this;
1101 + }
1102 +
1103 + public Criteria andModifyTimeIsNotNull() {
1104 + addCriterion("MODIFY_TIME is not null");
1105 + return (Criteria) this;
1106 + }
1107 +
1108 + public Criteria andModifyTimeEqualTo(Date value) {
1109 + addCriterion("MODIFY_TIME =", value, "modifyTime");
1110 + return (Criteria) this;
1111 + }
1112 +
1113 + public Criteria andModifyTimeNotEqualTo(Date value) {
1114 + addCriterion("MODIFY_TIME <>", value, "modifyTime");
1115 + return (Criteria) this;
1116 + }
1117 +
1118 + public Criteria andModifyTimeGreaterThan(Date value) {
1119 + addCriterion("MODIFY_TIME >", value, "modifyTime");
1120 + return (Criteria) this;
1121 + }
1122 +
1123 + public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
1124 + addCriterion("MODIFY_TIME >=", value, "modifyTime");
1125 + return (Criteria) this;
1126 + }
1127 +
1128 + public Criteria andModifyTimeLessThan(Date value) {
1129 + addCriterion("MODIFY_TIME <", value, "modifyTime");
1130 + return (Criteria) this;
1131 + }
1132 +
1133 + public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
1134 + addCriterion("MODIFY_TIME <=", value, "modifyTime");
1135 + return (Criteria) this;
1136 + }
1137 +
1138 + public Criteria andModifyTimeIn(List<Date> values) {
1139 + addCriterion("MODIFY_TIME in", values, "modifyTime");
1140 + return (Criteria) this;
1141 + }
1142 +
1143 + public Criteria andModifyTimeNotIn(List<Date> values) {
1144 + addCriterion("MODIFY_TIME not in", values, "modifyTime");
1145 + return (Criteria) this;
1146 + }
1147 +
1148 + public Criteria andModifyTimeBetween(Date value1, Date value2) {
1149 + addCriterion("MODIFY_TIME between", value1, value2, "modifyTime");
1150 + return (Criteria) this;
1151 + }
1152 +
1153 + public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
1154 + addCriterion("MODIFY_TIME not between", value1, value2, "modifyTime");
1155 + return (Criteria) this;
1156 + }
1157 +
1158 + public Criteria andModifyUserIdIsNull() {
1159 + addCriterion("MODIFY_USER_ID is null");
1160 + return (Criteria) this;
1161 + }
1162 +
1163 + public Criteria andModifyUserIdIsNotNull() {
1164 + addCriterion("MODIFY_USER_ID is not null");
1165 + return (Criteria) this;
1166 + }
1167 +
1168 + public Criteria andModifyUserIdEqualTo(Long value) {
1169 + addCriterion("MODIFY_USER_ID =", value, "modifyUserId");
1170 + return (Criteria) this;
1171 + }
1172 +
1173 + public Criteria andModifyUserIdNotEqualTo(Long value) {
1174 + addCriterion("MODIFY_USER_ID <>", value, "modifyUserId");
1175 + return (Criteria) this;
1176 + }
1177 +
1178 + public Criteria andModifyUserIdGreaterThan(Long value) {
1179 + addCriterion("MODIFY_USER_ID >", value, "modifyUserId");
1180 + return (Criteria) this;
1181 + }
1182 +
1183 + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
1184 + addCriterion("MODIFY_USER_ID >=", value, "modifyUserId");
1185 + return (Criteria) this;
1186 + }
1187 +
1188 + public Criteria andModifyUserIdLessThan(Long value) {
1189 + addCriterion("MODIFY_USER_ID <", value, "modifyUserId");
1190 + return (Criteria) this;
1191 + }
1192 +
1193 + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
1194 + addCriterion("MODIFY_USER_ID <=", value, "modifyUserId");
1195 + return (Criteria) this;
1196 + }
1197 +
1198 + public Criteria andModifyUserIdIn(List<Long> values) {
1199 + addCriterion("MODIFY_USER_ID in", values, "modifyUserId");
1200 + return (Criteria) this;
1201 + }
1202 +
1203 + public Criteria andModifyUserIdNotIn(List<Long> values) {
1204 + addCriterion("MODIFY_USER_ID not in", values, "modifyUserId");
1205 + return (Criteria) this;
1206 + }
1207 +
1208 + public Criteria andModifyUserIdBetween(Long value1, Long value2) {
1209 + addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId");
1210 + return (Criteria) this;
1211 + }
1212 +
1213 + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
1214 + addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId");
1215 + return (Criteria) this;
1216 + }
1217 +
1218 + public Criteria andModifyUserNameIsNull() {
1219 + addCriterion("MODIFY_USER_NAME is null");
1220 + return (Criteria) this;
1221 + }
1222 +
1223 + public Criteria andModifyUserNameIsNotNull() {
1224 + addCriterion("MODIFY_USER_NAME is not null");
1225 + return (Criteria) this;
1226 + }
1227 +
1228 + public Criteria andModifyUserNameEqualTo(String value) {
1229 + addCriterion("MODIFY_USER_NAME =", value, "modifyUserName");
1230 + return (Criteria) this;
1231 + }
1232 +
1233 + public Criteria andModifyUserNameNotEqualTo(String value) {
1234 + addCriterion("MODIFY_USER_NAME <>", value, "modifyUserName");
1235 + return (Criteria) this;
1236 + }
1237 +
1238 + public Criteria andModifyUserNameGreaterThan(String value) {
1239 + addCriterion("MODIFY_USER_NAME >", value, "modifyUserName");
1240 + return (Criteria) this;
1241 + }
1242 +
1243 + public Criteria andModifyUserNameGreaterThanOrEqualTo(String value) {
1244 + addCriterion("MODIFY_USER_NAME >=", value, "modifyUserName");
1245 + return (Criteria) this;
1246 + }
1247 +
1248 + public Criteria andModifyUserNameLessThan(String value) {
1249 + addCriterion("MODIFY_USER_NAME <", value, "modifyUserName");
1250 + return (Criteria) this;
1251 + }
1252 +
1253 + public Criteria andModifyUserNameLessThanOrEqualTo(String value) {
1254 + addCriterion("MODIFY_USER_NAME <=", value, "modifyUserName");
1255 + return (Criteria) this;
1256 + }
1257 +
1258 + public Criteria andModifyUserNameLike(String value) {
1259 + addCriterion("MODIFY_USER_NAME like", value, "modifyUserName");
1260 + return (Criteria) this;
1261 + }
1262 +
1263 + public Criteria andModifyUserNameNotLike(String value) {
1264 + addCriterion("MODIFY_USER_NAME not like", value, "modifyUserName");
1265 + return (Criteria) this;
1266 + }
1267 +
1268 + public Criteria andModifyUserNameIn(List<String> values) {
1269 + addCriterion("MODIFY_USER_NAME in", values, "modifyUserName");
1270 + return (Criteria) this;
1271 + }
1272 +
1273 + public Criteria andModifyUserNameNotIn(List<String> values) {
1274 + addCriterion("MODIFY_USER_NAME not in", values, "modifyUserName");
1275 + return (Criteria) this;
1276 + }
1277 +
1278 + public Criteria andModifyUserNameBetween(String value1, String value2) {
1279 + addCriterion("MODIFY_USER_NAME between", value1, value2, "modifyUserName");
1280 + return (Criteria) this;
1281 + }
1282 +
1283 + public Criteria andModifyUserNameNotBetween(String value1, String value2) {
1284 + addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName");
1285 + return (Criteria) this;
1286 + }
1287 + }
1288 +
1289 + public static class Criteria extends GeneratedCriteria {
1290 +
1291 + protected Criteria() {
1292 + super();
1293 + }
1294 + }
1295 +
1296 + public static class Criterion {
1297 + private String condition;
1298 +
1299 + private Object value;
1300 +
1301 + private Object secondValue;
1302 +
1303 + private boolean noValue;
1304 +
1305 + private boolean singleValue;
1306 +
1307 + private boolean betweenValue;
1308 +
1309 + private boolean listValue;
1310 +
1311 + private String typeHandler;
1312 +
1313 + public String getCondition() {
1314 + return condition;
1315 + }
1316 +
1317 + public Object getValue() {
1318 + return value;
1319 + }
1320 +
1321 + public Object getSecondValue() {
1322 + return secondValue;
1323 + }
1324 +
1325 + public boolean isNoValue() {
1326 + return noValue;
1327 + }
1328 +
1329 + public boolean isSingleValue() {
1330 + return singleValue;
1331 + }
1332 +
1333 + public boolean isBetweenValue() {
1334 + return betweenValue;
1335 + }
1336 +
1337 + public boolean isListValue() {
1338 + return listValue;
1339 + }
1340 +
1341 + public String getTypeHandler() {
1342 + return typeHandler;
1343 + }
1344 +
1345 + protected Criterion(String condition) {
1346 + super();
1347 + this.condition = condition;
1348 + this.typeHandler = null;
1349 + this.noValue = true;
1350 + }
1351 +
1352 + protected Criterion(String condition, Object value, String typeHandler) {
1353 + super();
1354 + this.condition = condition;
1355 + this.value = value;
1356 + this.typeHandler = typeHandler;
1357 + if (value instanceof List<?>) {
1358 + this.listValue = true;
1359 + } else {
1360 + this.singleValue = true;
1361 + }
1362 + }
1363 +
1364 + protected Criterion(String condition, Object value) {
1365 + this(condition, value, null);
1366 + }
1367 +
1368 + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
1369 + super();
1370 + this.condition = condition;
1371 + this.value = value;
1372 + this.secondValue = secondValue;
1373 + this.typeHandler = typeHandler;
1374 + this.betweenValue = true;
1375 + }
1376 +
1377 + protected Criterion(String condition, Object value, Object secondValue) {
1378 + this(condition, value, secondValue, null);
1379 + }
1380 + }
1381 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.log;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: 操作日志
8 + * TABLE: T_LOG_OPERATION
9 + */
10 +public class Operation implements Serializable {
11 + /**
12 + * ID
13 + */
14 + private Long id;
15 +
16 + /**
17 + * 操作人id
18 + */
19 + private Long userId;
20 +
21 + /**
22 + * 操作人名称
23 + */
24 + private String userName;
25 +
26 + /**
27 + * 操作模块
28 + */
29 + private String module;
30 +
31 + /**
32 + * 操作描述
33 + */
34 + private String describe;
35 +
36 + /**
37 + * 操作时间
38 + */
39 + private Date createTime;
40 +
41 + /**
42 + * 请求路径
43 + */
44 + private String url;
45 +
46 + /**
47 + * 请求参数
48 + */
49 + private String requestParameters;
50 +
51 + /**
52 + * 操作结果
53 + */
54 + private String result;
55 +
56 + /**
57 + * 状态 0-不展示 1-展示
58 + */
59 + private Long status;
60 +
61 + /**
62 + * 备注
63 + */
64 + private String remark;
65 +
66 + private static final long serialVersionUID = 1L;
67 +
68 + public Long getId() {
69 + return id;
70 + }
71 +
72 + public void setId(Long id) {
73 + this.id = id;
74 + }
75 +
76 + public Long getUserId() {
77 + return userId;
78 + }
79 +
80 + public void setUserId(Long userId) {
81 + this.userId = userId;
82 + }
83 +
84 + public String getUserName() {
85 + return userName;
86 + }
87 +
88 + public void setUserName(String userName) {
89 + this.userName = userName == null ? null : userName.trim();
90 + }
91 +
92 + public String getModule() {
93 + return module;
94 + }
95 +
96 + public void setModule(String module) {
97 + this.module = module == null ? null : module.trim();
98 + }
99 +
100 + public String getDescribe() {
101 + return describe;
102 + }
103 +
104 + public void setDescribe(String describe) {
105 + this.describe = describe == null ? null : describe.trim();
106 + }
107 +
108 + public Date getCreateTime() {
109 + return createTime;
110 + }
111 +
112 + public void setCreateTime(Date createTime) {
113 + this.createTime = createTime;
114 + }
115 +
116 + public String getUrl() {
117 + return url;
118 + }
119 +
120 + public void setUrl(String url) {
121 + this.url = url == null ? null : url.trim();
122 + }
123 +
124 + public String getRequestParameters() {
125 + return requestParameters;
126 + }
127 +
128 + public void setRequestParameters(String requestParameters) {
129 + this.requestParameters = requestParameters == null ? null : requestParameters.trim();
130 + }
131 +
132 + public String getResult() {
133 + return result;
134 + }
135 +
136 + public void setResult(String result) {
137 + this.result = result == null ? null : result.trim();
138 + }
139 +
140 + public Long getStatus() {
141 + return status;
142 + }
143 +
144 + public void setStatus(Long status) {
145 + this.status = status;
146 + }
147 +
148 + public String getRemark() {
149 + return remark;
150 + }
151 +
152 + public void setRemark(String remark) {
153 + this.remark = remark == null ? null : remark.trim();
154 + }
155 +
156 + @Override
157 + public String toString() {
158 + StringBuilder sb = new StringBuilder();
159 + sb.append(getClass().getSimpleName());
160 + sb.append(" [");
161 + sb.append("Hash = ").append(hashCode());
162 + sb.append(", id=").append(id);
163 + sb.append(", userId=").append(userId);
164 + sb.append(", userName=").append(userName);
165 + sb.append(", module=").append(module);
166 + sb.append(", describe=").append(describe);
167 + sb.append(", createTime=").append(createTime);
168 + sb.append(", url=").append(url);
169 + sb.append(", requestParameters=").append(requestParameters);
170 + sb.append(", result=").append(result);
171 + sb.append(", status=").append(status);
172 + sb.append(", remark=").append(remark);
173 + sb.append(", serialVersionUID=").append(serialVersionUID);
174 + sb.append("]");
175 + return sb.toString();
176 + }
177 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.log;
2 +
3 +import java.util.ArrayList;
4 +import java.util.Date;
5 +import java.util.List;
6 +
7 +public class OperationExample {
8 + protected String orderByClause;
9 +
10 + protected boolean distinct;
11 +
12 + protected List<Criteria> oredCriteria;
13 +
14 + protected Integer limitStart;
15 +
16 + protected Integer limitSize;
17 +
18 + public OperationExample() {
19 + oredCriteria = new ArrayList<Criteria>();
20 + }
21 +
22 + public void setOrderByClause(String orderByClause) {
23 + this.orderByClause = orderByClause;
24 + }
25 +
26 + public String getOrderByClause() {
27 + return orderByClause;
28 + }
29 +
30 + public void setDistinct(boolean distinct) {
31 + this.distinct = distinct;
32 + }
33 +
34 + public boolean isDistinct() {
35 + return distinct;
36 + }
37 +
38 + public List<Criteria> getOredCriteria() {
39 + return oredCriteria;
40 + }
41 +
42 + public void or(Criteria criteria) {
43 + oredCriteria.add(criteria);
44 + }
45 +
46 + public Criteria or() {
47 + Criteria criteria = createCriteriaInternal();
48 + oredCriteria.add(criteria);
49 + return criteria;
50 + }
51 +
52 + public Criteria createCriteria() {
53 + Criteria criteria = createCriteriaInternal();
54 + if (oredCriteria.size() == 0) {
55 + oredCriteria.add(criteria);
56 + }
57 + return criteria;
58 + }
59 +
60 + protected Criteria createCriteriaInternal() {
61 + Criteria criteria = new Criteria();
62 + return criteria;
63 + }
64 +
65 + public void clear() {
66 + oredCriteria.clear();
67 + orderByClause = null;
68 + distinct = false;
69 + }
70 +
71 + public void setLimitStart(Integer limitStart) {
72 + this.limitStart=limitStart;
73 + }
74 +
75 + public Integer getLimitStart() {
76 + return limitStart;
77 + }
78 +
79 + public void setLimitSize(Integer limitSize) {
80 + this.limitSize=limitSize;
81 + }
82 +
83 + public Integer getLimitSize() {
84 + return limitSize;
85 + }
86 +
87 + protected abstract static class GeneratedCriteria {
88 + protected List<Criterion> criteria;
89 +
90 + protected GeneratedCriteria() {
91 + super();
92 + criteria = new ArrayList<Criterion>();
93 + }
94 +
95 + public boolean isValid() {
96 + return criteria.size() > 0;
97 + }
98 +
99 + public List<Criterion> getAllCriteria() {
100 + return criteria;
101 + }
102 +
103 + public List<Criterion> getCriteria() {
104 + return criteria;
105 + }
106 +
107 + protected void addCriterion(String condition) {
108 + if (condition == null) {
109 + throw new RuntimeException("Value for condition cannot be null");
110 + }
111 + criteria.add(new Criterion(condition));
112 + }
113 +
114 + protected void addCriterion(String condition, Object value, String property) {
115 + if (value == null) {
116 + throw new RuntimeException("Value for " + property + " cannot be null");
117 + }
118 + criteria.add(new Criterion(condition, value));
119 + }
120 +
121 + protected void addCriterion(String condition, Object value1, Object value2, String property) {
122 + if (value1 == null || value2 == null) {
123 + throw new RuntimeException("Between values for " + property + " cannot be null");
124 + }
125 + criteria.add(new Criterion(condition, value1, value2));
126 + }
127 +
128 + public Criteria andIdIsNull() {
129 + addCriterion("ID is null");
130 + return (Criteria) this;
131 + }
132 +
133 + public Criteria andIdIsNotNull() {
134 + addCriterion("ID is not null");
135 + return (Criteria) this;
136 + }
137 +
138 + public Criteria andIdEqualTo(Long value) {
139 + addCriterion("ID =", value, "id");
140 + return (Criteria) this;
141 + }
142 +
143 + public Criteria andIdNotEqualTo(Long value) {
144 + addCriterion("ID <>", value, "id");
145 + return (Criteria) this;
146 + }
147 +
148 + public Criteria andIdGreaterThan(Long value) {
149 + addCriterion("ID >", value, "id");
150 + return (Criteria) this;
151 + }
152 +
153 + public Criteria andIdGreaterThanOrEqualTo(Long value) {
154 + addCriterion("ID >=", value, "id");
155 + return (Criteria) this;
156 + }
157 +
158 + public Criteria andIdLessThan(Long value) {
159 + addCriterion("ID <", value, "id");
160 + return (Criteria) this;
161 + }
162 +
163 + public Criteria andIdLessThanOrEqualTo(Long value) {
164 + addCriterion("ID <=", value, "id");
165 + return (Criteria) this;
166 + }
167 +
168 + public Criteria andIdIn(List<Long> values) {
169 + addCriterion("ID in", values, "id");
170 + return (Criteria) this;
171 + }
172 +
173 + public Criteria andIdNotIn(List<Long> values) {
174 + addCriterion("ID not in", values, "id");
175 + return (Criteria) this;
176 + }
177 +
178 + public Criteria andIdBetween(Long value1, Long value2) {
179 + addCriterion("ID between", value1, value2, "id");
180 + return (Criteria) this;
181 + }
182 +
183 + public Criteria andIdNotBetween(Long value1, Long value2) {
184 + addCriterion("ID not between", value1, value2, "id");
185 + return (Criteria) this;
186 + }
187 +
188 + public Criteria andUserIdIsNull() {
189 + addCriterion("USER_ID is null");
190 + return (Criteria) this;
191 + }
192 +
193 + public Criteria andUserIdIsNotNull() {
194 + addCriterion("USER_ID is not null");
195 + return (Criteria) this;
196 + }
197 +
198 + public Criteria andUserIdEqualTo(Long value) {
199 + addCriterion("USER_ID =", value, "userId");
200 + return (Criteria) this;
201 + }
202 +
203 + public Criteria andUserIdNotEqualTo(Long value) {
204 + addCriterion("USER_ID <>", value, "userId");
205 + return (Criteria) this;
206 + }
207 +
208 + public Criteria andUserIdGreaterThan(Long value) {
209 + addCriterion("USER_ID >", value, "userId");
210 + return (Criteria) this;
211 + }
212 +
213 + public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
214 + addCriterion("USER_ID >=", value, "userId");
215 + return (Criteria) this;
216 + }
217 +
218 + public Criteria andUserIdLessThan(Long value) {
219 + addCriterion("USER_ID <", value, "userId");
220 + return (Criteria) this;
221 + }
222 +
223 + public Criteria andUserIdLessThanOrEqualTo(Long value) {
224 + addCriterion("USER_ID <=", value, "userId");
225 + return (Criteria) this;
226 + }
227 +
228 + public Criteria andUserIdIn(List<Long> values) {
229 + addCriterion("USER_ID in", values, "userId");
230 + return (Criteria) this;
231 + }
232 +
233 + public Criteria andUserIdNotIn(List<Long> values) {
234 + addCriterion("USER_ID not in", values, "userId");
235 + return (Criteria) this;
236 + }
237 +
238 + public Criteria andUserIdBetween(Long value1, Long value2) {
239 + addCriterion("USER_ID between", value1, value2, "userId");
240 + return (Criteria) this;
241 + }
242 +
243 + public Criteria andUserIdNotBetween(Long value1, Long value2) {
244 + addCriterion("USER_ID not between", value1, value2, "userId");
245 + return (Criteria) this;
246 + }
247 +
248 + public Criteria andUserNameIsNull() {
249 + addCriterion("USER_NAME is null");
250 + return (Criteria) this;
251 + }
252 +
253 + public Criteria andUserNameIsNotNull() {
254 + addCriterion("USER_NAME is not null");
255 + return (Criteria) this;
256 + }
257 +
258 + public Criteria andUserNameEqualTo(String value) {
259 + addCriterion("USER_NAME =", value, "userName");
260 + return (Criteria) this;
261 + }
262 +
263 + public Criteria andUserNameNotEqualTo(String value) {
264 + addCriterion("USER_NAME <>", value, "userName");
265 + return (Criteria) this;
266 + }
267 +
268 + public Criteria andUserNameGreaterThan(String value) {
269 + addCriterion("USER_NAME >", value, "userName");
270 + return (Criteria) this;
271 + }
272 +
273 + public Criteria andUserNameGreaterThanOrEqualTo(String value) {
274 + addCriterion("USER_NAME >=", value, "userName");
275 + return (Criteria) this;
276 + }
277 +
278 + public Criteria andUserNameLessThan(String value) {
279 + addCriterion("USER_NAME <", value, "userName");
280 + return (Criteria) this;
281 + }
282 +
283 + public Criteria andUserNameLessThanOrEqualTo(String value) {
284 + addCriterion("USER_NAME <=", value, "userName");
285 + return (Criteria) this;
286 + }
287 +
288 + public Criteria andUserNameLike(String value) {
289 + addCriterion("USER_NAME like", value, "userName");
290 + return (Criteria) this;
291 + }
292 +
293 + public Criteria andUserNameNotLike(String value) {
294 + addCriterion("USER_NAME not like", value, "userName");
295 + return (Criteria) this;
296 + }
297 +
298 + public Criteria andUserNameIn(List<String> values) {
299 + addCriterion("USER_NAME in", values, "userName");
300 + return (Criteria) this;
301 + }
302 +
303 + public Criteria andUserNameNotIn(List<String> values) {
304 + addCriterion("USER_NAME not in", values, "userName");
305 + return (Criteria) this;
306 + }
307 +
308 + public Criteria andUserNameBetween(String value1, String value2) {
309 + addCriterion("USER_NAME between", value1, value2, "userName");
310 + return (Criteria) this;
311 + }
312 +
313 + public Criteria andUserNameNotBetween(String value1, String value2) {
314 + addCriterion("USER_NAME not between", value1, value2, "userName");
315 + return (Criteria) this;
316 + }
317 +
318 + public Criteria andModuleIsNull() {
319 + addCriterion("MODULE is null");
320 + return (Criteria) this;
321 + }
322 +
323 + public Criteria andModuleIsNotNull() {
324 + addCriterion("MODULE is not null");
325 + return (Criteria) this;
326 + }
327 +
328 + public Criteria andModuleEqualTo(String value) {
329 + addCriterion("MODULE =", value, "module");
330 + return (Criteria) this;
331 + }
332 +
333 + public Criteria andModuleNotEqualTo(String value) {
334 + addCriterion("MODULE <>", value, "module");
335 + return (Criteria) this;
336 + }
337 +
338 + public Criteria andModuleGreaterThan(String value) {
339 + addCriterion("MODULE >", value, "module");
340 + return (Criteria) this;
341 + }
342 +
343 + public Criteria andModuleGreaterThanOrEqualTo(String value) {
344 + addCriterion("MODULE >=", value, "module");
345 + return (Criteria) this;
346 + }
347 +
348 + public Criteria andModuleLessThan(String value) {
349 + addCriterion("MODULE <", value, "module");
350 + return (Criteria) this;
351 + }
352 +
353 + public Criteria andModuleLessThanOrEqualTo(String value) {
354 + addCriterion("MODULE <=", value, "module");
355 + return (Criteria) this;
356 + }
357 +
358 + public Criteria andModuleLike(String value) {
359 + addCriterion("MODULE like", value, "module");
360 + return (Criteria) this;
361 + }
362 +
363 + public Criteria andModuleNotLike(String value) {
364 + addCriterion("MODULE not like", value, "module");
365 + return (Criteria) this;
366 + }
367 +
368 + public Criteria andModuleIn(List<String> values) {
369 + addCriterion("MODULE in", values, "module");
370 + return (Criteria) this;
371 + }
372 +
373 + public Criteria andModuleNotIn(List<String> values) {
374 + addCriterion("MODULE not in", values, "module");
375 + return (Criteria) this;
376 + }
377 +
378 + public Criteria andModuleBetween(String value1, String value2) {
379 + addCriterion("MODULE between", value1, value2, "module");
380 + return (Criteria) this;
381 + }
382 +
383 + public Criteria andModuleNotBetween(String value1, String value2) {
384 + addCriterion("MODULE not between", value1, value2, "module");
385 + return (Criteria) this;
386 + }
387 +
388 + public Criteria andDescribeIsNull() {
389 + addCriterion("DESCRIBE is null");
390 + return (Criteria) this;
391 + }
392 +
393 + public Criteria andDescribeIsNotNull() {
394 + addCriterion("DESCRIBE is not null");
395 + return (Criteria) this;
396 + }
397 +
398 + public Criteria andDescribeEqualTo(String value) {
399 + addCriterion("DESCRIBE =", value, "describe");
400 + return (Criteria) this;
401 + }
402 +
403 + public Criteria andDescribeNotEqualTo(String value) {
404 + addCriterion("DESCRIBE <>", value, "describe");
405 + return (Criteria) this;
406 + }
407 +
408 + public Criteria andDescribeGreaterThan(String value) {
409 + addCriterion("DESCRIBE >", value, "describe");
410 + return (Criteria) this;
411 + }
412 +
413 + public Criteria andDescribeGreaterThanOrEqualTo(String value) {
414 + addCriterion("DESCRIBE >=", value, "describe");
415 + return (Criteria) this;
416 + }
417 +
418 + public Criteria andDescribeLessThan(String value) {
419 + addCriterion("DESCRIBE <", value, "describe");
420 + return (Criteria) this;
421 + }
422 +
423 + public Criteria andDescribeLessThanOrEqualTo(String value) {
424 + addCriterion("DESCRIBE <=", value, "describe");
425 + return (Criteria) this;
426 + }
427 +
428 + public Criteria andDescribeLike(String value) {
429 + addCriterion("DESCRIBE like", value, "describe");
430 + return (Criteria) this;
431 + }
432 +
433 + public Criteria andDescribeNotLike(String value) {
434 + addCriterion("DESCRIBE not like", value, "describe");
435 + return (Criteria) this;
436 + }
437 +
438 + public Criteria andDescribeIn(List<String> values) {
439 + addCriterion("DESCRIBE in", values, "describe");
440 + return (Criteria) this;
441 + }
442 +
443 + public Criteria andDescribeNotIn(List<String> values) {
444 + addCriterion("DESCRIBE not in", values, "describe");
445 + return (Criteria) this;
446 + }
447 +
448 + public Criteria andDescribeBetween(String value1, String value2) {
449 + addCriterion("DESCRIBE between", value1, value2, "describe");
450 + return (Criteria) this;
451 + }
452 +
453 + public Criteria andDescribeNotBetween(String value1, String value2) {
454 + addCriterion("DESCRIBE not between", value1, value2, "describe");
455 + return (Criteria) this;
456 + }
457 +
458 + public Criteria andCreateTimeIsNull() {
459 + addCriterion("CREATE_TIME is null");
460 + return (Criteria) this;
461 + }
462 +
463 + public Criteria andCreateTimeIsNotNull() {
464 + addCriterion("CREATE_TIME is not null");
465 + return (Criteria) this;
466 + }
467 +
468 + public Criteria andCreateTimeEqualTo(Date value) {
469 + addCriterion("CREATE_TIME =", value, "createTime");
470 + return (Criteria) this;
471 + }
472 +
473 + public Criteria andCreateTimeNotEqualTo(Date value) {
474 + addCriterion("CREATE_TIME <>", value, "createTime");
475 + return (Criteria) this;
476 + }
477 +
478 + public Criteria andCreateTimeGreaterThan(Date value) {
479 + addCriterion("CREATE_TIME >", value, "createTime");
480 + return (Criteria) this;
481 + }
482 +
483 + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
484 + addCriterion("CREATE_TIME >=", value, "createTime");
485 + return (Criteria) this;
486 + }
487 +
488 + public Criteria andCreateTimeLessThan(Date value) {
489 + addCriterion("CREATE_TIME <", value, "createTime");
490 + return (Criteria) this;
491 + }
492 +
493 + public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
494 + addCriterion("CREATE_TIME <=", value, "createTime");
495 + return (Criteria) this;
496 + }
497 +
498 + public Criteria andCreateTimeIn(List<Date> values) {
499 + addCriterion("CREATE_TIME in", values, "createTime");
500 + return (Criteria) this;
501 + }
502 +
503 + public Criteria andCreateTimeNotIn(List<Date> values) {
504 + addCriterion("CREATE_TIME not in", values, "createTime");
505 + return (Criteria) this;
506 + }
507 +
508 + public Criteria andCreateTimeBetween(Date value1, Date value2) {
509 + addCriterion("CREATE_TIME between", value1, value2, "createTime");
510 + return (Criteria) this;
511 + }
512 +
513 + public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
514 + addCriterion("CREATE_TIME not between", value1, value2, "createTime");
515 + return (Criteria) this;
516 + }
517 +
518 + public Criteria andUrlIsNull() {
519 + addCriterion("URL is null");
520 + return (Criteria) this;
521 + }
522 +
523 + public Criteria andUrlIsNotNull() {
524 + addCriterion("URL is not null");
525 + return (Criteria) this;
526 + }
527 +
528 + public Criteria andUrlEqualTo(String value) {
529 + addCriterion("URL =", value, "url");
530 + return (Criteria) this;
531 + }
532 +
533 + public Criteria andUrlNotEqualTo(String value) {
534 + addCriterion("URL <>", value, "url");
535 + return (Criteria) this;
536 + }
537 +
538 + public Criteria andUrlGreaterThan(String value) {
539 + addCriterion("URL >", value, "url");
540 + return (Criteria) this;
541 + }
542 +
543 + public Criteria andUrlGreaterThanOrEqualTo(String value) {
544 + addCriterion("URL >=", value, "url");
545 + return (Criteria) this;
546 + }
547 +
548 + public Criteria andUrlLessThan(String value) {
549 + addCriterion("URL <", value, "url");
550 + return (Criteria) this;
551 + }
552 +
553 + public Criteria andUrlLessThanOrEqualTo(String value) {
554 + addCriterion("URL <=", value, "url");
555 + return (Criteria) this;
556 + }
557 +
558 + public Criteria andUrlLike(String value) {
559 + addCriterion("URL like", value, "url");
560 + return (Criteria) this;
561 + }
562 +
563 + public Criteria andUrlNotLike(String value) {
564 + addCriterion("URL not like", value, "url");
565 + return (Criteria) this;
566 + }
567 +
568 + public Criteria andUrlIn(List<String> values) {
569 + addCriterion("URL in", values, "url");
570 + return (Criteria) this;
571 + }
572 +
573 + public Criteria andUrlNotIn(List<String> values) {
574 + addCriterion("URL not in", values, "url");
575 + return (Criteria) this;
576 + }
577 +
578 + public Criteria andUrlBetween(String value1, String value2) {
579 + addCriterion("URL between", value1, value2, "url");
580 + return (Criteria) this;
581 + }
582 +
583 + public Criteria andUrlNotBetween(String value1, String value2) {
584 + addCriterion("URL not between", value1, value2, "url");
585 + return (Criteria) this;
586 + }
587 +
588 + public Criteria andRequestParametersIsNull() {
589 + addCriterion("REQUEST_PARAMETERS is null");
590 + return (Criteria) this;
591 + }
592 +
593 + public Criteria andRequestParametersIsNotNull() {
594 + addCriterion("REQUEST_PARAMETERS is not null");
595 + return (Criteria) this;
596 + }
597 +
598 + public Criteria andRequestParametersEqualTo(String value) {
599 + addCriterion("REQUEST_PARAMETERS =", value, "requestParameters");
600 + return (Criteria) this;
601 + }
602 +
603 + public Criteria andRequestParametersNotEqualTo(String value) {
604 + addCriterion("REQUEST_PARAMETERS <>", value, "requestParameters");
605 + return (Criteria) this;
606 + }
607 +
608 + public Criteria andRequestParametersGreaterThan(String value) {
609 + addCriterion("REQUEST_PARAMETERS >", value, "requestParameters");
610 + return (Criteria) this;
611 + }
612 +
613 + public Criteria andRequestParametersGreaterThanOrEqualTo(String value) {
614 + addCriterion("REQUEST_PARAMETERS >=", value, "requestParameters");
615 + return (Criteria) this;
616 + }
617 +
618 + public Criteria andRequestParametersLessThan(String value) {
619 + addCriterion("REQUEST_PARAMETERS <", value, "requestParameters");
620 + return (Criteria) this;
621 + }
622 +
623 + public Criteria andRequestParametersLessThanOrEqualTo(String value) {
624 + addCriterion("REQUEST_PARAMETERS <=", value, "requestParameters");
625 + return (Criteria) this;
626 + }
627 +
628 + public Criteria andRequestParametersLike(String value) {
629 + addCriterion("REQUEST_PARAMETERS like", value, "requestParameters");
630 + return (Criteria) this;
631 + }
632 +
633 + public Criteria andRequestParametersNotLike(String value) {
634 + addCriterion("REQUEST_PARAMETERS not like", value, "requestParameters");
635 + return (Criteria) this;
636 + }
637 +
638 + public Criteria andRequestParametersIn(List<String> values) {
639 + addCriterion("REQUEST_PARAMETERS in", values, "requestParameters");
640 + return (Criteria) this;
641 + }
642 +
643 + public Criteria andRequestParametersNotIn(List<String> values) {
644 + addCriterion("REQUEST_PARAMETERS not in", values, "requestParameters");
645 + return (Criteria) this;
646 + }
647 +
648 + public Criteria andRequestParametersBetween(String value1, String value2) {
649 + addCriterion("REQUEST_PARAMETERS between", value1, value2, "requestParameters");
650 + return (Criteria) this;
651 + }
652 +
653 + public Criteria andRequestParametersNotBetween(String value1, String value2) {
654 + addCriterion("REQUEST_PARAMETERS not between", value1, value2, "requestParameters");
655 + return (Criteria) this;
656 + }
657 +
658 + public Criteria andResultIsNull() {
659 + addCriterion("RESULT is null");
660 + return (Criteria) this;
661 + }
662 +
663 + public Criteria andResultIsNotNull() {
664 + addCriterion("RESULT is not null");
665 + return (Criteria) this;
666 + }
667 +
668 + public Criteria andResultEqualTo(String value) {
669 + addCriterion("RESULT =", value, "result");
670 + return (Criteria) this;
671 + }
672 +
673 + public Criteria andResultNotEqualTo(String value) {
674 + addCriterion("RESULT <>", value, "result");
675 + return (Criteria) this;
676 + }
677 +
678 + public Criteria andResultGreaterThan(String value) {
679 + addCriterion("RESULT >", value, "result");
680 + return (Criteria) this;
681 + }
682 +
683 + public Criteria andResultGreaterThanOrEqualTo(String value) {
684 + addCriterion("RESULT >=", value, "result");
685 + return (Criteria) this;
686 + }
687 +
688 + public Criteria andResultLessThan(String value) {
689 + addCriterion("RESULT <", value, "result");
690 + return (Criteria) this;
691 + }
692 +
693 + public Criteria andResultLessThanOrEqualTo(String value) {
694 + addCriterion("RESULT <=", value, "result");
695 + return (Criteria) this;
696 + }
697 +
698 + public Criteria andResultLike(String value) {
699 + addCriterion("RESULT like", value, "result");
700 + return (Criteria) this;
701 + }
702 +
703 + public Criteria andResultNotLike(String value) {
704 + addCriterion("RESULT not like", value, "result");
705 + return (Criteria) this;
706 + }
707 +
708 + public Criteria andResultIn(List<String> values) {
709 + addCriterion("RESULT in", values, "result");
710 + return (Criteria) this;
711 + }
712 +
713 + public Criteria andResultNotIn(List<String> values) {
714 + addCriterion("RESULT not in", values, "result");
715 + return (Criteria) this;
716 + }
717 +
718 + public Criteria andResultBetween(String value1, String value2) {
719 + addCriterion("RESULT between", value1, value2, "result");
720 + return (Criteria) this;
721 + }
722 +
723 + public Criteria andResultNotBetween(String value1, String value2) {
724 + addCriterion("RESULT not between", value1, value2, "result");
725 + return (Criteria) this;
726 + }
727 +
728 + public Criteria andStatusIsNull() {
729 + addCriterion("STATUS is null");
730 + return (Criteria) this;
731 + }
732 +
733 + public Criteria andStatusIsNotNull() {
734 + addCriterion("STATUS is not null");
735 + return (Criteria) this;
736 + }
737 +
738 + public Criteria andStatusEqualTo(Long value) {
739 + addCriterion("STATUS =", value, "status");
740 + return (Criteria) this;
741 + }
742 +
743 + public Criteria andStatusNotEqualTo(Long value) {
744 + addCriterion("STATUS <>", value, "status");
745 + return (Criteria) this;
746 + }
747 +
748 + public Criteria andStatusGreaterThan(Long value) {
749 + addCriterion("STATUS >", value, "status");
750 + return (Criteria) this;
751 + }
752 +
753 + public Criteria andStatusGreaterThanOrEqualTo(Long value) {
754 + addCriterion("STATUS >=", value, "status");
755 + return (Criteria) this;
756 + }
757 +
758 + public Criteria andStatusLessThan(Long value) {
759 + addCriterion("STATUS <", value, "status");
760 + return (Criteria) this;
761 + }
762 +
763 + public Criteria andStatusLessThanOrEqualTo(Long value) {
764 + addCriterion("STATUS <=", value, "status");
765 + return (Criteria) this;
766 + }
767 +
768 + public Criteria andStatusIn(List<Long> values) {
769 + addCriterion("STATUS in", values, "status");
770 + return (Criteria) this;
771 + }
772 +
773 + public Criteria andStatusNotIn(List<Long> values) {
774 + addCriterion("STATUS not in", values, "status");
775 + return (Criteria) this;
776 + }
777 +
778 + public Criteria andStatusBetween(Long value1, Long value2) {
779 + addCriterion("STATUS between", value1, value2, "status");
780 + return (Criteria) this;
781 + }
782 +
783 + public Criteria andStatusNotBetween(Long value1, Long value2) {
784 + addCriterion("STATUS not between", value1, value2, "status");
785 + return (Criteria) this;
786 + }
787 + }
788 +
789 + public static class Criteria extends GeneratedCriteria {
790 +
791 + protected Criteria() {
792 + super();
793 + }
794 + }
795 +
796 + public static class Criterion {
797 + private String condition;
798 +
799 + private Object value;
800 +
801 + private Object secondValue;
802 +
803 + private boolean noValue;
804 +
805 + private boolean singleValue;
806 +
807 + private boolean betweenValue;
808 +
809 + private boolean listValue;
810 +
811 + private String typeHandler;
812 +
813 + public String getCondition() {
814 + return condition;
815 + }
816 +
817 + public Object getValue() {
818 + return value;
819 + }
820 +
821 + public Object getSecondValue() {
822 + return secondValue;
823 + }
824 +
825 + public boolean isNoValue() {
826 + return noValue;
827 + }
828 +
829 + public boolean isSingleValue() {
830 + return singleValue;
831 + }
832 +
833 + public boolean isBetweenValue() {
834 + return betweenValue;
835 + }
836 +
837 + public boolean isListValue() {
838 + return listValue;
839 + }
840 +
841 + public String getTypeHandler() {
842 + return typeHandler;
843 + }
844 +
845 + protected Criterion(String condition) {
846 + super();
847 + this.condition = condition;
848 + this.typeHandler = null;
849 + this.noValue = true;
850 + }
851 +
852 + protected Criterion(String condition, Object value, String typeHandler) {
853 + super();
854 + this.condition = condition;
855 + this.value = value;
856 + this.typeHandler = typeHandler;
857 + if (value instanceof List<?>) {
858 + this.listValue = true;
859 + } else {
860 + this.singleValue = true;
861 + }
862 + }
863 +
864 + protected Criterion(String condition, Object value) {
865 + this(condition, value, null);
866 + }
867 +
868 + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
869 + super();
870 + this.condition = condition;
871 + this.value = value;
872 + this.secondValue = secondValue;
873 + this.typeHandler = typeHandler;
874 + this.betweenValue = true;
875 + }
876 +
877 + protected Criterion(String condition, Object value, Object secondValue) {
878 + this(condition, value, secondValue, null);
879 + }
880 + }
881 +}
...\ No newline at end of file ...\ No newline at end of file
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 sys:系统 系统相关表,例如kafka表 40 sys:系统 系统相关表,例如kafka表
41 log: 日志 日志记录表,例如邮件发送日志表 41 log: 日志 日志记录表,例如邮件发送日志表
42 --> 42 -->
43 - <javaModelGenerator targetPackage="com.fedex.connect.common.model.biz" targetProject="src/main/java"> 43 + <javaModelGenerator targetPackage="com.fedex.connect.common.model.log" targetProject="src/main/java">
44 <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> 44 <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性-->
45 <property name="enableSubPackages" value="false"/> 45 <property name="enableSubPackages" value="false"/>
46 <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> 46 <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false-->
...@@ -52,13 +52,13 @@ ...@@ -52,13 +52,13 @@
52 </javaModelGenerator> 52 </javaModelGenerator>
53 53
54 <!-- 生成映射文件*.xml的位置--> 54 <!-- 生成映射文件*.xml的位置-->
55 - <sqlMapGenerator targetPackage="mapper.biz" targetProject="src/main/java/com/fedex/connect/common"> 55 + <sqlMapGenerator targetPackage="mapper.log" targetProject="src/main/java/com/fedex/connect/common">
56 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> 56 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
57 <property name="enableSubPackages" value="false"/> 57 <property name="enableSubPackages" value="false"/>
58 </sqlMapGenerator> 58 </sqlMapGenerator>
59 59
60 <!-- 生成DAO的包名和位置 --> 60 <!-- 生成DAO的包名和位置 -->
61 - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.biz" targetProject="src/main/java"> 61 + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.log" targetProject="src/main/java">
62 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> 62 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
63 <property name="enableSubPackages" value="false"/> 63 <property name="enableSubPackages" value="false"/>
64 </javaClientGenerator> 64 </javaClientGenerator>
...@@ -73,45 +73,61 @@ ...@@ -73,45 +73,61 @@
73 generatedKey 指定KEY,Oracle需要指定序列。 73 generatedKey 指定KEY,Oracle需要指定序列。
74 sqlStatement 指定序列名称 74 sqlStatement 指定序列名称
75 --> 75 -->
76 - <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment" 76 + <table tableName="T_LOG_OPERATION" domainObjectName="Operation"
77 enableCountByExample="true" enableUpdateByExample="true" 77 enableCountByExample="true" enableUpdateByExample="true"
78 enableDeleteByExample="true" enableSelectByExample="true" 78 enableDeleteByExample="true" enableSelectByExample="true"
79 selectByExampleQueryId="true"> 79 selectByExampleQueryId="true">
80 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" /> 80 + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL" />
81 </table> 81 </table>
82 - <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" 82 + <table tableName="T_LOG_EMAIL_HISTORY" domainObjectName="EmailHistory"
83 enableCountByExample="true" enableUpdateByExample="true" 83 enableCountByExample="true" enableUpdateByExample="true"
84 enableDeleteByExample="true" enableSelectByExample="true" 84 enableDeleteByExample="true" enableSelectByExample="true"
85 selectByExampleQueryId="true"> 85 selectByExampleQueryId="true">
86 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" /> 86 + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" />
87 - </table>
88 - <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"
89 - enableCountByExample="true" enableUpdateByExample="true"
90 - enableDeleteByExample="true" enableSelectByExample="true"
91 - selectByExampleQueryId="true">
92 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />
93 - </table>
94 - <table tableName="T_BIZ_EMAIL" domainObjectName="Email"
95 - enableCountByExample="true" enableUpdateByExample="true"
96 - enableDeleteByExample="true" enableSelectByExample="true"
97 - selectByExampleQueryId="true">
98 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_EMAIL.NEXTVAL FROM DUAL" />
99 - </table>
100 - <table tableName="T_BIZ_PUSH_OB" domainObjectName="PushOb"
101 - enableCountByExample="true" enableUpdateByExample="true"
102 - enableDeleteByExample="true" enableSelectByExample="true"
103 - selectByExampleQueryId="true">
104 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB.NEXTVAL FROM DUAL" />
105 - </table>
106 - <table tableName="T_BIZ_PUSH_OB_DETAIL" domainObjectName="PushObDetail"
107 - enableCountByExample="true" enableUpdateByExample="true"
108 - enableDeleteByExample="true" enableSelectByExample="true"
109 - selectByExampleQueryId="true">
110 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" />
111 </table> 87 </table>
112 88
113 89
114 90
91 +
92 +<!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"-->
93 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
94 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
95 +<!-- selectByExampleQueryId="true">-->
96 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />-->
97 +<!-- </table>-->
98 +<!-- <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"-->
99 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
100 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
101 +<!-- selectByExampleQueryId="true">-->
102 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />-->
103 +<!-- </table>-->
104 +<!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"-->
105 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
106 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
107 +<!-- selectByExampleQueryId="true">-->
108 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />-->
109 +<!-- </table>-->
110 +<!-- <table tableName="T_BIZ_EMAIL" domainObjectName="Email"-->
111 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
112 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
113 +<!-- selectByExampleQueryId="true">-->
114 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_EMAIL.NEXTVAL FROM DUAL" />-->
115 +<!-- </table>-->
116 +<!-- <table tableName="T_BIZ_PUSH_OB" domainObjectName="PushOb"-->
117 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
118 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
119 +<!-- selectByExampleQueryId="true">-->
120 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB.NEXTVAL FROM DUAL" />-->
121 +<!-- </table>-->
122 +<!-- <table tableName="T_BIZ_PUSH_OB_DETAIL" domainObjectName="PushObDetail"-->
123 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
124 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
125 +<!-- selectByExampleQueryId="true">-->
126 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" />-->
127 +<!-- </table>-->
128 +
129 +
130 +
115 <!-- <table tableName="T_BI_PORTCLEAR_EMAIL_MAPPING" domainObjectName="PortclearEmailMapping"--> 131 <!-- <table tableName="T_BI_PORTCLEAR_EMAIL_MAPPING" domainObjectName="PortclearEmailMapping"-->
116 <!-- enableCountByExample="true" enableUpdateByExample="true"--> 132 <!-- enableCountByExample="true" enableUpdateByExample="true"-->
117 <!-- enableDeleteByExample="true" enableSelectByExample="true"--> 133 <!-- enableDeleteByExample="true" enableSelectByExample="true"-->
......