zelong.shao

dao|初始化dao层

1 -package com.fedex.connect.common.dao.base;
2 -
3 -import com.fedex.connect.common.model.base.DictionaryEntries;
4 -import com.fedex.connect.common.model.base.DictionaryEntriesExample;
5 -import org.apache.ibatis.annotations.Param;
6 -
7 -import java.util.List;
8 -
9 -public interface DictionaryEntriesMapper {
10 - long countByExample(DictionaryEntriesExample example);
11 -
12 - int deleteByExample(DictionaryEntriesExample example);
13 -
14 - int deleteByPrimaryKey(Long id);
15 -
16 - int insert(DictionaryEntries record);
17 -
18 - int insertSelective(DictionaryEntries record);
19 -
20 - List<DictionaryEntries> selectByExample(DictionaryEntriesExample example);
21 -
22 - DictionaryEntries selectByPrimaryKey(Long id);
23 -
24 - int updateByExampleSelective(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example);
25 -
26 - int updateByExample(@Param("record") DictionaryEntries record, @Param("example") DictionaryEntriesExample example);
27 -
28 - int updateByPrimaryKeySelective(DictionaryEntries record);
29 -
30 - int updateByPrimaryKey(DictionaryEntries record);
31 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.dao.base;
2 -
3 -import com.fedex.connect.common.model.base.Dictionary;
4 -import com.fedex.connect.common.model.base.DictionaryExample;
5 -import org.apache.ibatis.annotations.Param;
6 -
7 -import java.util.List;
8 -
9 -public interface DictionaryMapper {
10 - long countByExample(DictionaryExample example);
11 -
12 - int deleteByExample(DictionaryExample example);
13 -
14 - int deleteByPrimaryKey(Long id);
15 -
16 - int insert(Dictionary record);
17 -
18 - int insertSelective(Dictionary record);
19 -
20 - List<Dictionary> selectByExample(DictionaryExample example);
21 -
22 - Dictionary selectByPrimaryKey(Long id);
23 -
24 - int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example);
25 -
26 - int updateByExample(@Param("record") Dictionary record, @Param("example") DictionaryExample example);
27 -
28 - int updateByPrimaryKeySelective(Dictionary record);
29 -
30 - int updateByPrimaryKey(Dictionary record);
31 -}
...\ 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.base.DictionaryEntriesMapper">
4 - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.DictionaryEntries">
5 - <id column="ID" jdbcType="NUMERIC" property="id" />
6 - <result column="CODE" jdbcType="VARCHAR" property="code" />
7 - <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
8 - <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
9 - <result column="STATUS" jdbcType="NUMERIC" property="status" />
10 - <result column="PARENT_ID" jdbcType="NUMERIC" property="parentId" />
11 - <result column="DICT_ID" jdbcType="NUMERIC" property="dictId" />
12 - <result column="DICT_CODE" jdbcType="VARCHAR" property="dictCode" />
13 - <result column="ORDINAL" jdbcType="NUMERIC" property="ordinal" />
14 - <result column="EXT1" jdbcType="VARCHAR" property="ext1" />
15 - <result column="EXT2" jdbcType="VARCHAR" property="ext2" />
16 - <result column="EXT3" jdbcType="NUMERIC" property="ext3" />
17 - <result column="EXT4" jdbcType="NUMERIC" property="ext4" />
18 - <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
19 - <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
20 - <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
21 - <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
22 - <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
23 - <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
24 - </resultMap>
25 - <sql id="Example_Where_Clause">
26 - <where>
27 - <foreach collection="oredCriteria" item="criteria" separator="or">
28 - <if test="criteria.valid">
29 - <trim prefix="(" prefixOverrides="and" suffix=")">
30 - <foreach collection="criteria.criteria" item="criterion">
31 - <choose>
32 - <when test="criterion.noValue">
33 - and ${criterion.condition}
34 - </when>
35 - <when test="criterion.singleValue">
36 - and ${criterion.condition} #{criterion.value}
37 - </when>
38 - <when test="criterion.betweenValue">
39 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
40 - </when>
41 - <when test="criterion.listValue">
42 - and ${criterion.condition}
43 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
44 - #{listItem}
45 - </foreach>
46 - </when>
47 - </choose>
48 - </foreach>
49 - </trim>
50 - </if>
51 - </foreach>
52 - </where>
53 - </sql>
54 - <sql id="Update_By_Example_Where_Clause">
55 - <where>
56 - <foreach collection="example.oredCriteria" item="criteria" separator="or">
57 - <if test="criteria.valid">
58 - <trim prefix="(" prefixOverrides="and" suffix=")">
59 - <foreach collection="criteria.criteria" item="criterion">
60 - <choose>
61 - <when test="criterion.noValue">
62 - and ${criterion.condition}
63 - </when>
64 - <when test="criterion.singleValue">
65 - and ${criterion.condition} #{criterion.value}
66 - </when>
67 - <when test="criterion.betweenValue">
68 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
69 - </when>
70 - <when test="criterion.listValue">
71 - and ${criterion.condition}
72 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
73 - #{listItem}
74 - </foreach>
75 - </when>
76 - </choose>
77 - </foreach>
78 - </trim>
79 - </if>
80 - </foreach>
81 - </where>
82 - </sql>
83 - <sql id="Base_Column_List">
84 - ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, DICT_ID, DICT_CODE, ORDINAL,
85 - EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME,
86 - MODIFY_USER_ID, MODIFY_USER_NAME
87 - </sql>
88 - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultMap="BaseResultMap">
89 - <include refid="OracleDialectPrefix" />
90 - select
91 - <if test="distinct">
92 - distinct
93 - </if>
94 - 'true' as QUERYID,
95 - <include refid="Base_Column_List" />
96 - from T_BI_DICTIONARY_ENTRIES
97 - <if test="_parameter != null">
98 - <include refid="Example_Where_Clause" />
99 - </if>
100 - <if test="orderByClause != null">
101 - order by ${orderByClause}
102 - </if>
103 - <include refid="OracleDialectSuffix" />
104 - </select>
105 - <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
106 - select
107 - <include refid="Base_Column_List" />
108 - from T_BI_DICTIONARY_ENTRIES
109 - where ID = #{id,jdbcType=NUMERIC}
110 - </select>
111 - <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
112 - delete from T_BI_DICTIONARY_ENTRIES
113 - where ID = #{id,jdbcType=NUMERIC}
114 - </delete>
115 - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample">
116 - delete from T_BI_DICTIONARY_ENTRIES
117 - <if test="_parameter != null">
118 - <include refid="Example_Where_Clause" />
119 - </if>
120 - </delete>
121 - <insert id="insert" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
122 - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
123 - SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL
124 - </selectKey>
125 - insert into T_BI_DICTIONARY_ENTRIES (ID, CODE, ENGLISH_NAME,
126 - DESCRIPTION, STATUS, PARENT_ID,
127 - DICT_ID, DICT_CODE, ORDINAL,
128 - EXT1, EXT2, EXT3, EXT4,
129 - CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
130 - MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
131 - )
132 - values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR},
133 - #{description,jdbcType=VARCHAR}, #{status,jdbcType=NUMERIC}, #{parentId,jdbcType=NUMERIC},
134 - #{dictId,jdbcType=NUMERIC}, #{dictCode,jdbcType=VARCHAR}, #{ordinal,jdbcType=NUMERIC},
135 - #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=NUMERIC}, #{ext4,jdbcType=NUMERIC},
136 - #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR},
137 - #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}
138 - )
139 - </insert>
140 - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
141 - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
142 - SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL
143 - </selectKey>
144 - insert into T_BI_DICTIONARY_ENTRIES
145 - <trim prefix="(" suffix=")" suffixOverrides=",">
146 - ID,
147 - <if test="code != null">
148 - CODE,
149 - </if>
150 - <if test="englishName != null">
151 - ENGLISH_NAME,
152 - </if>
153 - <if test="description != null">
154 - DESCRIPTION,
155 - </if>
156 - <if test="status != null">
157 - STATUS,
158 - </if>
159 - <if test="parentId != null">
160 - PARENT_ID,
161 - </if>
162 - <if test="dictId != null">
163 - DICT_ID,
164 - </if>
165 - <if test="dictCode != null">
166 - DICT_CODE,
167 - </if>
168 - <if test="ordinal != null">
169 - ORDINAL,
170 - </if>
171 - <if test="ext1 != null">
172 - EXT1,
173 - </if>
174 - <if test="ext2 != null">
175 - EXT2,
176 - </if>
177 - <if test="ext3 != null">
178 - EXT3,
179 - </if>
180 - <if test="ext4 != null">
181 - EXT4,
182 - </if>
183 - <if test="createTime != null">
184 - CREATE_TIME,
185 - </if>
186 - <if test="createUserId != null">
187 - CREATE_USER_ID,
188 - </if>
189 - <if test="createUserName != null">
190 - CREATE_USER_NAME,
191 - </if>
192 - <if test="modifyTime != null">
193 - MODIFY_TIME,
194 - </if>
195 - <if test="modifyUserId != null">
196 - MODIFY_USER_ID,
197 - </if>
198 - <if test="modifyUserName != null">
199 - MODIFY_USER_NAME,
200 - </if>
201 - </trim>
202 - <trim prefix="values (" suffix=")" suffixOverrides=",">
203 - #{id,jdbcType=NUMERIC},
204 - <if test="code != null">
205 - #{code,jdbcType=VARCHAR},
206 - </if>
207 - <if test="englishName != null">
208 - #{englishName,jdbcType=VARCHAR},
209 - </if>
210 - <if test="description != null">
211 - #{description,jdbcType=VARCHAR},
212 - </if>
213 - <if test="status != null">
214 - #{status,jdbcType=NUMERIC},
215 - </if>
216 - <if test="parentId != null">
217 - #{parentId,jdbcType=NUMERIC},
218 - </if>
219 - <if test="dictId != null">
220 - #{dictId,jdbcType=NUMERIC},
221 - </if>
222 - <if test="dictCode != null">
223 - #{dictCode,jdbcType=VARCHAR},
224 - </if>
225 - <if test="ordinal != null">
226 - #{ordinal,jdbcType=NUMERIC},
227 - </if>
228 - <if test="ext1 != null">
229 - #{ext1,jdbcType=VARCHAR},
230 - </if>
231 - <if test="ext2 != null">
232 - #{ext2,jdbcType=VARCHAR},
233 - </if>
234 - <if test="ext3 != null">
235 - #{ext3,jdbcType=NUMERIC},
236 - </if>
237 - <if test="ext4 != null">
238 - #{ext4,jdbcType=NUMERIC},
239 - </if>
240 - <if test="createTime != null">
241 - #{createTime,jdbcType=TIMESTAMP},
242 - </if>
243 - <if test="createUserId != null">
244 - #{createUserId,jdbcType=NUMERIC},
245 - </if>
246 - <if test="createUserName != null">
247 - #{createUserName,jdbcType=VARCHAR},
248 - </if>
249 - <if test="modifyTime != null">
250 - #{modifyTime,jdbcType=TIMESTAMP},
251 - </if>
252 - <if test="modifyUserId != null">
253 - #{modifyUserId,jdbcType=NUMERIC},
254 - </if>
255 - <if test="modifyUserName != null">
256 - #{modifyUserName,jdbcType=VARCHAR},
257 - </if>
258 - </trim>
259 - </insert>
260 - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultType="java.lang.Long">
261 - select count(*) from T_BI_DICTIONARY_ENTRIES
262 - <if test="_parameter != null">
263 - <include refid="Example_Where_Clause" />
264 - </if>
265 - </select>
266 - <update id="updateByExampleSelective" parameterType="map">
267 - update T_BI_DICTIONARY_ENTRIES
268 - <set>
269 - <if test="record.id != null">
270 - ID = #{record.id,jdbcType=NUMERIC},
271 - </if>
272 - <if test="record.code != null">
273 - CODE = #{record.code,jdbcType=VARCHAR},
274 - </if>
275 - <if test="record.englishName != null">
276 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
277 - </if>
278 - <if test="record.description != null">
279 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
280 - </if>
281 - <if test="record.status != null">
282 - STATUS = #{record.status,jdbcType=NUMERIC},
283 - </if>
284 - <if test="record.parentId != null">
285 - PARENT_ID = #{record.parentId,jdbcType=NUMERIC},
286 - </if>
287 - <if test="record.dictId != null">
288 - DICT_ID = #{record.dictId,jdbcType=NUMERIC},
289 - </if>
290 - <if test="record.dictCode != null">
291 - DICT_CODE = #{record.dictCode,jdbcType=VARCHAR},
292 - </if>
293 - <if test="record.ordinal != null">
294 - ORDINAL = #{record.ordinal,jdbcType=NUMERIC},
295 - </if>
296 - <if test="record.ext1 != null">
297 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
298 - </if>
299 - <if test="record.ext2 != null">
300 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
301 - </if>
302 - <if test="record.ext3 != null">
303 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
304 - </if>
305 - <if test="record.ext4 != null">
306 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
307 - </if>
308 - <if test="record.createTime != null">
309 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
310 - </if>
311 - <if test="record.createUserId != null">
312 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
313 - </if>
314 - <if test="record.createUserName != null">
315 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
316 - </if>
317 - <if test="record.modifyTime != null">
318 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
319 - </if>
320 - <if test="record.modifyUserId != null">
321 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
322 - </if>
323 - <if test="record.modifyUserName != null">
324 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
325 - </if>
326 - </set>
327 - <if test="_parameter != null">
328 - <include refid="Update_By_Example_Where_Clause" />
329 - </if>
330 - </update>
331 - <update id="updateByExample" parameterType="map">
332 - update T_BI_DICTIONARY_ENTRIES
333 - set ID = #{record.id,jdbcType=NUMERIC},
334 - CODE = #{record.code,jdbcType=VARCHAR},
335 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
336 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
337 - STATUS = #{record.status,jdbcType=NUMERIC},
338 - PARENT_ID = #{record.parentId,jdbcType=NUMERIC},
339 - DICT_ID = #{record.dictId,jdbcType=NUMERIC},
340 - DICT_CODE = #{record.dictCode,jdbcType=VARCHAR},
341 - ORDINAL = #{record.ordinal,jdbcType=NUMERIC},
342 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
343 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
344 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
345 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
346 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
347 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
348 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
349 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
350 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
351 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
352 - <if test="_parameter != null">
353 - <include refid="Update_By_Example_Where_Clause" />
354 - </if>
355 - </update>
356 - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
357 - update T_BI_DICTIONARY_ENTRIES
358 - <set>
359 - <if test="code != null">
360 - CODE = #{code,jdbcType=VARCHAR},
361 - </if>
362 - <if test="englishName != null">
363 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
364 - </if>
365 - <if test="description != null">
366 - DESCRIPTION = #{description,jdbcType=VARCHAR},
367 - </if>
368 - <if test="status != null">
369 - STATUS = #{status,jdbcType=NUMERIC},
370 - </if>
371 - <if test="parentId != null">
372 - PARENT_ID = #{parentId,jdbcType=NUMERIC},
373 - </if>
374 - <if test="dictId != null">
375 - DICT_ID = #{dictId,jdbcType=NUMERIC},
376 - </if>
377 - <if test="dictCode != null">
378 - DICT_CODE = #{dictCode,jdbcType=VARCHAR},
379 - </if>
380 - <if test="ordinal != null">
381 - ORDINAL = #{ordinal,jdbcType=NUMERIC},
382 - </if>
383 - <if test="ext1 != null">
384 - EXT1 = #{ext1,jdbcType=VARCHAR},
385 - </if>
386 - <if test="ext2 != null">
387 - EXT2 = #{ext2,jdbcType=VARCHAR},
388 - </if>
389 - <if test="ext3 != null">
390 - EXT3 = #{ext3,jdbcType=NUMERIC},
391 - </if>
392 - <if test="ext4 != null">
393 - EXT4 = #{ext4,jdbcType=NUMERIC},
394 - </if>
395 - <if test="createTime != null">
396 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
397 - </if>
398 - <if test="createUserId != null">
399 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
400 - </if>
401 - <if test="createUserName != null">
402 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
403 - </if>
404 - <if test="modifyTime != null">
405 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
406 - </if>
407 - <if test="modifyUserId != null">
408 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
409 - </if>
410 - <if test="modifyUserName != null">
411 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
412 - </if>
413 - </set>
414 - where ID = #{id,jdbcType=NUMERIC}
415 - </update>
416 - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
417 - update T_BI_DICTIONARY_ENTRIES
418 - set CODE = #{code,jdbcType=VARCHAR},
419 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
420 - DESCRIPTION = #{description,jdbcType=VARCHAR},
421 - STATUS = #{status,jdbcType=NUMERIC},
422 - PARENT_ID = #{parentId,jdbcType=NUMERIC},
423 - DICT_ID = #{dictId,jdbcType=NUMERIC},
424 - DICT_CODE = #{dictCode,jdbcType=VARCHAR},
425 - ORDINAL = #{ordinal,jdbcType=NUMERIC},
426 - EXT1 = #{ext1,jdbcType=VARCHAR},
427 - EXT2 = #{ext2,jdbcType=VARCHAR},
428 - EXT3 = #{ext3,jdbcType=NUMERIC},
429 - EXT4 = #{ext4,jdbcType=NUMERIC},
430 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
431 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
432 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
433 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
434 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
435 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
436 - where ID = #{id,jdbcType=NUMERIC}
437 - </update>
438 - <sql id="OracleDialectPrefix">
439 - <if test="limitStart != null and limitStart&gt;=0">
440 - select * from ( select row_.*, rownum rownum_ from (
441 - </if>
442 - </sql>
443 - <sql id="OracleDialectSuffix">
444 - <if test="limitStart != null and limitStart&gt;=0">
445 - <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
446 - </if>
447 - </sql>
448 - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.DictionaryEntries">
449 - <id column="ID" jdbcType="NUMERIC" property="id" />
450 - <result column="CODE" jdbcType="VARCHAR" property="code" />
451 - <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
452 - <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
453 - <result column="STATUS" jdbcType="NUMERIC" property="status" />
454 - <result column="PARENT_ID" jdbcType="NUMERIC" property="parentId" />
455 - <result column="DICT_ID" jdbcType="NUMERIC" property="dictId" />
456 - <result column="DICT_CODE" jdbcType="VARCHAR" property="dictCode" />
457 - <result column="ORDINAL" jdbcType="NUMERIC" property="ordinal" />
458 - <result column="EXT1" jdbcType="VARCHAR" property="ext1" />
459 - <result column="EXT2" jdbcType="VARCHAR" property="ext2" />
460 - <result column="EXT3" jdbcType="NUMERIC" property="ext3" />
461 - <result column="EXT4" jdbcType="NUMERIC" property="ext4" />
462 - <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
463 - <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
464 - <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
465 - <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
466 - <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
467 - <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
468 - </resultMap>
469 - <sql id="Example_Where_Clause">
470 - <where>
471 - <foreach collection="oredCriteria" item="criteria" separator="or">
472 - <if test="criteria.valid">
473 - <trim prefix="(" prefixOverrides="and" suffix=")">
474 - <foreach collection="criteria.criteria" item="criterion">
475 - <choose>
476 - <when test="criterion.noValue">
477 - and ${criterion.condition}
478 - </when>
479 - <when test="criterion.singleValue">
480 - and ${criterion.condition} #{criterion.value}
481 - </when>
482 - <when test="criterion.betweenValue">
483 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
484 - </when>
485 - <when test="criterion.listValue">
486 - and ${criterion.condition}
487 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
488 - #{listItem}
489 - </foreach>
490 - </when>
491 - </choose>
492 - </foreach>
493 - </trim>
494 - </if>
495 - </foreach>
496 - </where>
497 - </sql>
498 - <sql id="Update_By_Example_Where_Clause">
499 - <where>
500 - <foreach collection="example.oredCriteria" item="criteria" separator="or">
501 - <if test="criteria.valid">
502 - <trim prefix="(" prefixOverrides="and" suffix=")">
503 - <foreach collection="criteria.criteria" item="criterion">
504 - <choose>
505 - <when test="criterion.noValue">
506 - and ${criterion.condition}
507 - </when>
508 - <when test="criterion.singleValue">
509 - and ${criterion.condition} #{criterion.value}
510 - </when>
511 - <when test="criterion.betweenValue">
512 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
513 - </when>
514 - <when test="criterion.listValue">
515 - and ${criterion.condition}
516 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
517 - #{listItem}
518 - </foreach>
519 - </when>
520 - </choose>
521 - </foreach>
522 - </trim>
523 - </if>
524 - </foreach>
525 - </where>
526 - </sql>
527 - <sql id="Base_Column_List">
528 - ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, DICT_ID, DICT_CODE, ORDINAL,
529 - EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME,
530 - MODIFY_USER_ID, MODIFY_USER_NAME
531 - </sql>
532 - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultMap="BaseResultMap">
533 - <include refid="OracleDialectPrefix" />
534 - select
535 - <if test="distinct">
536 - distinct
537 - </if>
538 - 'true' as QUERYID,
539 - <include refid="Base_Column_List" />
540 - from T_BI_DICTIONARY_ENTRIES
541 - <if test="_parameter != null">
542 - <include refid="Example_Where_Clause" />
543 - </if>
544 - <if test="orderByClause != null">
545 - order by ${orderByClause}
546 - </if>
547 - <include refid="OracleDialectSuffix" />
548 - </select>
549 - <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
550 - select
551 - <include refid="Base_Column_List" />
552 - from T_BI_DICTIONARY_ENTRIES
553 - where ID = #{id,jdbcType=NUMERIC}
554 - </select>
555 - <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
556 - delete from T_BI_DICTIONARY_ENTRIES
557 - where ID = #{id,jdbcType=NUMERIC}
558 - </delete>
559 - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample">
560 - delete from T_BI_DICTIONARY_ENTRIES
561 - <if test="_parameter != null">
562 - <include refid="Example_Where_Clause" />
563 - </if>
564 - </delete>
565 - <insert id="insert" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
566 - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal">
567 - SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL
568 - </selectKey>
569 - insert into T_BI_DICTIONARY_ENTRIES (ID, CODE, ENGLISH_NAME,
570 - DESCRIPTION, STATUS, PARENT_ID,
571 - DICT_ID, DICT_CODE, ORDINAL,
572 - EXT1, EXT2, EXT3, EXT4,
573 - CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
574 - MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
575 - )
576 - values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR},
577 - #{description,jdbcType=VARCHAR}, #{status,jdbcType=NUMERIC}, #{parentId,jdbcType=NUMERIC},
578 - #{dictId,jdbcType=NUMERIC}, #{dictCode,jdbcType=VARCHAR}, #{ordinal,jdbcType=NUMERIC},
579 - #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=NUMERIC}, #{ext4,jdbcType=NUMERIC},
580 - #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR},
581 - #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}
582 - )
583 - </insert>
584 - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
585 - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal">
586 - SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL
587 - </selectKey>
588 - insert into T_BI_DICTIONARY_ENTRIES
589 - <trim prefix="(" suffix=")" suffixOverrides=",">
590 - ID,
591 - <if test="code != null">
592 - CODE,
593 - </if>
594 - <if test="englishName != null">
595 - ENGLISH_NAME,
596 - </if>
597 - <if test="description != null">
598 - DESCRIPTION,
599 - </if>
600 - <if test="status != null">
601 - STATUS,
602 - </if>
603 - <if test="parentId != null">
604 - PARENT_ID,
605 - </if>
606 - <if test="dictId != null">
607 - DICT_ID,
608 - </if>
609 - <if test="dictCode != null">
610 - DICT_CODE,
611 - </if>
612 - <if test="ordinal != null">
613 - ORDINAL,
614 - </if>
615 - <if test="ext1 != null">
616 - EXT1,
617 - </if>
618 - <if test="ext2 != null">
619 - EXT2,
620 - </if>
621 - <if test="ext3 != null">
622 - EXT3,
623 - </if>
624 - <if test="ext4 != null">
625 - EXT4,
626 - </if>
627 - <if test="createTime != null">
628 - CREATE_TIME,
629 - </if>
630 - <if test="createUserId != null">
631 - CREATE_USER_ID,
632 - </if>
633 - <if test="createUserName != null">
634 - CREATE_USER_NAME,
635 - </if>
636 - <if test="modifyTime != null">
637 - MODIFY_TIME,
638 - </if>
639 - <if test="modifyUserId != null">
640 - MODIFY_USER_ID,
641 - </if>
642 - <if test="modifyUserName != null">
643 - MODIFY_USER_NAME,
644 - </if>
645 - </trim>
646 - <trim prefix="values (" suffix=")" suffixOverrides=",">
647 - #{id,jdbcType=NUMERIC},
648 - <if test="code != null">
649 - #{code,jdbcType=VARCHAR},
650 - </if>
651 - <if test="englishName != null">
652 - #{englishName,jdbcType=VARCHAR},
653 - </if>
654 - <if test="description != null">
655 - #{description,jdbcType=VARCHAR},
656 - </if>
657 - <if test="status != null">
658 - #{status,jdbcType=NUMERIC},
659 - </if>
660 - <if test="parentId != null">
661 - #{parentId,jdbcType=NUMERIC},
662 - </if>
663 - <if test="dictId != null">
664 - #{dictId,jdbcType=NUMERIC},
665 - </if>
666 - <if test="dictCode != null">
667 - #{dictCode,jdbcType=VARCHAR},
668 - </if>
669 - <if test="ordinal != null">
670 - #{ordinal,jdbcType=NUMERIC},
671 - </if>
672 - <if test="ext1 != null">
673 - #{ext1,jdbcType=VARCHAR},
674 - </if>
675 - <if test="ext2 != null">
676 - #{ext2,jdbcType=VARCHAR},
677 - </if>
678 - <if test="ext3 != null">
679 - #{ext3,jdbcType=NUMERIC},
680 - </if>
681 - <if test="ext4 != null">
682 - #{ext4,jdbcType=NUMERIC},
683 - </if>
684 - <if test="createTime != null">
685 - #{createTime,jdbcType=TIMESTAMP},
686 - </if>
687 - <if test="createUserId != null">
688 - #{createUserId,jdbcType=NUMERIC},
689 - </if>
690 - <if test="createUserName != null">
691 - #{createUserName,jdbcType=VARCHAR},
692 - </if>
693 - <if test="modifyTime != null">
694 - #{modifyTime,jdbcType=TIMESTAMP},
695 - </if>
696 - <if test="modifyUserId != null">
697 - #{modifyUserId,jdbcType=NUMERIC},
698 - </if>
699 - <if test="modifyUserName != null">
700 - #{modifyUserName,jdbcType=VARCHAR},
701 - </if>
702 - </trim>
703 - </insert>
704 - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultType="java.lang.Long">
705 - select count(*) from T_BI_DICTIONARY_ENTRIES
706 - <if test="_parameter != null">
707 - <include refid="Example_Where_Clause" />
708 - </if>
709 - </select>
710 - <update id="updateByExampleSelective" parameterType="map">
711 - update T_BI_DICTIONARY_ENTRIES
712 - <set>
713 - <if test="record.id != null">
714 - ID = #{record.id,jdbcType=NUMERIC},
715 - </if>
716 - <if test="record.code != null">
717 - CODE = #{record.code,jdbcType=VARCHAR},
718 - </if>
719 - <if test="record.englishName != null">
720 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
721 - </if>
722 - <if test="record.description != null">
723 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
724 - </if>
725 - <if test="record.status != null">
726 - STATUS = #{record.status,jdbcType=NUMERIC},
727 - </if>
728 - <if test="record.parentId != null">
729 - PARENT_ID = #{record.parentId,jdbcType=NUMERIC},
730 - </if>
731 - <if test="record.dictId != null">
732 - DICT_ID = #{record.dictId,jdbcType=NUMERIC},
733 - </if>
734 - <if test="record.dictCode != null">
735 - DICT_CODE = #{record.dictCode,jdbcType=VARCHAR},
736 - </if>
737 - <if test="record.ordinal != null">
738 - ORDINAL = #{record.ordinal,jdbcType=NUMERIC},
739 - </if>
740 - <if test="record.ext1 != null">
741 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
742 - </if>
743 - <if test="record.ext2 != null">
744 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
745 - </if>
746 - <if test="record.ext3 != null">
747 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
748 - </if>
749 - <if test="record.ext4 != null">
750 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
751 - </if>
752 - <if test="record.createTime != null">
753 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
754 - </if>
755 - <if test="record.createUserId != null">
756 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
757 - </if>
758 - <if test="record.createUserName != null">
759 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
760 - </if>
761 - <if test="record.modifyTime != null">
762 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
763 - </if>
764 - <if test="record.modifyUserId != null">
765 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
766 - </if>
767 - <if test="record.modifyUserName != null">
768 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
769 - </if>
770 - </set>
771 - <if test="_parameter != null">
772 - <include refid="Update_By_Example_Where_Clause" />
773 - </if>
774 - </update>
775 - <update id="updateByExample" parameterType="map">
776 - update T_BI_DICTIONARY_ENTRIES
777 - set ID = #{record.id,jdbcType=NUMERIC},
778 - CODE = #{record.code,jdbcType=VARCHAR},
779 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
780 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
781 - STATUS = #{record.status,jdbcType=NUMERIC},
782 - PARENT_ID = #{record.parentId,jdbcType=NUMERIC},
783 - DICT_ID = #{record.dictId,jdbcType=NUMERIC},
784 - DICT_CODE = #{record.dictCode,jdbcType=VARCHAR},
785 - ORDINAL = #{record.ordinal,jdbcType=NUMERIC},
786 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
787 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
788 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
789 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
790 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
791 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
792 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
793 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
794 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
795 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
796 - <if test="_parameter != null">
797 - <include refid="Update_By_Example_Where_Clause" />
798 - </if>
799 - </update>
800 - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
801 - update T_BI_DICTIONARY_ENTRIES
802 - <set>
803 - <if test="code != null">
804 - CODE = #{code,jdbcType=VARCHAR},
805 - </if>
806 - <if test="englishName != null">
807 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
808 - </if>
809 - <if test="description != null">
810 - DESCRIPTION = #{description,jdbcType=VARCHAR},
811 - </if>
812 - <if test="status != null">
813 - STATUS = #{status,jdbcType=NUMERIC},
814 - </if>
815 - <if test="parentId != null">
816 - PARENT_ID = #{parentId,jdbcType=NUMERIC},
817 - </if>
818 - <if test="dictId != null">
819 - DICT_ID = #{dictId,jdbcType=NUMERIC},
820 - </if>
821 - <if test="dictCode != null">
822 - DICT_CODE = #{dictCode,jdbcType=VARCHAR},
823 - </if>
824 - <if test="ordinal != null">
825 - ORDINAL = #{ordinal,jdbcType=NUMERIC},
826 - </if>
827 - <if test="ext1 != null">
828 - EXT1 = #{ext1,jdbcType=VARCHAR},
829 - </if>
830 - <if test="ext2 != null">
831 - EXT2 = #{ext2,jdbcType=VARCHAR},
832 - </if>
833 - <if test="ext3 != null">
834 - EXT3 = #{ext3,jdbcType=NUMERIC},
835 - </if>
836 - <if test="ext4 != null">
837 - EXT4 = #{ext4,jdbcType=NUMERIC},
838 - </if>
839 - <if test="createTime != null">
840 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
841 - </if>
842 - <if test="createUserId != null">
843 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
844 - </if>
845 - <if test="createUserName != null">
846 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
847 - </if>
848 - <if test="modifyTime != null">
849 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
850 - </if>
851 - <if test="modifyUserId != null">
852 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
853 - </if>
854 - <if test="modifyUserName != null">
855 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
856 - </if>
857 - </set>
858 - where ID = #{id,jdbcType=NUMERIC}
859 - </update>
860 - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.DictionaryEntries">
861 - update T_BI_DICTIONARY_ENTRIES
862 - set CODE = #{code,jdbcType=VARCHAR},
863 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
864 - DESCRIPTION = #{description,jdbcType=VARCHAR},
865 - STATUS = #{status,jdbcType=NUMERIC},
866 - PARENT_ID = #{parentId,jdbcType=NUMERIC},
867 - DICT_ID = #{dictId,jdbcType=NUMERIC},
868 - DICT_CODE = #{dictCode,jdbcType=VARCHAR},
869 - ORDINAL = #{ordinal,jdbcType=NUMERIC},
870 - EXT1 = #{ext1,jdbcType=VARCHAR},
871 - EXT2 = #{ext2,jdbcType=VARCHAR},
872 - EXT3 = #{ext3,jdbcType=NUMERIC},
873 - EXT4 = #{ext4,jdbcType=NUMERIC},
874 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
875 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
876 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
877 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
878 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
879 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
880 - where ID = #{id,jdbcType=NUMERIC}
881 - </update>
882 - <sql id="OracleDialectPrefix">
883 - <if test="limitStart != null and limitStart&gt;=0">
884 - select * from ( select row_.*, rownum rownum_ from (
885 - </if>
886 - </sql>
887 - <sql id="OracleDialectSuffix">
888 - <if test="limitStart != null and limitStart&gt;=0">
889 - <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
890 - </if>
891 - </sql>
892 -</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.base.DictionaryMapper">
4 - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.Dictionary">
5 - <id column="ID" jdbcType="NUMERIC" property="id" />
6 - <result column="CODE" jdbcType="VARCHAR" property="code" />
7 - <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
8 - <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
9 - <result column="STATUS" jdbcType="NUMERIC" property="status" />
10 - <result column="PARENT_ID" jdbcType="VARCHAR" property="parentId" />
11 - <result column="EXT1" jdbcType="VARCHAR" property="ext1" />
12 - <result column="EXT2" jdbcType="VARCHAR" property="ext2" />
13 - <result column="EXT3" jdbcType="NUMERIC" property="ext3" />
14 - <result column="EXT4" jdbcType="NUMERIC" property="ext4" />
15 - <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
16 - <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
17 - <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
18 - <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
19 - <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
20 - <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
21 - </resultMap>
22 - <sql id="Example_Where_Clause">
23 - <where>
24 - <foreach collection="oredCriteria" item="criteria" separator="or">
25 - <if test="criteria.valid">
26 - <trim prefix="(" prefixOverrides="and" suffix=")">
27 - <foreach collection="criteria.criteria" item="criterion">
28 - <choose>
29 - <when test="criterion.noValue">
30 - and ${criterion.condition}
31 - </when>
32 - <when test="criterion.singleValue">
33 - and ${criterion.condition} #{criterion.value}
34 - </when>
35 - <when test="criterion.betweenValue">
36 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
37 - </when>
38 - <when test="criterion.listValue">
39 - and ${criterion.condition}
40 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
41 - #{listItem}
42 - </foreach>
43 - </when>
44 - </choose>
45 - </foreach>
46 - </trim>
47 - </if>
48 - </foreach>
49 - </where>
50 - </sql>
51 - <sql id="Update_By_Example_Where_Clause">
52 - <where>
53 - <foreach collection="example.oredCriteria" item="criteria" separator="or">
54 - <if test="criteria.valid">
55 - <trim prefix="(" prefixOverrides="and" suffix=")">
56 - <foreach collection="criteria.criteria" item="criterion">
57 - <choose>
58 - <when test="criterion.noValue">
59 - and ${criterion.condition}
60 - </when>
61 - <when test="criterion.singleValue">
62 - and ${criterion.condition} #{criterion.value}
63 - </when>
64 - <when test="criterion.betweenValue">
65 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
66 - </when>
67 - <when test="criterion.listValue">
68 - and ${criterion.condition}
69 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
70 - #{listItem}
71 - </foreach>
72 - </when>
73 - </choose>
74 - </foreach>
75 - </trim>
76 - </if>
77 - </foreach>
78 - </where>
79 - </sql>
80 - <sql id="Base_Column_List">
81 - ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME,
82 - CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
83 - </sql>
84 - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultMap="BaseResultMap">
85 - <include refid="OracleDialectPrefix" />
86 - select
87 - <if test="distinct">
88 - distinct
89 - </if>
90 - 'true' as QUERYID,
91 - <include refid="Base_Column_List" />
92 - from T_BI_DICTIONARY
93 - <if test="_parameter != null">
94 - <include refid="Example_Where_Clause" />
95 - </if>
96 - <if test="orderByClause != null">
97 - order by ${orderByClause}
98 - </if>
99 - <include refid="OracleDialectSuffix" />
100 - </select>
101 - <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
102 - select
103 - <include refid="Base_Column_List" />
104 - from T_BI_DICTIONARY
105 - where ID = #{id,jdbcType=NUMERIC}
106 - </select>
107 - <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
108 - delete from T_BI_DICTIONARY
109 - where ID = #{id,jdbcType=NUMERIC}
110 - </delete>
111 - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample">
112 - delete from T_BI_DICTIONARY
113 - <if test="_parameter != null">
114 - <include refid="Example_Where_Clause" />
115 - </if>
116 - </delete>
117 - <insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary">
118 - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
119 - SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
120 - </selectKey>
121 - insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME,
122 - DESCRIPTION, STATUS, PARENT_ID,
123 - EXT1, EXT2, EXT3, EXT4,
124 - CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
125 - MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
126 - )
127 - values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR},
128 - #{description,jdbcType=VARCHAR}, #{status,jdbcType=NUMERIC}, #{parentId,jdbcType=VARCHAR},
129 - #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=NUMERIC}, #{ext4,jdbcType=NUMERIC},
130 - #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR},
131 - #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}
132 - )
133 - </insert>
134 - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary">
135 - <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
136 - SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
137 - </selectKey>
138 - insert into T_BI_DICTIONARY
139 - <trim prefix="(" suffix=")" suffixOverrides=",">
140 - ID,
141 - <if test="code != null">
142 - CODE,
143 - </if>
144 - <if test="englishName != null">
145 - ENGLISH_NAME,
146 - </if>
147 - <if test="description != null">
148 - DESCRIPTION,
149 - </if>
150 - <if test="status != null">
151 - STATUS,
152 - </if>
153 - <if test="parentId != null">
154 - PARENT_ID,
155 - </if>
156 - <if test="ext1 != null">
157 - EXT1,
158 - </if>
159 - <if test="ext2 != null">
160 - EXT2,
161 - </if>
162 - <if test="ext3 != null">
163 - EXT3,
164 - </if>
165 - <if test="ext4 != null">
166 - EXT4,
167 - </if>
168 - <if test="createTime != null">
169 - CREATE_TIME,
170 - </if>
171 - <if test="createUserId != null">
172 - CREATE_USER_ID,
173 - </if>
174 - <if test="createUserName != null">
175 - CREATE_USER_NAME,
176 - </if>
177 - <if test="modifyTime != null">
178 - MODIFY_TIME,
179 - </if>
180 - <if test="modifyUserId != null">
181 - MODIFY_USER_ID,
182 - </if>
183 - <if test="modifyUserName != null">
184 - MODIFY_USER_NAME,
185 - </if>
186 - </trim>
187 - <trim prefix="values (" suffix=")" suffixOverrides=",">
188 - #{id,jdbcType=NUMERIC},
189 - <if test="code != null">
190 - #{code,jdbcType=VARCHAR},
191 - </if>
192 - <if test="englishName != null">
193 - #{englishName,jdbcType=VARCHAR},
194 - </if>
195 - <if test="description != null">
196 - #{description,jdbcType=VARCHAR},
197 - </if>
198 - <if test="status != null">
199 - #{status,jdbcType=NUMERIC},
200 - </if>
201 - <if test="parentId != null">
202 - #{parentId,jdbcType=VARCHAR},
203 - </if>
204 - <if test="ext1 != null">
205 - #{ext1,jdbcType=VARCHAR},
206 - </if>
207 - <if test="ext2 != null">
208 - #{ext2,jdbcType=VARCHAR},
209 - </if>
210 - <if test="ext3 != null">
211 - #{ext3,jdbcType=NUMERIC},
212 - </if>
213 - <if test="ext4 != null">
214 - #{ext4,jdbcType=NUMERIC},
215 - </if>
216 - <if test="createTime != null">
217 - #{createTime,jdbcType=TIMESTAMP},
218 - </if>
219 - <if test="createUserId != null">
220 - #{createUserId,jdbcType=NUMERIC},
221 - </if>
222 - <if test="createUserName != null">
223 - #{createUserName,jdbcType=VARCHAR},
224 - </if>
225 - <if test="modifyTime != null">
226 - #{modifyTime,jdbcType=TIMESTAMP},
227 - </if>
228 - <if test="modifyUserId != null">
229 - #{modifyUserId,jdbcType=NUMERIC},
230 - </if>
231 - <if test="modifyUserName != null">
232 - #{modifyUserName,jdbcType=VARCHAR},
233 - </if>
234 - </trim>
235 - </insert>
236 - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultType="java.lang.Long">
237 - select count(*) from T_BI_DICTIONARY
238 - <if test="_parameter != null">
239 - <include refid="Example_Where_Clause" />
240 - </if>
241 - </select>
242 - <update id="updateByExampleSelective" parameterType="map">
243 - update T_BI_DICTIONARY
244 - <set>
245 - <if test="record.id != null">
246 - ID = #{record.id,jdbcType=NUMERIC},
247 - </if>
248 - <if test="record.code != null">
249 - CODE = #{record.code,jdbcType=VARCHAR},
250 - </if>
251 - <if test="record.englishName != null">
252 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
253 - </if>
254 - <if test="record.description != null">
255 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
256 - </if>
257 - <if test="record.status != null">
258 - STATUS = #{record.status,jdbcType=NUMERIC},
259 - </if>
260 - <if test="record.parentId != null">
261 - PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
262 - </if>
263 - <if test="record.ext1 != null">
264 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
265 - </if>
266 - <if test="record.ext2 != null">
267 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
268 - </if>
269 - <if test="record.ext3 != null">
270 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
271 - </if>
272 - <if test="record.ext4 != null">
273 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
274 - </if>
275 - <if test="record.createTime != null">
276 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
277 - </if>
278 - <if test="record.createUserId != null">
279 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
280 - </if>
281 - <if test="record.createUserName != null">
282 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
283 - </if>
284 - <if test="record.modifyTime != null">
285 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
286 - </if>
287 - <if test="record.modifyUserId != null">
288 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
289 - </if>
290 - <if test="record.modifyUserName != null">
291 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
292 - </if>
293 - </set>
294 - <if test="_parameter != null">
295 - <include refid="Update_By_Example_Where_Clause" />
296 - </if>
297 - </update>
298 - <update id="updateByExample" parameterType="map">
299 - update T_BI_DICTIONARY
300 - set ID = #{record.id,jdbcType=NUMERIC},
301 - CODE = #{record.code,jdbcType=VARCHAR},
302 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
303 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
304 - STATUS = #{record.status,jdbcType=NUMERIC},
305 - PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
306 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
307 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
308 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
309 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
310 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
311 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
312 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
313 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
314 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
315 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
316 - <if test="_parameter != null">
317 - <include refid="Update_By_Example_Where_Clause" />
318 - </if>
319 - </update>
320 - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.Dictionary">
321 - update T_BI_DICTIONARY
322 - <set>
323 - <if test="code != null">
324 - CODE = #{code,jdbcType=VARCHAR},
325 - </if>
326 - <if test="englishName != null">
327 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
328 - </if>
329 - <if test="description != null">
330 - DESCRIPTION = #{description,jdbcType=VARCHAR},
331 - </if>
332 - <if test="status != null">
333 - STATUS = #{status,jdbcType=NUMERIC},
334 - </if>
335 - <if test="parentId != null">
336 - PARENT_ID = #{parentId,jdbcType=VARCHAR},
337 - </if>
338 - <if test="ext1 != null">
339 - EXT1 = #{ext1,jdbcType=VARCHAR},
340 - </if>
341 - <if test="ext2 != null">
342 - EXT2 = #{ext2,jdbcType=VARCHAR},
343 - </if>
344 - <if test="ext3 != null">
345 - EXT3 = #{ext3,jdbcType=NUMERIC},
346 - </if>
347 - <if test="ext4 != null">
348 - EXT4 = #{ext4,jdbcType=NUMERIC},
349 - </if>
350 - <if test="createTime != null">
351 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
352 - </if>
353 - <if test="createUserId != null">
354 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
355 - </if>
356 - <if test="createUserName != null">
357 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
358 - </if>
359 - <if test="modifyTime != null">
360 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
361 - </if>
362 - <if test="modifyUserId != null">
363 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
364 - </if>
365 - <if test="modifyUserName != null">
366 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
367 - </if>
368 - </set>
369 - where ID = #{id,jdbcType=NUMERIC}
370 - </update>
371 - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.Dictionary">
372 - update T_BI_DICTIONARY
373 - set CODE = #{code,jdbcType=VARCHAR},
374 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
375 - DESCRIPTION = #{description,jdbcType=VARCHAR},
376 - STATUS = #{status,jdbcType=NUMERIC},
377 - PARENT_ID = #{parentId,jdbcType=VARCHAR},
378 - EXT1 = #{ext1,jdbcType=VARCHAR},
379 - EXT2 = #{ext2,jdbcType=VARCHAR},
380 - EXT3 = #{ext3,jdbcType=NUMERIC},
381 - EXT4 = #{ext4,jdbcType=NUMERIC},
382 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
383 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
384 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
385 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
386 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
387 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
388 - where ID = #{id,jdbcType=NUMERIC}
389 - </update>
390 - <sql id="OracleDialectPrefix">
391 - <if test="limitStart != null and limitStart&gt;=0">
392 - select * from ( select row_.*, rownum rownum_ from (
393 - </if>
394 - </sql>
395 - <sql id="OracleDialectSuffix">
396 - <if test="limitStart != null and limitStart&gt;=0">
397 - <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
398 - </if>
399 - </sql>
400 - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.Dictionary">
401 - <id column="ID" jdbcType="NUMERIC" property="id" />
402 - <result column="CODE" jdbcType="VARCHAR" property="code" />
403 - <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
404 - <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
405 - <result column="STATUS" jdbcType="NUMERIC" property="status" />
406 - <result column="PARENT_ID" jdbcType="VARCHAR" property="parentId" />
407 - <result column="EXT1" jdbcType="VARCHAR" property="ext1" />
408 - <result column="EXT2" jdbcType="VARCHAR" property="ext2" />
409 - <result column="EXT3" jdbcType="NUMERIC" property="ext3" />
410 - <result column="EXT4" jdbcType="NUMERIC" property="ext4" />
411 - <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
412 - <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
413 - <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
414 - <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
415 - <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
416 - <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
417 - </resultMap>
418 - <sql id="Example_Where_Clause">
419 - <where>
420 - <foreach collection="oredCriteria" item="criteria" separator="or">
421 - <if test="criteria.valid">
422 - <trim prefix="(" prefixOverrides="and" suffix=")">
423 - <foreach collection="criteria.criteria" item="criterion">
424 - <choose>
425 - <when test="criterion.noValue">
426 - and ${criterion.condition}
427 - </when>
428 - <when test="criterion.singleValue">
429 - and ${criterion.condition} #{criterion.value}
430 - </when>
431 - <when test="criterion.betweenValue">
432 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
433 - </when>
434 - <when test="criterion.listValue">
435 - and ${criterion.condition}
436 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
437 - #{listItem}
438 - </foreach>
439 - </when>
440 - </choose>
441 - </foreach>
442 - </trim>
443 - </if>
444 - </foreach>
445 - </where>
446 - </sql>
447 - <sql id="Update_By_Example_Where_Clause">
448 - <where>
449 - <foreach collection="example.oredCriteria" item="criteria" separator="or">
450 - <if test="criteria.valid">
451 - <trim prefix="(" prefixOverrides="and" suffix=")">
452 - <foreach collection="criteria.criteria" item="criterion">
453 - <choose>
454 - <when test="criterion.noValue">
455 - and ${criterion.condition}
456 - </when>
457 - <when test="criterion.singleValue">
458 - and ${criterion.condition} #{criterion.value}
459 - </when>
460 - <when test="criterion.betweenValue">
461 - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
462 - </when>
463 - <when test="criterion.listValue">
464 - and ${criterion.condition}
465 - <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
466 - #{listItem}
467 - </foreach>
468 - </when>
469 - </choose>
470 - </foreach>
471 - </trim>
472 - </if>
473 - </foreach>
474 - </where>
475 - </sql>
476 - <sql id="Base_Column_List">
477 - ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME,
478 - CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
479 - </sql>
480 - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultMap="BaseResultMap">
481 - <include refid="OracleDialectPrefix" />
482 - select
483 - <if test="distinct">
484 - distinct
485 - </if>
486 - 'true' as QUERYID,
487 - <include refid="Base_Column_List" />
488 - from T_BI_DICTIONARY
489 - <if test="_parameter != null">
490 - <include refid="Example_Where_Clause" />
491 - </if>
492 - <if test="orderByClause != null">
493 - order by ${orderByClause}
494 - </if>
495 - <include refid="OracleDialectSuffix" />
496 - </select>
497 -
498 - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample">
499 - delete from T_BI_DICTIONARY
500 - <if test="_parameter != null">
501 - <include refid="Example_Where_Clause" />
502 - </if>
503 - </delete>
504 - <insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary">
505 - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal">
506 - SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
507 - </selectKey>
508 - insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME,
509 - DESCRIPTION, STATUS, PARENT_ID,
510 - EXT1, EXT2, EXT3, EXT4,
511 - CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME,
512 - MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
513 - )
514 - values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR},
515 - #{description,jdbcType=VARCHAR}, #{status,jdbcType=NUMERIC}, #{parentId,jdbcType=VARCHAR},
516 - #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=NUMERIC}, #{ext4,jdbcType=NUMERIC},
517 - #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR},
518 - #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR}
519 - )
520 - </insert>
521 - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary">
522 - <selectKey keyProperty="id" order="BEFORE" resultType="java.math.BigDecimal">
523 - SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
524 - </selectKey>
525 - insert into T_BI_DICTIONARY
526 - <trim prefix="(" suffix=")" suffixOverrides=",">
527 - ID,
528 - <if test="code != null">
529 - CODE,
530 - </if>
531 - <if test="englishName != null">
532 - ENGLISH_NAME,
533 - </if>
534 - <if test="description != null">
535 - DESCRIPTION,
536 - </if>
537 - <if test="status != null">
538 - STATUS,
539 - </if>
540 - <if test="parentId != null">
541 - PARENT_ID,
542 - </if>
543 - <if test="ext1 != null">
544 - EXT1,
545 - </if>
546 - <if test="ext2 != null">
547 - EXT2,
548 - </if>
549 - <if test="ext3 != null">
550 - EXT3,
551 - </if>
552 - <if test="ext4 != null">
553 - EXT4,
554 - </if>
555 - <if test="createTime != null">
556 - CREATE_TIME,
557 - </if>
558 - <if test="createUserId != null">
559 - CREATE_USER_ID,
560 - </if>
561 - <if test="createUserName != null">
562 - CREATE_USER_NAME,
563 - </if>
564 - <if test="modifyTime != null">
565 - MODIFY_TIME,
566 - </if>
567 - <if test="modifyUserId != null">
568 - MODIFY_USER_ID,
569 - </if>
570 - <if test="modifyUserName != null">
571 - MODIFY_USER_NAME,
572 - </if>
573 - </trim>
574 - <trim prefix="values (" suffix=")" suffixOverrides=",">
575 - #{id,jdbcType=NUMERIC},
576 - <if test="code != null">
577 - #{code,jdbcType=VARCHAR},
578 - </if>
579 - <if test="englishName != null">
580 - #{englishName,jdbcType=VARCHAR},
581 - </if>
582 - <if test="description != null">
583 - #{description,jdbcType=VARCHAR},
584 - </if>
585 - <if test="status != null">
586 - #{status,jdbcType=NUMERIC},
587 - </if>
588 - <if test="parentId != null">
589 - #{parentId,jdbcType=VARCHAR},
590 - </if>
591 - <if test="ext1 != null">
592 - #{ext1,jdbcType=VARCHAR},
593 - </if>
594 - <if test="ext2 != null">
595 - #{ext2,jdbcType=VARCHAR},
596 - </if>
597 - <if test="ext3 != null">
598 - #{ext3,jdbcType=NUMERIC},
599 - </if>
600 - <if test="ext4 != null">
601 - #{ext4,jdbcType=NUMERIC},
602 - </if>
603 - <if test="createTime != null">
604 - #{createTime,jdbcType=TIMESTAMP},
605 - </if>
606 - <if test="createUserId != null">
607 - #{createUserId,jdbcType=NUMERIC},
608 - </if>
609 - <if test="createUserName != null">
610 - #{createUserName,jdbcType=VARCHAR},
611 - </if>
612 - <if test="modifyTime != null">
613 - #{modifyTime,jdbcType=TIMESTAMP},
614 - </if>
615 - <if test="modifyUserId != null">
616 - #{modifyUserId,jdbcType=NUMERIC},
617 - </if>
618 - <if test="modifyUserName != null">
619 - #{modifyUserName,jdbcType=VARCHAR},
620 - </if>
621 - </trim>
622 - </insert>
623 - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultType="java.lang.Long">
624 - select count(*) from T_BI_DICTIONARY
625 - <if test="_parameter != null">
626 - <include refid="Example_Where_Clause" />
627 - </if>
628 - </select>
629 - <update id="updateByExampleSelective" parameterType="map">
630 - update T_BI_DICTIONARY
631 - <set>
632 - <if test="record.id != null">
633 - ID = #{record.id,jdbcType=NUMERIC},
634 - </if>
635 - <if test="record.code != null">
636 - CODE = #{record.code,jdbcType=VARCHAR},
637 - </if>
638 - <if test="record.englishName != null">
639 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
640 - </if>
641 - <if test="record.description != null">
642 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
643 - </if>
644 - <if test="record.status != null">
645 - STATUS = #{record.status,jdbcType=NUMERIC},
646 - </if>
647 - <if test="record.parentId != null">
648 - PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
649 - </if>
650 - <if test="record.ext1 != null">
651 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
652 - </if>
653 - <if test="record.ext2 != null">
654 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
655 - </if>
656 - <if test="record.ext3 != null">
657 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
658 - </if>
659 - <if test="record.ext4 != null">
660 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
661 - </if>
662 - <if test="record.createTime != null">
663 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
664 - </if>
665 - <if test="record.createUserId != null">
666 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
667 - </if>
668 - <if test="record.createUserName != null">
669 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
670 - </if>
671 - <if test="record.modifyTime != null">
672 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
673 - </if>
674 - <if test="record.modifyUserId != null">
675 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
676 - </if>
677 - <if test="record.modifyUserName != null">
678 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
679 - </if>
680 - </set>
681 - <if test="_parameter != null">
682 - <include refid="Update_By_Example_Where_Clause" />
683 - </if>
684 - </update>
685 - <update id="updateByExample" parameterType="map">
686 - update T_BI_DICTIONARY
687 - set ID = #{record.id,jdbcType=NUMERIC},
688 - CODE = #{record.code,jdbcType=VARCHAR},
689 - ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
690 - DESCRIPTION = #{record.description,jdbcType=VARCHAR},
691 - STATUS = #{record.status,jdbcType=NUMERIC},
692 - PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
693 - EXT1 = #{record.ext1,jdbcType=VARCHAR},
694 - EXT2 = #{record.ext2,jdbcType=VARCHAR},
695 - EXT3 = #{record.ext3,jdbcType=NUMERIC},
696 - EXT4 = #{record.ext4,jdbcType=NUMERIC},
697 - CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
698 - CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
699 - CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
700 - MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
701 - MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
702 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
703 - <if test="_parameter != null">
704 - <include refid="Update_By_Example_Where_Clause" />
705 - </if>
706 - </update>
707 - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.Dictionary">
708 - update T_BI_DICTIONARY
709 - <set>
710 - <if test="code != null">
711 - CODE = #{code,jdbcType=VARCHAR},
712 - </if>
713 - <if test="englishName != null">
714 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
715 - </if>
716 - <if test="description != null">
717 - DESCRIPTION = #{description,jdbcType=VARCHAR},
718 - </if>
719 - <if test="status != null">
720 - STATUS = #{status,jdbcType=NUMERIC},
721 - </if>
722 - <if test="parentId != null">
723 - PARENT_ID = #{parentId,jdbcType=VARCHAR},
724 - </if>
725 - <if test="ext1 != null">
726 - EXT1 = #{ext1,jdbcType=VARCHAR},
727 - </if>
728 - <if test="ext2 != null">
729 - EXT2 = #{ext2,jdbcType=VARCHAR},
730 - </if>
731 - <if test="ext3 != null">
732 - EXT3 = #{ext3,jdbcType=NUMERIC},
733 - </if>
734 - <if test="ext4 != null">
735 - EXT4 = #{ext4,jdbcType=NUMERIC},
736 - </if>
737 - <if test="createTime != null">
738 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
739 - </if>
740 - <if test="createUserId != null">
741 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
742 - </if>
743 - <if test="createUserName != null">
744 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
745 - </if>
746 - <if test="modifyTime != null">
747 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
748 - </if>
749 - <if test="modifyUserId != null">
750 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
751 - </if>
752 - <if test="modifyUserName != null">
753 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
754 - </if>
755 - </set>
756 - where ID = #{id,jdbcType=NUMERIC}
757 - </update>
758 - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.Dictionary">
759 - update T_BI_DICTIONARY
760 - set CODE = #{code,jdbcType=VARCHAR},
761 - ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
762 - DESCRIPTION = #{description,jdbcType=VARCHAR},
763 - STATUS = #{status,jdbcType=NUMERIC},
764 - PARENT_ID = #{parentId,jdbcType=VARCHAR},
765 - EXT1 = #{ext1,jdbcType=VARCHAR},
766 - EXT2 = #{ext2,jdbcType=VARCHAR},
767 - EXT3 = #{ext3,jdbcType=NUMERIC},
768 - EXT4 = #{ext4,jdbcType=NUMERIC},
769 - CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
770 - CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
771 - CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
772 - MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
773 - MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
774 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
775 - where ID = #{id,jdbcType=NUMERIC}
776 - </update>
777 - <sql id="OracleDialectPrefix">
778 - <if test="limitStart != null and limitStart&gt;=0">
779 - select * from ( select row_.*, rownum rownum_ from (
780 - </if>
781 - </sql>
782 - <sql id="OracleDialectSuffix">
783 - <if test="limitStart != null and limitStart&gt;=0">
784 - <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
785 - </if>
786 - </sql>
787 -</mapper>
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.model.base;
2 -
3 -import java.io.Serializable;
4 -import java.util.Date;
5 -
6 -/**
7 - * DESC: 字典目录表
8 - * TABLE: T_BI_DICTIONARY
9 - */
10 -public class Dictionary implements Serializable {
11 - /**
12 - * ID,主键自增
13 - */
14 - private Long id;
15 -
16 - /**
17 - * 字典编号
18 - */
19 - private String code;
20 -
21 - /**
22 - * 字典英文名称
23 - */
24 - private String englishName;
25 -
26 - /**
27 - * 描述
28 - */
29 - private String description;
30 -
31 - /**
32 - * 状态(0:无效、1:有效)
33 - */
34 - private Long status;
35 -
36 - /**
37 - * 上级字典ID
38 - */
39 - private String parentId;
40 -
41 - /**
42 - * 扩展字段1,字符串
43 - */
44 - private String ext1;
45 -
46 - /**
47 - * 扩展字段2,字符串
48 - */
49 - private String ext2;
50 -
51 - /**
52 - * 扩展字段3,数字
53 - */
54 - private Long ext3;
55 -
56 - /**
57 - * 扩展字段4,数字
58 - */
59 - private Long ext4;
60 -
61 - /**
62 - * 创建时间
63 - */
64 - private Date createTime;
65 -
66 - /**
67 - * 创建人ID,关联用户表ID
68 - */
69 - private Long createUserId;
70 -
71 - /**
72 - * 创建人名称
73 - */
74 - private String createUserName;
75 -
76 - /**
77 - * 修改时间
78 - */
79 - private Date modifyTime;
80 -
81 - /**
82 - * 修改人ID,关联用户表ID
83 - */
84 - private Long modifyUserId;
85 -
86 - /**
87 - * 修改人名称
88 - */
89 - private String modifyUserName;
90 -
91 - private static final long serialVersionUID = 1L;
92 -
93 - public Long getId() {
94 - return id;
95 - }
96 -
97 - public void setId(Long id) {
98 - this.id = id;
99 - }
100 -
101 - public String getCode() {
102 - return code;
103 - }
104 -
105 - public void setCode(String code) {
106 - this.code = code == null ? null : code.trim();
107 - }
108 -
109 - public String getEnglishName() {
110 - return englishName;
111 - }
112 -
113 - public void setEnglishName(String englishName) {
114 - this.englishName = englishName == null ? null : englishName.trim();
115 - }
116 -
117 - public String getDescription() {
118 - return description;
119 - }
120 -
121 - public void setDescription(String description) {
122 - this.description = description == null ? null : description.trim();
123 - }
124 -
125 - public Long getStatus() {
126 - return status;
127 - }
128 -
129 - public void setStatus(Long status) {
130 - this.status = status;
131 - }
132 -
133 - public String getParentId() {
134 - return parentId;
135 - }
136 -
137 - public void setParentId(String parentId) {
138 - this.parentId = parentId == null ? null : parentId.trim();
139 - }
140 -
141 - public String getExt1() {
142 - return ext1;
143 - }
144 -
145 - public void setExt1(String ext1) {
146 - this.ext1 = ext1 == null ? null : ext1.trim();
147 - }
148 -
149 - public String getExt2() {
150 - return ext2;
151 - }
152 -
153 - public void setExt2(String ext2) {
154 - this.ext2 = ext2 == null ? null : ext2.trim();
155 - }
156 -
157 - public Long getExt3() {
158 - return ext3;
159 - }
160 -
161 - public void setExt3(Long ext3) {
162 - this.ext3 = ext3;
163 - }
164 -
165 - public Long getExt4() {
166 - return ext4;
167 - }
168 -
169 - public void setExt4(Long ext4) {
170 - this.ext4 = ext4;
171 - }
172 -
173 - public Date getCreateTime() {
174 - return createTime;
175 - }
176 -
177 - public void setCreateTime(Date createTime) {
178 - this.createTime = createTime;
179 - }
180 -
181 - public Long getCreateUserId() {
182 - return createUserId;
183 - }
184 -
185 - public void setCreateUserId(Long createUserId) {
186 - this.createUserId = createUserId;
187 - }
188 -
189 - public String getCreateUserName() {
190 - return createUserName;
191 - }
192 -
193 - public void setCreateUserName(String createUserName) {
194 - this.createUserName = createUserName == null ? null : createUserName.trim();
195 - }
196 -
197 - public Date getModifyTime() {
198 - return modifyTime;
199 - }
200 -
201 - public void setModifyTime(Date modifyTime) {
202 - this.modifyTime = modifyTime;
203 - }
204 -
205 - public Long getModifyUserId() {
206 - return modifyUserId;
207 - }
208 -
209 - public void setModifyUserId(Long modifyUserId) {
210 - this.modifyUserId = modifyUserId;
211 - }
212 -
213 - public String getModifyUserName() {
214 - return modifyUserName;
215 - }
216 -
217 - public void setModifyUserName(String modifyUserName) {
218 - this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
219 - }
220 -
221 - @Override
222 - public String toString() {
223 - StringBuilder sb = new StringBuilder();
224 - sb.append(getClass().getSimpleName());
225 - sb.append(" [");
226 - sb.append("Hash = ").append(hashCode());
227 - sb.append(", id=").append(id);
228 - sb.append(", code=").append(code);
229 - sb.append(", englishName=").append(englishName);
230 - sb.append(", description=").append(description);
231 - sb.append(", status=").append(status);
232 - sb.append(", parentId=").append(parentId);
233 - sb.append(", ext1=").append(ext1);
234 - sb.append(", ext2=").append(ext2);
235 - sb.append(", ext3=").append(ext3);
236 - sb.append(", ext4=").append(ext4);
237 - sb.append(", createTime=").append(createTime);
238 - sb.append(", createUserId=").append(createUserId);
239 - sb.append(", createUserName=").append(createUserName);
240 - sb.append(", modifyTime=").append(modifyTime);
241 - sb.append(", modifyUserId=").append(modifyUserId);
242 - sb.append(", modifyUserName=").append(modifyUserName);
243 - sb.append(", serialVersionUID=").append(serialVersionUID);
244 - sb.append("]");
245 - return sb.toString();
246 - }
247 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.model.base;
2 -
3 -import java.io.Serializable;
4 -import java.util.Date;
5 -
6 -/**
7 - * DESC: 字典表
8 - * TABLE: T_BI_DICTIONARY_ENTRIES
9 - */
10 -public class DictionaryEntries implements Serializable {
11 - /**
12 - * ID,主键自增
13 - */
14 - private Long id;
15 -
16 - /**
17 - * 字典编号
18 - */
19 - private String code;
20 -
21 - /**
22 - * 字典英文名称
23 - */
24 - private String englishName;
25 -
26 - /**
27 - * 描述
28 - */
29 - private String description;
30 -
31 - /**
32 - * 状态(0:无效、1:有效)
33 - */
34 - private Long status;
35 -
36 - /**
37 - * 上级字典ID
38 - */
39 - private Long parentId;
40 -
41 - /**
42 - * 字典目录ID
43 - */
44 - private Long dictId;
45 -
46 - /**
47 - * 字典目录CODE
48 - */
49 - private String dictCode;
50 -
51 - /**
52 - * 字典排序字段
53 - */
54 - private Long ordinal;
55 -
56 - /**
57 - * 扩展字段1,字符串
58 - */
59 - private String ext1;
60 -
61 - /**
62 - * 扩展字段2,字符串
63 - */
64 - private String ext2;
65 -
66 - /**
67 - * 扩展字段3,数字
68 - */
69 - private Long ext3;
70 -
71 - /**
72 - * 扩展字段4,数字
73 - */
74 - private Long ext4;
75 -
76 - /**
77 - * 创建时间
78 - */
79 - private Date createTime;
80 -
81 - /**
82 - * 创建人ID,关联用户表ID
83 - */
84 - private Long createUserId;
85 -
86 - /**
87 - * 创建人名称
88 - */
89 - private String createUserName;
90 -
91 - /**
92 - * 修改时间
93 - */
94 - private Date modifyTime;
95 -
96 - /**
97 - * 修改人ID,关联用户表ID
98 - */
99 - private Long modifyUserId;
100 -
101 - /**
102 - * 修改人名称
103 - */
104 - private String modifyUserName;
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 String getCode() {
117 - return code;
118 - }
119 -
120 - public void setCode(String code) {
121 - this.code = code == null ? null : code.trim();
122 - }
123 -
124 - public String getEnglishName() {
125 - return englishName;
126 - }
127 -
128 - public void setEnglishName(String englishName) {
129 - this.englishName = englishName == null ? null : englishName.trim();
130 - }
131 -
132 - public String getDescription() {
133 - return description;
134 - }
135 -
136 - public void setDescription(String description) {
137 - this.description = description == null ? null : description.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 Long getParentId() {
149 - return parentId;
150 - }
151 -
152 - public void setParentId(Long parentId) {
153 - this.parentId = parentId;
154 - }
155 -
156 - public Long getDictId() {
157 - return dictId;
158 - }
159 -
160 - public void setDictId(Long dictId) {
161 - this.dictId = dictId;
162 - }
163 -
164 - public String getDictCode() {
165 - return dictCode;
166 - }
167 -
168 - public void setDictCode(String dictCode) {
169 - this.dictCode = dictCode == null ? null : dictCode.trim();
170 - }
171 -
172 - public Long getOrdinal() {
173 - return ordinal;
174 - }
175 -
176 - public void setOrdinal(Long ordinal) {
177 - this.ordinal = ordinal;
178 - }
179 -
180 - public String getExt1() {
181 - return ext1;
182 - }
183 -
184 - public void setExt1(String ext1) {
185 - this.ext1 = ext1 == null ? null : ext1.trim();
186 - }
187 -
188 - public String getExt2() {
189 - return ext2;
190 - }
191 -
192 - public void setExt2(String ext2) {
193 - this.ext2 = ext2 == null ? null : ext2.trim();
194 - }
195 -
196 - public Long getExt3() {
197 - return ext3;
198 - }
199 -
200 - public void setExt3(Long ext3) {
201 - this.ext3 = ext3;
202 - }
203 -
204 - public Long getExt4() {
205 - return ext4;
206 - }
207 -
208 - public void setExt4(Long ext4) {
209 - this.ext4 = ext4;
210 - }
211 -
212 - public Date getCreateTime() {
213 - return createTime;
214 - }
215 -
216 - public void setCreateTime(Date createTime) {
217 - this.createTime = createTime;
218 - }
219 -
220 - public Long getCreateUserId() {
221 - return createUserId;
222 - }
223 -
224 - public void setCreateUserId(Long createUserId) {
225 - this.createUserId = createUserId;
226 - }
227 -
228 - public String getCreateUserName() {
229 - return createUserName;
230 - }
231 -
232 - public void setCreateUserName(String createUserName) {
233 - this.createUserName = createUserName == null ? null : createUserName.trim();
234 - }
235 -
236 - public Date getModifyTime() {
237 - return modifyTime;
238 - }
239 -
240 - public void setModifyTime(Date modifyTime) {
241 - this.modifyTime = modifyTime;
242 - }
243 -
244 - public Long getModifyUserId() {
245 - return modifyUserId;
246 - }
247 -
248 - public void setModifyUserId(Long modifyUserId) {
249 - this.modifyUserId = modifyUserId;
250 - }
251 -
252 - public String getModifyUserName() {
253 - return modifyUserName;
254 - }
255 -
256 - public void setModifyUserName(String modifyUserName) {
257 - this.modifyUserName = modifyUserName == null ? null : modifyUserName.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(", code=").append(code);
268 - sb.append(", englishName=").append(englishName);
269 - sb.append(", description=").append(description);
270 - sb.append(", status=").append(status);
271 - sb.append(", parentId=").append(parentId);
272 - sb.append(", dictId=").append(dictId);
273 - sb.append(", dictCode=").append(dictCode);
274 - sb.append(", ordinal=").append(ordinal);
275 - sb.append(", ext1=").append(ext1);
276 - sb.append(", ext2=").append(ext2);
277 - sb.append(", ext3=").append(ext3);
278 - sb.append(", ext4=").append(ext4);
279 - sb.append(", createTime=").append(createTime);
280 - sb.append(", createUserId=").append(createUserId);
281 - sb.append(", createUserName=").append(createUserName);
282 - sb.append(", modifyTime=").append(modifyTime);
283 - sb.append(", modifyUserId=").append(modifyUserId);
284 - sb.append(", modifyUserName=").append(modifyUserName);
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.base;
2 -
3 -import java.util.ArrayList;
4 -import java.util.Date;
5 -import java.util.List;
6 -
7 -public class DictionaryEntriesExample {
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 DictionaryEntriesExample() {
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 andCodeIsNull() {
189 - addCriterion("CODE is null");
190 - return (Criteria) this;
191 - }
192 -
193 - public Criteria andCodeIsNotNull() {
194 - addCriterion("CODE is not null");
195 - return (Criteria) this;
196 - }
197 -
198 - public Criteria andCodeEqualTo(String value) {
199 - addCriterion("CODE =", value, "code");
200 - return (Criteria) this;
201 - }
202 -
203 - public Criteria andCodeNotEqualTo(String value) {
204 - addCriterion("CODE <>", value, "code");
205 - return (Criteria) this;
206 - }
207 -
208 - public Criteria andCodeGreaterThan(String value) {
209 - addCriterion("CODE >", value, "code");
210 - return (Criteria) this;
211 - }
212 -
213 - public Criteria andCodeGreaterThanOrEqualTo(String value) {
214 - addCriterion("CODE >=", value, "code");
215 - return (Criteria) this;
216 - }
217 -
218 - public Criteria andCodeLessThan(String value) {
219 - addCriterion("CODE <", value, "code");
220 - return (Criteria) this;
221 - }
222 -
223 - public Criteria andCodeLessThanOrEqualTo(String value) {
224 - addCriterion("CODE <=", value, "code");
225 - return (Criteria) this;
226 - }
227 -
228 - public Criteria andCodeLike(String value) {
229 - addCriterion("CODE like", value, "code");
230 - return (Criteria) this;
231 - }
232 -
233 - public Criteria andCodeNotLike(String value) {
234 - addCriterion("CODE not like", value, "code");
235 - return (Criteria) this;
236 - }
237 -
238 - public Criteria andCodeIn(List<String> values) {
239 - addCriterion("CODE in", values, "code");
240 - return (Criteria) this;
241 - }
242 -
243 - public Criteria andCodeNotIn(List<String> values) {
244 - addCriterion("CODE not in", values, "code");
245 - return (Criteria) this;
246 - }
247 -
248 - public Criteria andCodeBetween(String value1, String value2) {
249 - addCriterion("CODE between", value1, value2, "code");
250 - return (Criteria) this;
251 - }
252 -
253 - public Criteria andCodeNotBetween(String value1, String value2) {
254 - addCriterion("CODE not between", value1, value2, "code");
255 - return (Criteria) this;
256 - }
257 -
258 - public Criteria andEnglishNameIsNull() {
259 - addCriterion("ENGLISH_NAME is null");
260 - return (Criteria) this;
261 - }
262 -
263 - public Criteria andEnglishNameIsNotNull() {
264 - addCriterion("ENGLISH_NAME is not null");
265 - return (Criteria) this;
266 - }
267 -
268 - public Criteria andEnglishNameEqualTo(String value) {
269 - addCriterion("ENGLISH_NAME =", value, "englishName");
270 - return (Criteria) this;
271 - }
272 -
273 - public Criteria andEnglishNameNotEqualTo(String value) {
274 - addCriterion("ENGLISH_NAME <>", value, "englishName");
275 - return (Criteria) this;
276 - }
277 -
278 - public Criteria andEnglishNameGreaterThan(String value) {
279 - addCriterion("ENGLISH_NAME >", value, "englishName");
280 - return (Criteria) this;
281 - }
282 -
283 - public Criteria andEnglishNameGreaterThanOrEqualTo(String value) {
284 - addCriterion("ENGLISH_NAME >=", value, "englishName");
285 - return (Criteria) this;
286 - }
287 -
288 - public Criteria andEnglishNameLessThan(String value) {
289 - addCriterion("ENGLISH_NAME <", value, "englishName");
290 - return (Criteria) this;
291 - }
292 -
293 - public Criteria andEnglishNameLessThanOrEqualTo(String value) {
294 - addCriterion("ENGLISH_NAME <=", value, "englishName");
295 - return (Criteria) this;
296 - }
297 -
298 - public Criteria andEnglishNameLike(String value) {
299 - addCriterion("ENGLISH_NAME like", value, "englishName");
300 - return (Criteria) this;
301 - }
302 -
303 - public Criteria andEnglishNameNotLike(String value) {
304 - addCriterion("ENGLISH_NAME not like", value, "englishName");
305 - return (Criteria) this;
306 - }
307 -
308 - public Criteria andEnglishNameIn(List<String> values) {
309 - addCriterion("ENGLISH_NAME in", values, "englishName");
310 - return (Criteria) this;
311 - }
312 -
313 - public Criteria andEnglishNameNotIn(List<String> values) {
314 - addCriterion("ENGLISH_NAME not in", values, "englishName");
315 - return (Criteria) this;
316 - }
317 -
318 - public Criteria andEnglishNameBetween(String value1, String value2) {
319 - addCriterion("ENGLISH_NAME between", value1, value2, "englishName");
320 - return (Criteria) this;
321 - }
322 -
323 - public Criteria andEnglishNameNotBetween(String value1, String value2) {
324 - addCriterion("ENGLISH_NAME not between", value1, value2, "englishName");
325 - return (Criteria) this;
326 - }
327 -
328 - public Criteria andDescriptionIsNull() {
329 - addCriterion("DESCRIPTION is null");
330 - return (Criteria) this;
331 - }
332 -
333 - public Criteria andDescriptionIsNotNull() {
334 - addCriterion("DESCRIPTION is not null");
335 - return (Criteria) this;
336 - }
337 -
338 - public Criteria andDescriptionEqualTo(String value) {
339 - addCriterion("DESCRIPTION =", value, "description");
340 - return (Criteria) this;
341 - }
342 -
343 - public Criteria andDescriptionNotEqualTo(String value) {
344 - addCriterion("DESCRIPTION <>", value, "description");
345 - return (Criteria) this;
346 - }
347 -
348 - public Criteria andDescriptionGreaterThan(String value) {
349 - addCriterion("DESCRIPTION >", value, "description");
350 - return (Criteria) this;
351 - }
352 -
353 - public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
354 - addCriterion("DESCRIPTION >=", value, "description");
355 - return (Criteria) this;
356 - }
357 -
358 - public Criteria andDescriptionLessThan(String value) {
359 - addCriterion("DESCRIPTION <", value, "description");
360 - return (Criteria) this;
361 - }
362 -
363 - public Criteria andDescriptionLessThanOrEqualTo(String value) {
364 - addCriterion("DESCRIPTION <=", value, "description");
365 - return (Criteria) this;
366 - }
367 -
368 - public Criteria andDescriptionLike(String value) {
369 - addCriterion("DESCRIPTION like", value, "description");
370 - return (Criteria) this;
371 - }
372 -
373 - public Criteria andDescriptionNotLike(String value) {
374 - addCriterion("DESCRIPTION not like", value, "description");
375 - return (Criteria) this;
376 - }
377 -
378 - public Criteria andDescriptionIn(List<String> values) {
379 - addCriterion("DESCRIPTION in", values, "description");
380 - return (Criteria) this;
381 - }
382 -
383 - public Criteria andDescriptionNotIn(List<String> values) {
384 - addCriterion("DESCRIPTION not in", values, "description");
385 - return (Criteria) this;
386 - }
387 -
388 - public Criteria andDescriptionBetween(String value1, String value2) {
389 - addCriterion("DESCRIPTION between", value1, value2, "description");
390 - return (Criteria) this;
391 - }
392 -
393 - public Criteria andDescriptionNotBetween(String value1, String value2) {
394 - addCriterion("DESCRIPTION not between", value1, value2, "description");
395 - return (Criteria) this;
396 - }
397 -
398 - public Criteria andStatusIsNull() {
399 - addCriterion("STATUS is null");
400 - return (Criteria) this;
401 - }
402 -
403 - public Criteria andStatusIsNotNull() {
404 - addCriterion("STATUS is not null");
405 - return (Criteria) this;
406 - }
407 -
408 - public Criteria andStatusEqualTo(Long value) {
409 - addCriterion("STATUS =", value, "status");
410 - return (Criteria) this;
411 - }
412 -
413 - public Criteria andStatusNotEqualTo(Long value) {
414 - addCriterion("STATUS <>", value, "status");
415 - return (Criteria) this;
416 - }
417 -
418 - public Criteria andStatusGreaterThan(Long value) {
419 - addCriterion("STATUS >", value, "status");
420 - return (Criteria) this;
421 - }
422 -
423 - public Criteria andStatusGreaterThanOrEqualTo(Long value) {
424 - addCriterion("STATUS >=", value, "status");
425 - return (Criteria) this;
426 - }
427 -
428 - public Criteria andStatusLessThan(Long value) {
429 - addCriterion("STATUS <", value, "status");
430 - return (Criteria) this;
431 - }
432 -
433 - public Criteria andStatusLessThanOrEqualTo(Long value) {
434 - addCriterion("STATUS <=", value, "status");
435 - return (Criteria) this;
436 - }
437 -
438 - public Criteria andStatusIn(List<Long> values) {
439 - addCriterion("STATUS in", values, "status");
440 - return (Criteria) this;
441 - }
442 -
443 - public Criteria andStatusNotIn(List<Long> values) {
444 - addCriterion("STATUS not in", values, "status");
445 - return (Criteria) this;
446 - }
447 -
448 - public Criteria andStatusBetween(Long value1, Long value2) {
449 - addCriterion("STATUS between", value1, value2, "status");
450 - return (Criteria) this;
451 - }
452 -
453 - public Criteria andStatusNotBetween(Long value1, Long value2) {
454 - addCriterion("STATUS not between", value1, value2, "status");
455 - return (Criteria) this;
456 - }
457 -
458 - public Criteria andParentIdIsNull() {
459 - addCriterion("PARENT_ID is null");
460 - return (Criteria) this;
461 - }
462 -
463 - public Criteria andParentIdIsNotNull() {
464 - addCriterion("PARENT_ID is not null");
465 - return (Criteria) this;
466 - }
467 -
468 - public Criteria andParentIdEqualTo(Long value) {
469 - addCriterion("PARENT_ID =", value, "parentId");
470 - return (Criteria) this;
471 - }
472 -
473 - public Criteria andParentIdNotEqualTo(Long value) {
474 - addCriterion("PARENT_ID <>", value, "parentId");
475 - return (Criteria) this;
476 - }
477 -
478 - public Criteria andParentIdGreaterThan(Long value) {
479 - addCriterion("PARENT_ID >", value, "parentId");
480 - return (Criteria) this;
481 - }
482 -
483 - public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
484 - addCriterion("PARENT_ID >=", value, "parentId");
485 - return (Criteria) this;
486 - }
487 -
488 - public Criteria andParentIdLessThan(Long value) {
489 - addCriterion("PARENT_ID <", value, "parentId");
490 - return (Criteria) this;
491 - }
492 -
493 - public Criteria andParentIdLessThanOrEqualTo(Long value) {
494 - addCriterion("PARENT_ID <=", value, "parentId");
495 - return (Criteria) this;
496 - }
497 -
498 - public Criteria andParentIdIn(List<Long> values) {
499 - addCriterion("PARENT_ID in", values, "parentId");
500 - return (Criteria) this;
501 - }
502 -
503 - public Criteria andParentIdNotIn(List<Long> values) {
504 - addCriterion("PARENT_ID not in", values, "parentId");
505 - return (Criteria) this;
506 - }
507 -
508 - public Criteria andParentIdBetween(Long value1, Long value2) {
509 - addCriterion("PARENT_ID between", value1, value2, "parentId");
510 - return (Criteria) this;
511 - }
512 -
513 - public Criteria andParentIdNotBetween(Long value1, Long value2) {
514 - addCriterion("PARENT_ID not between", value1, value2, "parentId");
515 - return (Criteria) this;
516 - }
517 -
518 - public Criteria andDictIdIsNull() {
519 - addCriterion("DICT_ID is null");
520 - return (Criteria) this;
521 - }
522 -
523 - public Criteria andDictIdIsNotNull() {
524 - addCriterion("DICT_ID is not null");
525 - return (Criteria) this;
526 - }
527 -
528 - public Criteria andDictIdEqualTo(Long value) {
529 - addCriterion("DICT_ID =", value, "dictId");
530 - return (Criteria) this;
531 - }
532 -
533 - public Criteria andDictIdNotEqualTo(Long value) {
534 - addCriterion("DICT_ID <>", value, "dictId");
535 - return (Criteria) this;
536 - }
537 -
538 - public Criteria andDictIdGreaterThan(Long value) {
539 - addCriterion("DICT_ID >", value, "dictId");
540 - return (Criteria) this;
541 - }
542 -
543 - public Criteria andDictIdGreaterThanOrEqualTo(Long value) {
544 - addCriterion("DICT_ID >=", value, "dictId");
545 - return (Criteria) this;
546 - }
547 -
548 - public Criteria andDictIdLessThan(Long value) {
549 - addCriterion("DICT_ID <", value, "dictId");
550 - return (Criteria) this;
551 - }
552 -
553 - public Criteria andDictIdLessThanOrEqualTo(Long value) {
554 - addCriterion("DICT_ID <=", value, "dictId");
555 - return (Criteria) this;
556 - }
557 -
558 - public Criteria andDictIdIn(List<Long> values) {
559 - addCriterion("DICT_ID in", values, "dictId");
560 - return (Criteria) this;
561 - }
562 -
563 - public Criteria andDictIdNotIn(List<Long> values) {
564 - addCriterion("DICT_ID not in", values, "dictId");
565 - return (Criteria) this;
566 - }
567 -
568 - public Criteria andDictIdBetween(Long value1, Long value2) {
569 - addCriterion("DICT_ID between", value1, value2, "dictId");
570 - return (Criteria) this;
571 - }
572 -
573 - public Criteria andDictIdNotBetween(Long value1, Long value2) {
574 - addCriterion("DICT_ID not between", value1, value2, "dictId");
575 - return (Criteria) this;
576 - }
577 -
578 - public Criteria andDictCodeIsNull() {
579 - addCriterion("DICT_CODE is null");
580 - return (Criteria) this;
581 - }
582 -
583 - public Criteria andDictCodeIsNotNull() {
584 - addCriterion("DICT_CODE is not null");
585 - return (Criteria) this;
586 - }
587 -
588 - public Criteria andDictCodeEqualTo(String value) {
589 - addCriterion("DICT_CODE =", value, "dictCode");
590 - return (Criteria) this;
591 - }
592 -
593 - public Criteria andDictCodeNotEqualTo(String value) {
594 - addCriterion("DICT_CODE <>", value, "dictCode");
595 - return (Criteria) this;
596 - }
597 -
598 - public Criteria andDictCodeGreaterThan(String value) {
599 - addCriterion("DICT_CODE >", value, "dictCode");
600 - return (Criteria) this;
601 - }
602 -
603 - public Criteria andDictCodeGreaterThanOrEqualTo(String value) {
604 - addCriterion("DICT_CODE >=", value, "dictCode");
605 - return (Criteria) this;
606 - }
607 -
608 - public Criteria andDictCodeLessThan(String value) {
609 - addCriterion("DICT_CODE <", value, "dictCode");
610 - return (Criteria) this;
611 - }
612 -
613 - public Criteria andDictCodeLessThanOrEqualTo(String value) {
614 - addCriterion("DICT_CODE <=", value, "dictCode");
615 - return (Criteria) this;
616 - }
617 -
618 - public Criteria andDictCodeLike(String value) {
619 - addCriterion("DICT_CODE like", value, "dictCode");
620 - return (Criteria) this;
621 - }
622 -
623 - public Criteria andDictCodeNotLike(String value) {
624 - addCriterion("DICT_CODE not like", value, "dictCode");
625 - return (Criteria) this;
626 - }
627 -
628 - public Criteria andDictCodeIn(List<String> values) {
629 - addCriterion("DICT_CODE in", values, "dictCode");
630 - return (Criteria) this;
631 - }
632 -
633 - public Criteria andDictCodeNotIn(List<String> values) {
634 - addCriterion("DICT_CODE not in", values, "dictCode");
635 - return (Criteria) this;
636 - }
637 -
638 - public Criteria andDictCodeBetween(String value1, String value2) {
639 - addCriterion("DICT_CODE between", value1, value2, "dictCode");
640 - return (Criteria) this;
641 - }
642 -
643 - public Criteria andDictCodeNotBetween(String value1, String value2) {
644 - addCriterion("DICT_CODE not between", value1, value2, "dictCode");
645 - return (Criteria) this;
646 - }
647 -
648 - public Criteria andOrdinalIsNull() {
649 - addCriterion("ORDINAL is null");
650 - return (Criteria) this;
651 - }
652 -
653 - public Criteria andOrdinalIsNotNull() {
654 - addCriterion("ORDINAL is not null");
655 - return (Criteria) this;
656 - }
657 -
658 - public Criteria andOrdinalEqualTo(Long value) {
659 - addCriterion("ORDINAL =", value, "ordinal");
660 - return (Criteria) this;
661 - }
662 -
663 - public Criteria andOrdinalNotEqualTo(Long value) {
664 - addCriterion("ORDINAL <>", value, "ordinal");
665 - return (Criteria) this;
666 - }
667 -
668 - public Criteria andOrdinalGreaterThan(Long value) {
669 - addCriterion("ORDINAL >", value, "ordinal");
670 - return (Criteria) this;
671 - }
672 -
673 - public Criteria andOrdinalGreaterThanOrEqualTo(Long value) {
674 - addCriterion("ORDINAL >=", value, "ordinal");
675 - return (Criteria) this;
676 - }
677 -
678 - public Criteria andOrdinalLessThan(Long value) {
679 - addCriterion("ORDINAL <", value, "ordinal");
680 - return (Criteria) this;
681 - }
682 -
683 - public Criteria andOrdinalLessThanOrEqualTo(Long value) {
684 - addCriterion("ORDINAL <=", value, "ordinal");
685 - return (Criteria) this;
686 - }
687 -
688 - public Criteria andOrdinalIn(List<Long> values) {
689 - addCriterion("ORDINAL in", values, "ordinal");
690 - return (Criteria) this;
691 - }
692 -
693 - public Criteria andOrdinalNotIn(List<Long> values) {
694 - addCriterion("ORDINAL not in", values, "ordinal");
695 - return (Criteria) this;
696 - }
697 -
698 - public Criteria andOrdinalBetween(Long value1, Long value2) {
699 - addCriterion("ORDINAL between", value1, value2, "ordinal");
700 - return (Criteria) this;
701 - }
702 -
703 - public Criteria andOrdinalNotBetween(Long value1, Long value2) {
704 - addCriterion("ORDINAL not between", value1, value2, "ordinal");
705 - return (Criteria) this;
706 - }
707 -
708 - public Criteria andExt1IsNull() {
709 - addCriterion("EXT1 is null");
710 - return (Criteria) this;
711 - }
712 -
713 - public Criteria andExt1IsNotNull() {
714 - addCriterion("EXT1 is not null");
715 - return (Criteria) this;
716 - }
717 -
718 - public Criteria andExt1EqualTo(String value) {
719 - addCriterion("EXT1 =", value, "ext1");
720 - return (Criteria) this;
721 - }
722 -
723 - public Criteria andExt1NotEqualTo(String value) {
724 - addCriterion("EXT1 <>", value, "ext1");
725 - return (Criteria) this;
726 - }
727 -
728 - public Criteria andExt1GreaterThan(String value) {
729 - addCriterion("EXT1 >", value, "ext1");
730 - return (Criteria) this;
731 - }
732 -
733 - public Criteria andExt1GreaterThanOrEqualTo(String value) {
734 - addCriterion("EXT1 >=", value, "ext1");
735 - return (Criteria) this;
736 - }
737 -
738 - public Criteria andExt1LessThan(String value) {
739 - addCriterion("EXT1 <", value, "ext1");
740 - return (Criteria) this;
741 - }
742 -
743 - public Criteria andExt1LessThanOrEqualTo(String value) {
744 - addCriterion("EXT1 <=", value, "ext1");
745 - return (Criteria) this;
746 - }
747 -
748 - public Criteria andExt1Like(String value) {
749 - addCriterion("EXT1 like", value, "ext1");
750 - return (Criteria) this;
751 - }
752 -
753 - public Criteria andExt1NotLike(String value) {
754 - addCriterion("EXT1 not like", value, "ext1");
755 - return (Criteria) this;
756 - }
757 -
758 - public Criteria andExt1In(List<String> values) {
759 - addCriterion("EXT1 in", values, "ext1");
760 - return (Criteria) this;
761 - }
762 -
763 - public Criteria andExt1NotIn(List<String> values) {
764 - addCriterion("EXT1 not in", values, "ext1");
765 - return (Criteria) this;
766 - }
767 -
768 - public Criteria andExt1Between(String value1, String value2) {
769 - addCriterion("EXT1 between", value1, value2, "ext1");
770 - return (Criteria) this;
771 - }
772 -
773 - public Criteria andExt1NotBetween(String value1, String value2) {
774 - addCriterion("EXT1 not between", value1, value2, "ext1");
775 - return (Criteria) this;
776 - }
777 -
778 - public Criteria andExt2IsNull() {
779 - addCriterion("EXT2 is null");
780 - return (Criteria) this;
781 - }
782 -
783 - public Criteria andExt2IsNotNull() {
784 - addCriterion("EXT2 is not null");
785 - return (Criteria) this;
786 - }
787 -
788 - public Criteria andExt2EqualTo(String value) {
789 - addCriterion("EXT2 =", value, "ext2");
790 - return (Criteria) this;
791 - }
792 -
793 - public Criteria andExt2NotEqualTo(String value) {
794 - addCriterion("EXT2 <>", value, "ext2");
795 - return (Criteria) this;
796 - }
797 -
798 - public Criteria andExt2GreaterThan(String value) {
799 - addCriterion("EXT2 >", value, "ext2");
800 - return (Criteria) this;
801 - }
802 -
803 - public Criteria andExt2GreaterThanOrEqualTo(String value) {
804 - addCriterion("EXT2 >=", value, "ext2");
805 - return (Criteria) this;
806 - }
807 -
808 - public Criteria andExt2LessThan(String value) {
809 - addCriterion("EXT2 <", value, "ext2");
810 - return (Criteria) this;
811 - }
812 -
813 - public Criteria andExt2LessThanOrEqualTo(String value) {
814 - addCriterion("EXT2 <=", value, "ext2");
815 - return (Criteria) this;
816 - }
817 -
818 - public Criteria andExt2Like(String value) {
819 - addCriterion("EXT2 like", value, "ext2");
820 - return (Criteria) this;
821 - }
822 -
823 - public Criteria andExt2NotLike(String value) {
824 - addCriterion("EXT2 not like", value, "ext2");
825 - return (Criteria) this;
826 - }
827 -
828 - public Criteria andExt2In(List<String> values) {
829 - addCriterion("EXT2 in", values, "ext2");
830 - return (Criteria) this;
831 - }
832 -
833 - public Criteria andExt2NotIn(List<String> values) {
834 - addCriterion("EXT2 not in", values, "ext2");
835 - return (Criteria) this;
836 - }
837 -
838 - public Criteria andExt2Between(String value1, String value2) {
839 - addCriterion("EXT2 between", value1, value2, "ext2");
840 - return (Criteria) this;
841 - }
842 -
843 - public Criteria andExt2NotBetween(String value1, String value2) {
844 - addCriterion("EXT2 not between", value1, value2, "ext2");
845 - return (Criteria) this;
846 - }
847 -
848 - public Criteria andExt3IsNull() {
849 - addCriterion("EXT3 is null");
850 - return (Criteria) this;
851 - }
852 -
853 - public Criteria andExt3IsNotNull() {
854 - addCriterion("EXT3 is not null");
855 - return (Criteria) this;
856 - }
857 -
858 - public Criteria andExt3EqualTo(Long value) {
859 - addCriterion("EXT3 =", value, "ext3");
860 - return (Criteria) this;
861 - }
862 -
863 - public Criteria andExt3NotEqualTo(Long value) {
864 - addCriterion("EXT3 <>", value, "ext3");
865 - return (Criteria) this;
866 - }
867 -
868 - public Criteria andExt3GreaterThan(Long value) {
869 - addCriterion("EXT3 >", value, "ext3");
870 - return (Criteria) this;
871 - }
872 -
873 - public Criteria andExt3GreaterThanOrEqualTo(Long value) {
874 - addCriterion("EXT3 >=", value, "ext3");
875 - return (Criteria) this;
876 - }
877 -
878 - public Criteria andExt3LessThan(Long value) {
879 - addCriterion("EXT3 <", value, "ext3");
880 - return (Criteria) this;
881 - }
882 -
883 - public Criteria andExt3LessThanOrEqualTo(Long value) {
884 - addCriterion("EXT3 <=", value, "ext3");
885 - return (Criteria) this;
886 - }
887 -
888 - public Criteria andExt3In(List<Long> values) {
889 - addCriterion("EXT3 in", values, "ext3");
890 - return (Criteria) this;
891 - }
892 -
893 - public Criteria andExt3NotIn(List<Long> values) {
894 - addCriterion("EXT3 not in", values, "ext3");
895 - return (Criteria) this;
896 - }
897 -
898 - public Criteria andExt3Between(Long value1, Long value2) {
899 - addCriterion("EXT3 between", value1, value2, "ext3");
900 - return (Criteria) this;
901 - }
902 -
903 - public Criteria andExt3NotBetween(Long value1, Long value2) {
904 - addCriterion("EXT3 not between", value1, value2, "ext3");
905 - return (Criteria) this;
906 - }
907 -
908 - public Criteria andExt4IsNull() {
909 - addCriterion("EXT4 is null");
910 - return (Criteria) this;
911 - }
912 -
913 - public Criteria andExt4IsNotNull() {
914 - addCriterion("EXT4 is not null");
915 - return (Criteria) this;
916 - }
917 -
918 - public Criteria andExt4EqualTo(Long value) {
919 - addCriterion("EXT4 =", value, "ext4");
920 - return (Criteria) this;
921 - }
922 -
923 - public Criteria andExt4NotEqualTo(Long value) {
924 - addCriterion("EXT4 <>", value, "ext4");
925 - return (Criteria) this;
926 - }
927 -
928 - public Criteria andExt4GreaterThan(Long value) {
929 - addCriterion("EXT4 >", value, "ext4");
930 - return (Criteria) this;
931 - }
932 -
933 - public Criteria andExt4GreaterThanOrEqualTo(Long value) {
934 - addCriterion("EXT4 >=", value, "ext4");
935 - return (Criteria) this;
936 - }
937 -
938 - public Criteria andExt4LessThan(Long value) {
939 - addCriterion("EXT4 <", value, "ext4");
940 - return (Criteria) this;
941 - }
942 -
943 - public Criteria andExt4LessThanOrEqualTo(Long value) {
944 - addCriterion("EXT4 <=", value, "ext4");
945 - return (Criteria) this;
946 - }
947 -
948 - public Criteria andExt4In(List<Long> values) {
949 - addCriterion("EXT4 in", values, "ext4");
950 - return (Criteria) this;
951 - }
952 -
953 - public Criteria andExt4NotIn(List<Long> values) {
954 - addCriterion("EXT4 not in", values, "ext4");
955 - return (Criteria) this;
956 - }
957 -
958 - public Criteria andExt4Between(Long value1, Long value2) {
959 - addCriterion("EXT4 between", value1, value2, "ext4");
960 - return (Criteria) this;
961 - }
962 -
963 - public Criteria andExt4NotBetween(Long value1, Long value2) {
964 - addCriterion("EXT4 not between", value1, value2, "ext4");
965 - return (Criteria) this;
966 - }
967 -
968 - public Criteria andCreateTimeIsNull() {
969 - addCriterion("CREATE_TIME is null");
970 - return (Criteria) this;
971 - }
972 -
973 - public Criteria andCreateTimeIsNotNull() {
974 - addCriterion("CREATE_TIME is not null");
975 - return (Criteria) this;
976 - }
977 -
978 - public Criteria andCreateTimeEqualTo(Date value) {
979 - addCriterion("CREATE_TIME =", value, "createTime");
980 - return (Criteria) this;
981 - }
982 -
983 - public Criteria andCreateTimeNotEqualTo(Date value) {
984 - addCriterion("CREATE_TIME <>", value, "createTime");
985 - return (Criteria) this;
986 - }
987 -
988 - public Criteria andCreateTimeGreaterThan(Date value) {
989 - addCriterion("CREATE_TIME >", value, "createTime");
990 - return (Criteria) this;
991 - }
992 -
993 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
994 - addCriterion("CREATE_TIME >=", value, "createTime");
995 - return (Criteria) this;
996 - }
997 -
998 - public Criteria andCreateTimeLessThan(Date value) {
999 - addCriterion("CREATE_TIME <", value, "createTime");
1000 - return (Criteria) this;
1001 - }
1002 -
1003 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
1004 - addCriterion("CREATE_TIME <=", value, "createTime");
1005 - return (Criteria) this;
1006 - }
1007 -
1008 - public Criteria andCreateTimeIn(List<Date> values) {
1009 - addCriterion("CREATE_TIME in", values, "createTime");
1010 - return (Criteria) this;
1011 - }
1012 -
1013 - public Criteria andCreateTimeNotIn(List<Date> values) {
1014 - addCriterion("CREATE_TIME not in", values, "createTime");
1015 - return (Criteria) this;
1016 - }
1017 -
1018 - public Criteria andCreateTimeBetween(Date value1, Date value2) {
1019 - addCriterion("CREATE_TIME between", value1, value2, "createTime");
1020 - return (Criteria) this;
1021 - }
1022 -
1023 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
1024 - addCriterion("CREATE_TIME not between", value1, value2, "createTime");
1025 - return (Criteria) this;
1026 - }
1027 -
1028 - public Criteria andCreateUserIdIsNull() {
1029 - addCriterion("CREATE_USER_ID is null");
1030 - return (Criteria) this;
1031 - }
1032 -
1033 - public Criteria andCreateUserIdIsNotNull() {
1034 - addCriterion("CREATE_USER_ID is not null");
1035 - return (Criteria) this;
1036 - }
1037 -
1038 - public Criteria andCreateUserIdEqualTo(Long value) {
1039 - addCriterion("CREATE_USER_ID =", value, "createUserId");
1040 - return (Criteria) this;
1041 - }
1042 -
1043 - public Criteria andCreateUserIdNotEqualTo(Long value) {
1044 - addCriterion("CREATE_USER_ID <>", value, "createUserId");
1045 - return (Criteria) this;
1046 - }
1047 -
1048 - public Criteria andCreateUserIdGreaterThan(Long value) {
1049 - addCriterion("CREATE_USER_ID >", value, "createUserId");
1050 - return (Criteria) this;
1051 - }
1052 -
1053 - public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
1054 - addCriterion("CREATE_USER_ID >=", value, "createUserId");
1055 - return (Criteria) this;
1056 - }
1057 -
1058 - public Criteria andCreateUserIdLessThan(Long value) {
1059 - addCriterion("CREATE_USER_ID <", value, "createUserId");
1060 - return (Criteria) this;
1061 - }
1062 -
1063 - public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
1064 - addCriterion("CREATE_USER_ID <=", value, "createUserId");
1065 - return (Criteria) this;
1066 - }
1067 -
1068 - public Criteria andCreateUserIdIn(List<Long> values) {
1069 - addCriterion("CREATE_USER_ID in", values, "createUserId");
1070 - return (Criteria) this;
1071 - }
1072 -
1073 - public Criteria andCreateUserIdNotIn(List<Long> values) {
1074 - addCriterion("CREATE_USER_ID not in", values, "createUserId");
1075 - return (Criteria) this;
1076 - }
1077 -
1078 - public Criteria andCreateUserIdBetween(Long value1, Long value2) {
1079 - addCriterion("CREATE_USER_ID between", value1, value2, "createUserId");
1080 - return (Criteria) this;
1081 - }
1082 -
1083 - public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
1084 - addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId");
1085 - return (Criteria) this;
1086 - }
1087 -
1088 - public Criteria andCreateUserNameIsNull() {
1089 - addCriterion("CREATE_USER_NAME is null");
1090 - return (Criteria) this;
1091 - }
1092 -
1093 - public Criteria andCreateUserNameIsNotNull() {
1094 - addCriterion("CREATE_USER_NAME is not null");
1095 - return (Criteria) this;
1096 - }
1097 -
1098 - public Criteria andCreateUserNameEqualTo(String value) {
1099 - addCriterion("CREATE_USER_NAME =", value, "createUserName");
1100 - return (Criteria) this;
1101 - }
1102 -
1103 - public Criteria andCreateUserNameNotEqualTo(String value) {
1104 - addCriterion("CREATE_USER_NAME <>", value, "createUserName");
1105 - return (Criteria) this;
1106 - }
1107 -
1108 - public Criteria andCreateUserNameGreaterThan(String value) {
1109 - addCriterion("CREATE_USER_NAME >", value, "createUserName");
1110 - return (Criteria) this;
1111 - }
1112 -
1113 - public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
1114 - addCriterion("CREATE_USER_NAME >=", value, "createUserName");
1115 - return (Criteria) this;
1116 - }
1117 -
1118 - public Criteria andCreateUserNameLessThan(String value) {
1119 - addCriterion("CREATE_USER_NAME <", value, "createUserName");
1120 - return (Criteria) this;
1121 - }
1122 -
1123 - public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
1124 - addCriterion("CREATE_USER_NAME <=", value, "createUserName");
1125 - return (Criteria) this;
1126 - }
1127 -
1128 - public Criteria andCreateUserNameLike(String value) {
1129 - addCriterion("CREATE_USER_NAME like", value, "createUserName");
1130 - return (Criteria) this;
1131 - }
1132 -
1133 - public Criteria andCreateUserNameNotLike(String value) {
1134 - addCriterion("CREATE_USER_NAME not like", value, "createUserName");
1135 - return (Criteria) this;
1136 - }
1137 -
1138 - public Criteria andCreateUserNameIn(List<String> values) {
1139 - addCriterion("CREATE_USER_NAME in", values, "createUserName");
1140 - return (Criteria) this;
1141 - }
1142 -
1143 - public Criteria andCreateUserNameNotIn(List<String> values) {
1144 - addCriterion("CREATE_USER_NAME not in", values, "createUserName");
1145 - return (Criteria) this;
1146 - }
1147 -
1148 - public Criteria andCreateUserNameBetween(String value1, String value2) {
1149 - addCriterion("CREATE_USER_NAME between", value1, value2, "createUserName");
1150 - return (Criteria) this;
1151 - }
1152 -
1153 - public Criteria andCreateUserNameNotBetween(String value1, String value2) {
1154 - addCriterion("CREATE_USER_NAME not between", value1, value2, "createUserName");
1155 - return (Criteria) this;
1156 - }
1157 -
1158 - public Criteria andModifyTimeIsNull() {
1159 - addCriterion("MODIFY_TIME is null");
1160 - return (Criteria) this;
1161 - }
1162 -
1163 - public Criteria andModifyTimeIsNotNull() {
1164 - addCriterion("MODIFY_TIME is not null");
1165 - return (Criteria) this;
1166 - }
1167 -
1168 - public Criteria andModifyTimeEqualTo(Date value) {
1169 - addCriterion("MODIFY_TIME =", value, "modifyTime");
1170 - return (Criteria) this;
1171 - }
1172 -
1173 - public Criteria andModifyTimeNotEqualTo(Date value) {
1174 - addCriterion("MODIFY_TIME <>", value, "modifyTime");
1175 - return (Criteria) this;
1176 - }
1177 -
1178 - public Criteria andModifyTimeGreaterThan(Date value) {
1179 - addCriterion("MODIFY_TIME >", value, "modifyTime");
1180 - return (Criteria) this;
1181 - }
1182 -
1183 - public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
1184 - addCriterion("MODIFY_TIME >=", value, "modifyTime");
1185 - return (Criteria) this;
1186 - }
1187 -
1188 - public Criteria andModifyTimeLessThan(Date value) {
1189 - addCriterion("MODIFY_TIME <", value, "modifyTime");
1190 - return (Criteria) this;
1191 - }
1192 -
1193 - public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
1194 - addCriterion("MODIFY_TIME <=", value, "modifyTime");
1195 - return (Criteria) this;
1196 - }
1197 -
1198 - public Criteria andModifyTimeIn(List<Date> values) {
1199 - addCriterion("MODIFY_TIME in", values, "modifyTime");
1200 - return (Criteria) this;
1201 - }
1202 -
1203 - public Criteria andModifyTimeNotIn(List<Date> values) {
1204 - addCriterion("MODIFY_TIME not in", values, "modifyTime");
1205 - return (Criteria) this;
1206 - }
1207 -
1208 - public Criteria andModifyTimeBetween(Date value1, Date value2) {
1209 - addCriterion("MODIFY_TIME between", value1, value2, "modifyTime");
1210 - return (Criteria) this;
1211 - }
1212 -
1213 - public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
1214 - addCriterion("MODIFY_TIME not between", value1, value2, "modifyTime");
1215 - return (Criteria) this;
1216 - }
1217 -
1218 - public Criteria andModifyUserIdIsNull() {
1219 - addCriterion("MODIFY_USER_ID is null");
1220 - return (Criteria) this;
1221 - }
1222 -
1223 - public Criteria andModifyUserIdIsNotNull() {
1224 - addCriterion("MODIFY_USER_ID is not null");
1225 - return (Criteria) this;
1226 - }
1227 -
1228 - public Criteria andModifyUserIdEqualTo(Long value) {
1229 - addCriterion("MODIFY_USER_ID =", value, "modifyUserId");
1230 - return (Criteria) this;
1231 - }
1232 -
1233 - public Criteria andModifyUserIdNotEqualTo(Long value) {
1234 - addCriterion("MODIFY_USER_ID <>", value, "modifyUserId");
1235 - return (Criteria) this;
1236 - }
1237 -
1238 - public Criteria andModifyUserIdGreaterThan(Long value) {
1239 - addCriterion("MODIFY_USER_ID >", value, "modifyUserId");
1240 - return (Criteria) this;
1241 - }
1242 -
1243 - public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
1244 - addCriterion("MODIFY_USER_ID >=", value, "modifyUserId");
1245 - return (Criteria) this;
1246 - }
1247 -
1248 - public Criteria andModifyUserIdLessThan(Long value) {
1249 - addCriterion("MODIFY_USER_ID <", value, "modifyUserId");
1250 - return (Criteria) this;
1251 - }
1252 -
1253 - public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
1254 - addCriterion("MODIFY_USER_ID <=", value, "modifyUserId");
1255 - return (Criteria) this;
1256 - }
1257 -
1258 - public Criteria andModifyUserIdIn(List<Long> values) {
1259 - addCriterion("MODIFY_USER_ID in", values, "modifyUserId");
1260 - return (Criteria) this;
1261 - }
1262 -
1263 - public Criteria andModifyUserIdNotIn(List<Long> values) {
1264 - addCriterion("MODIFY_USER_ID not in", values, "modifyUserId");
1265 - return (Criteria) this;
1266 - }
1267 -
1268 - public Criteria andModifyUserIdBetween(Long value1, Long value2) {
1269 - addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId");
1270 - return (Criteria) this;
1271 - }
1272 -
1273 - public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
1274 - addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId");
1275 - return (Criteria) this;
1276 - }
1277 -
1278 - public Criteria andModifyUserNameIsNull() {
1279 - addCriterion("MODIFY_USER_NAME is null");
1280 - return (Criteria) this;
1281 - }
1282 -
1283 - public Criteria andModifyUserNameIsNotNull() {
1284 - addCriterion("MODIFY_USER_NAME is not null");
1285 - return (Criteria) this;
1286 - }
1287 -
1288 - public Criteria andModifyUserNameEqualTo(String value) {
1289 - addCriterion("MODIFY_USER_NAME =", value, "modifyUserName");
1290 - return (Criteria) this;
1291 - }
1292 -
1293 - public Criteria andModifyUserNameNotEqualTo(String value) {
1294 - addCriterion("MODIFY_USER_NAME <>", value, "modifyUserName");
1295 - return (Criteria) this;
1296 - }
1297 -
1298 - public Criteria andModifyUserNameGreaterThan(String value) {
1299 - addCriterion("MODIFY_USER_NAME >", value, "modifyUserName");
1300 - return (Criteria) this;
1301 - }
1302 -
1303 - public Criteria andModifyUserNameGreaterThanOrEqualTo(String value) {
1304 - addCriterion("MODIFY_USER_NAME >=", value, "modifyUserName");
1305 - return (Criteria) this;
1306 - }
1307 -
1308 - public Criteria andModifyUserNameLessThan(String value) {
1309 - addCriterion("MODIFY_USER_NAME <", value, "modifyUserName");
1310 - return (Criteria) this;
1311 - }
1312 -
1313 - public Criteria andModifyUserNameLessThanOrEqualTo(String value) {
1314 - addCriterion("MODIFY_USER_NAME <=", value, "modifyUserName");
1315 - return (Criteria) this;
1316 - }
1317 -
1318 - public Criteria andModifyUserNameLike(String value) {
1319 - addCriterion("MODIFY_USER_NAME like", value, "modifyUserName");
1320 - return (Criteria) this;
1321 - }
1322 -
1323 - public Criteria andModifyUserNameNotLike(String value) {
1324 - addCriterion("MODIFY_USER_NAME not like", value, "modifyUserName");
1325 - return (Criteria) this;
1326 - }
1327 -
1328 - public Criteria andModifyUserNameIn(List<String> values) {
1329 - addCriterion("MODIFY_USER_NAME in", values, "modifyUserName");
1330 - return (Criteria) this;
1331 - }
1332 -
1333 - public Criteria andModifyUserNameNotIn(List<String> values) {
1334 - addCriterion("MODIFY_USER_NAME not in", values, "modifyUserName");
1335 - return (Criteria) this;
1336 - }
1337 -
1338 - public Criteria andModifyUserNameBetween(String value1, String value2) {
1339 - addCriterion("MODIFY_USER_NAME between", value1, value2, "modifyUserName");
1340 - return (Criteria) this;
1341 - }
1342 -
1343 - public Criteria andModifyUserNameNotBetween(String value1, String value2) {
1344 - addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName");
1345 - return (Criteria) this;
1346 - }
1347 - }
1348 -
1349 - public static class Criteria extends GeneratedCriteria {
1350 -
1351 - protected Criteria() {
1352 - super();
1353 - }
1354 - }
1355 -
1356 - public static class Criterion {
1357 - private String condition;
1358 -
1359 - private Object value;
1360 -
1361 - private Object secondValue;
1362 -
1363 - private boolean noValue;
1364 -
1365 - private boolean singleValue;
1366 -
1367 - private boolean betweenValue;
1368 -
1369 - private boolean listValue;
1370 -
1371 - private String typeHandler;
1372 -
1373 - public String getCondition() {
1374 - return condition;
1375 - }
1376 -
1377 - public Object getValue() {
1378 - return value;
1379 - }
1380 -
1381 - public Object getSecondValue() {
1382 - return secondValue;
1383 - }
1384 -
1385 - public boolean isNoValue() {
1386 - return noValue;
1387 - }
1388 -
1389 - public boolean isSingleValue() {
1390 - return singleValue;
1391 - }
1392 -
1393 - public boolean isBetweenValue() {
1394 - return betweenValue;
1395 - }
1396 -
1397 - public boolean isListValue() {
1398 - return listValue;
1399 - }
1400 -
1401 - public String getTypeHandler() {
1402 - return typeHandler;
1403 - }
1404 -
1405 - protected Criterion(String condition) {
1406 - super();
1407 - this.condition = condition;
1408 - this.typeHandler = null;
1409 - this.noValue = true;
1410 - }
1411 -
1412 - protected Criterion(String condition, Object value, String typeHandler) {
1413 - super();
1414 - this.condition = condition;
1415 - this.value = value;
1416 - this.typeHandler = typeHandler;
1417 - if (value instanceof List<?>) {
1418 - this.listValue = true;
1419 - } else {
1420 - this.singleValue = true;
1421 - }
1422 - }
1423 -
1424 - protected Criterion(String condition, Object value) {
1425 - this(condition, value, null);
1426 - }
1427 -
1428 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
1429 - super();
1430 - this.condition = condition;
1431 - this.value = value;
1432 - this.secondValue = secondValue;
1433 - this.typeHandler = typeHandler;
1434 - this.betweenValue = true;
1435 - }
1436 -
1437 - protected Criterion(String condition, Object value, Object secondValue) {
1438 - this(condition, value, secondValue, null);
1439 - }
1440 - }
1441 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.fedex.connect.common.model.base;
2 -
3 -import java.util.ArrayList;
4 -import java.util.Date;
5 -import java.util.List;
6 -
7 -public class DictionaryExample {
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 DictionaryExample() {
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 andCodeIsNull() {
189 - addCriterion("CODE is null");
190 - return (Criteria) this;
191 - }
192 -
193 - public Criteria andCodeIsNotNull() {
194 - addCriterion("CODE is not null");
195 - return (Criteria) this;
196 - }
197 -
198 - public Criteria andCodeEqualTo(String value) {
199 - addCriterion("CODE =", value, "code");
200 - return (Criteria) this;
201 - }
202 -
203 - public Criteria andCodeNotEqualTo(String value) {
204 - addCriterion("CODE <>", value, "code");
205 - return (Criteria) this;
206 - }
207 -
208 - public Criteria andCodeGreaterThan(String value) {
209 - addCriterion("CODE >", value, "code");
210 - return (Criteria) this;
211 - }
212 -
213 - public Criteria andCodeGreaterThanOrEqualTo(String value) {
214 - addCriterion("CODE >=", value, "code");
215 - return (Criteria) this;
216 - }
217 -
218 - public Criteria andCodeLessThan(String value) {
219 - addCriterion("CODE <", value, "code");
220 - return (Criteria) this;
221 - }
222 -
223 - public Criteria andCodeLessThanOrEqualTo(String value) {
224 - addCriterion("CODE <=", value, "code");
225 - return (Criteria) this;
226 - }
227 -
228 - public Criteria andCodeLike(String value) {
229 - addCriterion("CODE like", value, "code");
230 - return (Criteria) this;
231 - }
232 -
233 - public Criteria andCodeNotLike(String value) {
234 - addCriterion("CODE not like", value, "code");
235 - return (Criteria) this;
236 - }
237 -
238 - public Criteria andCodeIn(List<String> values) {
239 - addCriterion("CODE in", values, "code");
240 - return (Criteria) this;
241 - }
242 -
243 - public Criteria andCodeNotIn(List<String> values) {
244 - addCriterion("CODE not in", values, "code");
245 - return (Criteria) this;
246 - }
247 -
248 - public Criteria andCodeBetween(String value1, String value2) {
249 - addCriterion("CODE between", value1, value2, "code");
250 - return (Criteria) this;
251 - }
252 -
253 - public Criteria andCodeNotBetween(String value1, String value2) {
254 - addCriterion("CODE not between", value1, value2, "code");
255 - return (Criteria) this;
256 - }
257 -
258 - public Criteria andEnglishNameIsNull() {
259 - addCriterion("ENGLISH_NAME is null");
260 - return (Criteria) this;
261 - }
262 -
263 - public Criteria andEnglishNameIsNotNull() {
264 - addCriterion("ENGLISH_NAME is not null");
265 - return (Criteria) this;
266 - }
267 -
268 - public Criteria andEnglishNameEqualTo(String value) {
269 - addCriterion("ENGLISH_NAME =", value, "englishName");
270 - return (Criteria) this;
271 - }
272 -
273 - public Criteria andEnglishNameNotEqualTo(String value) {
274 - addCriterion("ENGLISH_NAME <>", value, "englishName");
275 - return (Criteria) this;
276 - }
277 -
278 - public Criteria andEnglishNameGreaterThan(String value) {
279 - addCriterion("ENGLISH_NAME >", value, "englishName");
280 - return (Criteria) this;
281 - }
282 -
283 - public Criteria andEnglishNameGreaterThanOrEqualTo(String value) {
284 - addCriterion("ENGLISH_NAME >=", value, "englishName");
285 - return (Criteria) this;
286 - }
287 -
288 - public Criteria andEnglishNameLessThan(String value) {
289 - addCriterion("ENGLISH_NAME <", value, "englishName");
290 - return (Criteria) this;
291 - }
292 -
293 - public Criteria andEnglishNameLessThanOrEqualTo(String value) {
294 - addCriterion("ENGLISH_NAME <=", value, "englishName");
295 - return (Criteria) this;
296 - }
297 -
298 - public Criteria andEnglishNameLike(String value) {
299 - addCriterion("ENGLISH_NAME like", value, "englishName");
300 - return (Criteria) this;
301 - }
302 -
303 - public Criteria andEnglishNameNotLike(String value) {
304 - addCriterion("ENGLISH_NAME not like", value, "englishName");
305 - return (Criteria) this;
306 - }
307 -
308 - public Criteria andEnglishNameIn(List<String> values) {
309 - addCriterion("ENGLISH_NAME in", values, "englishName");
310 - return (Criteria) this;
311 - }
312 -
313 - public Criteria andEnglishNameNotIn(List<String> values) {
314 - addCriterion("ENGLISH_NAME not in", values, "englishName");
315 - return (Criteria) this;
316 - }
317 -
318 - public Criteria andEnglishNameBetween(String value1, String value2) {
319 - addCriterion("ENGLISH_NAME between", value1, value2, "englishName");
320 - return (Criteria) this;
321 - }
322 -
323 - public Criteria andEnglishNameNotBetween(String value1, String value2) {
324 - addCriterion("ENGLISH_NAME not between", value1, value2, "englishName");
325 - return (Criteria) this;
326 - }
327 -
328 - public Criteria andDescriptionIsNull() {
329 - addCriterion("DESCRIPTION is null");
330 - return (Criteria) this;
331 - }
332 -
333 - public Criteria andDescriptionIsNotNull() {
334 - addCriterion("DESCRIPTION is not null");
335 - return (Criteria) this;
336 - }
337 -
338 - public Criteria andDescriptionEqualTo(String value) {
339 - addCriterion("DESCRIPTION =", value, "description");
340 - return (Criteria) this;
341 - }
342 -
343 - public Criteria andDescriptionNotEqualTo(String value) {
344 - addCriterion("DESCRIPTION <>", value, "description");
345 - return (Criteria) this;
346 - }
347 -
348 - public Criteria andDescriptionGreaterThan(String value) {
349 - addCriterion("DESCRIPTION >", value, "description");
350 - return (Criteria) this;
351 - }
352 -
353 - public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
354 - addCriterion("DESCRIPTION >=", value, "description");
355 - return (Criteria) this;
356 - }
357 -
358 - public Criteria andDescriptionLessThan(String value) {
359 - addCriterion("DESCRIPTION <", value, "description");
360 - return (Criteria) this;
361 - }
362 -
363 - public Criteria andDescriptionLessThanOrEqualTo(String value) {
364 - addCriterion("DESCRIPTION <=", value, "description");
365 - return (Criteria) this;
366 - }
367 -
368 - public Criteria andDescriptionLike(String value) {
369 - addCriterion("DESCRIPTION like", value, "description");
370 - return (Criteria) this;
371 - }
372 -
373 - public Criteria andDescriptionNotLike(String value) {
374 - addCriterion("DESCRIPTION not like", value, "description");
375 - return (Criteria) this;
376 - }
377 -
378 - public Criteria andDescriptionIn(List<String> values) {
379 - addCriterion("DESCRIPTION in", values, "description");
380 - return (Criteria) this;
381 - }
382 -
383 - public Criteria andDescriptionNotIn(List<String> values) {
384 - addCriterion("DESCRIPTION not in", values, "description");
385 - return (Criteria) this;
386 - }
387 -
388 - public Criteria andDescriptionBetween(String value1, String value2) {
389 - addCriterion("DESCRIPTION between", value1, value2, "description");
390 - return (Criteria) this;
391 - }
392 -
393 - public Criteria andDescriptionNotBetween(String value1, String value2) {
394 - addCriterion("DESCRIPTION not between", value1, value2, "description");
395 - return (Criteria) this;
396 - }
397 -
398 - public Criteria andStatusIsNull() {
399 - addCriterion("STATUS is null");
400 - return (Criteria) this;
401 - }
402 -
403 - public Criteria andStatusIsNotNull() {
404 - addCriterion("STATUS is not null");
405 - return (Criteria) this;
406 - }
407 -
408 - public Criteria andStatusEqualTo(Long value) {
409 - addCriterion("STATUS =", value, "status");
410 - return (Criteria) this;
411 - }
412 -
413 - public Criteria andStatusNotEqualTo(Long value) {
414 - addCriterion("STATUS <>", value, "status");
415 - return (Criteria) this;
416 - }
417 -
418 - public Criteria andStatusGreaterThan(Long value) {
419 - addCriterion("STATUS >", value, "status");
420 - return (Criteria) this;
421 - }
422 -
423 - public Criteria andStatusGreaterThanOrEqualTo(Long value) {
424 - addCriterion("STATUS >=", value, "status");
425 - return (Criteria) this;
426 - }
427 -
428 - public Criteria andStatusLessThan(Long value) {
429 - addCriterion("STATUS <", value, "status");
430 - return (Criteria) this;
431 - }
432 -
433 - public Criteria andStatusLessThanOrEqualTo(Long value) {
434 - addCriterion("STATUS <=", value, "status");
435 - return (Criteria) this;
436 - }
437 -
438 - public Criteria andStatusIn(List<Long> values) {
439 - addCriterion("STATUS in", values, "status");
440 - return (Criteria) this;
441 - }
442 -
443 - public Criteria andStatusNotIn(List<Long> values) {
444 - addCriterion("STATUS not in", values, "status");
445 - return (Criteria) this;
446 - }
447 -
448 - public Criteria andStatusBetween(Long value1, Long value2) {
449 - addCriterion("STATUS between", value1, value2, "status");
450 - return (Criteria) this;
451 - }
452 -
453 - public Criteria andStatusNotBetween(Long value1, Long value2) {
454 - addCriterion("STATUS not between", value1, value2, "status");
455 - return (Criteria) this;
456 - }
457 -
458 - public Criteria andParentIdIsNull() {
459 - addCriterion("PARENT_ID is null");
460 - return (Criteria) this;
461 - }
462 -
463 - public Criteria andParentIdIsNotNull() {
464 - addCriterion("PARENT_ID is not null");
465 - return (Criteria) this;
466 - }
467 -
468 - public Criteria andParentIdEqualTo(String value) {
469 - addCriterion("PARENT_ID =", value, "parentId");
470 - return (Criteria) this;
471 - }
472 -
473 - public Criteria andParentIdNotEqualTo(String value) {
474 - addCriterion("PARENT_ID <>", value, "parentId");
475 - return (Criteria) this;
476 - }
477 -
478 - public Criteria andParentIdGreaterThan(String value) {
479 - addCriterion("PARENT_ID >", value, "parentId");
480 - return (Criteria) this;
481 - }
482 -
483 - public Criteria andParentIdGreaterThanOrEqualTo(String value) {
484 - addCriterion("PARENT_ID >=", value, "parentId");
485 - return (Criteria) this;
486 - }
487 -
488 - public Criteria andParentIdLessThan(String value) {
489 - addCriterion("PARENT_ID <", value, "parentId");
490 - return (Criteria) this;
491 - }
492 -
493 - public Criteria andParentIdLessThanOrEqualTo(String value) {
494 - addCriterion("PARENT_ID <=", value, "parentId");
495 - return (Criteria) this;
496 - }
497 -
498 - public Criteria andParentIdLike(String value) {
499 - addCriterion("PARENT_ID like", value, "parentId");
500 - return (Criteria) this;
501 - }
502 -
503 - public Criteria andParentIdNotLike(String value) {
504 - addCriterion("PARENT_ID not like", value, "parentId");
505 - return (Criteria) this;
506 - }
507 -
508 - public Criteria andParentIdIn(List<String> values) {
509 - addCriterion("PARENT_ID in", values, "parentId");
510 - return (Criteria) this;
511 - }
512 -
513 - public Criteria andParentIdNotIn(List<String> values) {
514 - addCriterion("PARENT_ID not in", values, "parentId");
515 - return (Criteria) this;
516 - }
517 -
518 - public Criteria andParentIdBetween(String value1, String value2) {
519 - addCriterion("PARENT_ID between", value1, value2, "parentId");
520 - return (Criteria) this;
521 - }
522 -
523 - public Criteria andParentIdNotBetween(String value1, String value2) {
524 - addCriterion("PARENT_ID not between", value1, value2, "parentId");
525 - return (Criteria) this;
526 - }
527 -
528 - public Criteria andExt1IsNull() {
529 - addCriterion("EXT1 is null");
530 - return (Criteria) this;
531 - }
532 -
533 - public Criteria andExt1IsNotNull() {
534 - addCriterion("EXT1 is not null");
535 - return (Criteria) this;
536 - }
537 -
538 - public Criteria andExt1EqualTo(String value) {
539 - addCriterion("EXT1 =", value, "ext1");
540 - return (Criteria) this;
541 - }
542 -
543 - public Criteria andExt1NotEqualTo(String value) {
544 - addCriterion("EXT1 <>", value, "ext1");
545 - return (Criteria) this;
546 - }
547 -
548 - public Criteria andExt1GreaterThan(String value) {
549 - addCriterion("EXT1 >", value, "ext1");
550 - return (Criteria) this;
551 - }
552 -
553 - public Criteria andExt1GreaterThanOrEqualTo(String value) {
554 - addCriterion("EXT1 >=", value, "ext1");
555 - return (Criteria) this;
556 - }
557 -
558 - public Criteria andExt1LessThan(String value) {
559 - addCriterion("EXT1 <", value, "ext1");
560 - return (Criteria) this;
561 - }
562 -
563 - public Criteria andExt1LessThanOrEqualTo(String value) {
564 - addCriterion("EXT1 <=", value, "ext1");
565 - return (Criteria) this;
566 - }
567 -
568 - public Criteria andExt1Like(String value) {
569 - addCriterion("EXT1 like", value, "ext1");
570 - return (Criteria) this;
571 - }
572 -
573 - public Criteria andExt1NotLike(String value) {
574 - addCriterion("EXT1 not like", value, "ext1");
575 - return (Criteria) this;
576 - }
577 -
578 - public Criteria andExt1In(List<String> values) {
579 - addCriterion("EXT1 in", values, "ext1");
580 - return (Criteria) this;
581 - }
582 -
583 - public Criteria andExt1NotIn(List<String> values) {
584 - addCriterion("EXT1 not in", values, "ext1");
585 - return (Criteria) this;
586 - }
587 -
588 - public Criteria andExt1Between(String value1, String value2) {
589 - addCriterion("EXT1 between", value1, value2, "ext1");
590 - return (Criteria) this;
591 - }
592 -
593 - public Criteria andExt1NotBetween(String value1, String value2) {
594 - addCriterion("EXT1 not between", value1, value2, "ext1");
595 - return (Criteria) this;
596 - }
597 -
598 - public Criteria andExt2IsNull() {
599 - addCriterion("EXT2 is null");
600 - return (Criteria) this;
601 - }
602 -
603 - public Criteria andExt2IsNotNull() {
604 - addCriterion("EXT2 is not null");
605 - return (Criteria) this;
606 - }
607 -
608 - public Criteria andExt2EqualTo(String value) {
609 - addCriterion("EXT2 =", value, "ext2");
610 - return (Criteria) this;
611 - }
612 -
613 - public Criteria andExt2NotEqualTo(String value) {
614 - addCriterion("EXT2 <>", value, "ext2");
615 - return (Criteria) this;
616 - }
617 -
618 - public Criteria andExt2GreaterThan(String value) {
619 - addCriterion("EXT2 >", value, "ext2");
620 - return (Criteria) this;
621 - }
622 -
623 - public Criteria andExt2GreaterThanOrEqualTo(String value) {
624 - addCriterion("EXT2 >=", value, "ext2");
625 - return (Criteria) this;
626 - }
627 -
628 - public Criteria andExt2LessThan(String value) {
629 - addCriterion("EXT2 <", value, "ext2");
630 - return (Criteria) this;
631 - }
632 -
633 - public Criteria andExt2LessThanOrEqualTo(String value) {
634 - addCriterion("EXT2 <=", value, "ext2");
635 - return (Criteria) this;
636 - }
637 -
638 - public Criteria andExt2Like(String value) {
639 - addCriterion("EXT2 like", value, "ext2");
640 - return (Criteria) this;
641 - }
642 -
643 - public Criteria andExt2NotLike(String value) {
644 - addCriterion("EXT2 not like", value, "ext2");
645 - return (Criteria) this;
646 - }
647 -
648 - public Criteria andExt2In(List<String> values) {
649 - addCriterion("EXT2 in", values, "ext2");
650 - return (Criteria) this;
651 - }
652 -
653 - public Criteria andExt2NotIn(List<String> values) {
654 - addCriterion("EXT2 not in", values, "ext2");
655 - return (Criteria) this;
656 - }
657 -
658 - public Criteria andExt2Between(String value1, String value2) {
659 - addCriterion("EXT2 between", value1, value2, "ext2");
660 - return (Criteria) this;
661 - }
662 -
663 - public Criteria andExt2NotBetween(String value1, String value2) {
664 - addCriterion("EXT2 not between", value1, value2, "ext2");
665 - return (Criteria) this;
666 - }
667 -
668 - public Criteria andExt3IsNull() {
669 - addCriterion("EXT3 is null");
670 - return (Criteria) this;
671 - }
672 -
673 - public Criteria andExt3IsNotNull() {
674 - addCriterion("EXT3 is not null");
675 - return (Criteria) this;
676 - }
677 -
678 - public Criteria andExt3EqualTo(Long value) {
679 - addCriterion("EXT3 =", value, "ext3");
680 - return (Criteria) this;
681 - }
682 -
683 - public Criteria andExt3NotEqualTo(Long value) {
684 - addCriterion("EXT3 <>", value, "ext3");
685 - return (Criteria) this;
686 - }
687 -
688 - public Criteria andExt3GreaterThan(Long value) {
689 - addCriterion("EXT3 >", value, "ext3");
690 - return (Criteria) this;
691 - }
692 -
693 - public Criteria andExt3GreaterThanOrEqualTo(Long value) {
694 - addCriterion("EXT3 >=", value, "ext3");
695 - return (Criteria) this;
696 - }
697 -
698 - public Criteria andExt3LessThan(Long value) {
699 - addCriterion("EXT3 <", value, "ext3");
700 - return (Criteria) this;
701 - }
702 -
703 - public Criteria andExt3LessThanOrEqualTo(Long value) {
704 - addCriterion("EXT3 <=", value, "ext3");
705 - return (Criteria) this;
706 - }
707 -
708 - public Criteria andExt3In(List<Long> values) {
709 - addCriterion("EXT3 in", values, "ext3");
710 - return (Criteria) this;
711 - }
712 -
713 - public Criteria andExt3NotIn(List<Long> values) {
714 - addCriterion("EXT3 not in", values, "ext3");
715 - return (Criteria) this;
716 - }
717 -
718 - public Criteria andExt3Between(Long value1, Long value2) {
719 - addCriterion("EXT3 between", value1, value2, "ext3");
720 - return (Criteria) this;
721 - }
722 -
723 - public Criteria andExt3NotBetween(Long value1, Long value2) {
724 - addCriterion("EXT3 not between", value1, value2, "ext3");
725 - return (Criteria) this;
726 - }
727 -
728 - public Criteria andExt4IsNull() {
729 - addCriterion("EXT4 is null");
730 - return (Criteria) this;
731 - }
732 -
733 - public Criteria andExt4IsNotNull() {
734 - addCriterion("EXT4 is not null");
735 - return (Criteria) this;
736 - }
737 -
738 - public Criteria andExt4EqualTo(Long value) {
739 - addCriterion("EXT4 =", value, "ext4");
740 - return (Criteria) this;
741 - }
742 -
743 - public Criteria andExt4NotEqualTo(Long value) {
744 - addCriterion("EXT4 <>", value, "ext4");
745 - return (Criteria) this;
746 - }
747 -
748 - public Criteria andExt4GreaterThan(Long value) {
749 - addCriterion("EXT4 >", value, "ext4");
750 - return (Criteria) this;
751 - }
752 -
753 - public Criteria andExt4GreaterThanOrEqualTo(Long value) {
754 - addCriterion("EXT4 >=", value, "ext4");
755 - return (Criteria) this;
756 - }
757 -
758 - public Criteria andExt4LessThan(Long value) {
759 - addCriterion("EXT4 <", value, "ext4");
760 - return (Criteria) this;
761 - }
762 -
763 - public Criteria andExt4LessThanOrEqualTo(Long value) {
764 - addCriterion("EXT4 <=", value, "ext4");
765 - return (Criteria) this;
766 - }
767 -
768 - public Criteria andExt4In(List<Long> values) {
769 - addCriterion("EXT4 in", values, "ext4");
770 - return (Criteria) this;
771 - }
772 -
773 - public Criteria andExt4NotIn(List<Long> values) {
774 - addCriterion("EXT4 not in", values, "ext4");
775 - return (Criteria) this;
776 - }
777 -
778 - public Criteria andExt4Between(Long value1, Long value2) {
779 - addCriterion("EXT4 between", value1, value2, "ext4");
780 - return (Criteria) this;
781 - }
782 -
783 - public Criteria andExt4NotBetween(Long value1, Long value2) {
784 - addCriterion("EXT4 not between", value1, value2, "ext4");
785 - return (Criteria) this;
786 - }
787 -
788 - public Criteria andCreateTimeIsNull() {
789 - addCriterion("CREATE_TIME is null");
790 - return (Criteria) this;
791 - }
792 -
793 - public Criteria andCreateTimeIsNotNull() {
794 - addCriterion("CREATE_TIME is not null");
795 - return (Criteria) this;
796 - }
797 -
798 - public Criteria andCreateTimeEqualTo(Date value) {
799 - addCriterion("CREATE_TIME =", value, "createTime");
800 - return (Criteria) this;
801 - }
802 -
803 - public Criteria andCreateTimeNotEqualTo(Date value) {
804 - addCriterion("CREATE_TIME <>", value, "createTime");
805 - return (Criteria) this;
806 - }
807 -
808 - public Criteria andCreateTimeGreaterThan(Date value) {
809 - addCriterion("CREATE_TIME >", value, "createTime");
810 - return (Criteria) this;
811 - }
812 -
813 - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
814 - addCriterion("CREATE_TIME >=", value, "createTime");
815 - return (Criteria) this;
816 - }
817 -
818 - public Criteria andCreateTimeLessThan(Date value) {
819 - addCriterion("CREATE_TIME <", value, "createTime");
820 - return (Criteria) this;
821 - }
822 -
823 - public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
824 - addCriterion("CREATE_TIME <=", value, "createTime");
825 - return (Criteria) this;
826 - }
827 -
828 - public Criteria andCreateTimeIn(List<Date> values) {
829 - addCriterion("CREATE_TIME in", values, "createTime");
830 - return (Criteria) this;
831 - }
832 -
833 - public Criteria andCreateTimeNotIn(List<Date> values) {
834 - addCriterion("CREATE_TIME not in", values, "createTime");
835 - return (Criteria) this;
836 - }
837 -
838 - public Criteria andCreateTimeBetween(Date value1, Date value2) {
839 - addCriterion("CREATE_TIME between", value1, value2, "createTime");
840 - return (Criteria) this;
841 - }
842 -
843 - public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
844 - addCriterion("CREATE_TIME not between", value1, value2, "createTime");
845 - return (Criteria) this;
846 - }
847 -
848 - public Criteria andCreateUserIdIsNull() {
849 - addCriterion("CREATE_USER_ID is null");
850 - return (Criteria) this;
851 - }
852 -
853 - public Criteria andCreateUserIdIsNotNull() {
854 - addCriterion("CREATE_USER_ID is not null");
855 - return (Criteria) this;
856 - }
857 -
858 - public Criteria andCreateUserIdEqualTo(Long value) {
859 - addCriterion("CREATE_USER_ID =", value, "createUserId");
860 - return (Criteria) this;
861 - }
862 -
863 - public Criteria andCreateUserIdNotEqualTo(Long value) {
864 - addCriterion("CREATE_USER_ID <>", value, "createUserId");
865 - return (Criteria) this;
866 - }
867 -
868 - public Criteria andCreateUserIdGreaterThan(Long value) {
869 - addCriterion("CREATE_USER_ID >", value, "createUserId");
870 - return (Criteria) this;
871 - }
872 -
873 - public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
874 - addCriterion("CREATE_USER_ID >=", value, "createUserId");
875 - return (Criteria) this;
876 - }
877 -
878 - public Criteria andCreateUserIdLessThan(Long value) {
879 - addCriterion("CREATE_USER_ID <", value, "createUserId");
880 - return (Criteria) this;
881 - }
882 -
883 - public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
884 - addCriterion("CREATE_USER_ID <=", value, "createUserId");
885 - return (Criteria) this;
886 - }
887 -
888 - public Criteria andCreateUserIdIn(List<Long> values) {
889 - addCriterion("CREATE_USER_ID in", values, "createUserId");
890 - return (Criteria) this;
891 - }
892 -
893 - public Criteria andCreateUserIdNotIn(List<Long> values) {
894 - addCriterion("CREATE_USER_ID not in", values, "createUserId");
895 - return (Criteria) this;
896 - }
897 -
898 - public Criteria andCreateUserIdBetween(Long value1, Long value2) {
899 - addCriterion("CREATE_USER_ID between", value1, value2, "createUserId");
900 - return (Criteria) this;
901 - }
902 -
903 - public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
904 - addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId");
905 - return (Criteria) this;
906 - }
907 -
908 - public Criteria andCreateUserNameIsNull() {
909 - addCriterion("CREATE_USER_NAME is null");
910 - return (Criteria) this;
911 - }
912 -
913 - public Criteria andCreateUserNameIsNotNull() {
914 - addCriterion("CREATE_USER_NAME is not null");
915 - return (Criteria) this;
916 - }
917 -
918 - public Criteria andCreateUserNameEqualTo(String value) {
919 - addCriterion("CREATE_USER_NAME =", value, "createUserName");
920 - return (Criteria) this;
921 - }
922 -
923 - public Criteria andCreateUserNameNotEqualTo(String value) {
924 - addCriterion("CREATE_USER_NAME <>", value, "createUserName");
925 - return (Criteria) this;
926 - }
927 -
928 - public Criteria andCreateUserNameGreaterThan(String value) {
929 - addCriterion("CREATE_USER_NAME >", value, "createUserName");
930 - return (Criteria) this;
931 - }
932 -
933 - public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
934 - addCriterion("CREATE_USER_NAME >=", value, "createUserName");
935 - return (Criteria) this;
936 - }
937 -
938 - public Criteria andCreateUserNameLessThan(String value) {
939 - addCriterion("CREATE_USER_NAME <", value, "createUserName");
940 - return (Criteria) this;
941 - }
942 -
943 - public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
944 - addCriterion("CREATE_USER_NAME <=", value, "createUserName");
945 - return (Criteria) this;
946 - }
947 -
948 - public Criteria andCreateUserNameLike(String value) {
949 - addCriterion("CREATE_USER_NAME like", value, "createUserName");
950 - return (Criteria) this;
951 - }
952 -
953 - public Criteria andCreateUserNameNotLike(String value) {
954 - addCriterion("CREATE_USER_NAME not like", value, "createUserName");
955 - return (Criteria) this;
956 - }
957 -
958 - public Criteria andCreateUserNameIn(List<String> values) {
959 - addCriterion("CREATE_USER_NAME in", values, "createUserName");
960 - return (Criteria) this;
961 - }
962 -
963 - public Criteria andCreateUserNameNotIn(List<String> values) {
964 - addCriterion("CREATE_USER_NAME not in", values, "createUserName");
965 - return (Criteria) this;
966 - }
967 -
968 - public Criteria andCreateUserNameBetween(String value1, String value2) {
969 - addCriterion("CREATE_USER_NAME between", value1, value2, "createUserName");
970 - return (Criteria) this;
971 - }
972 -
973 - public Criteria andCreateUserNameNotBetween(String value1, String value2) {
974 - addCriterion("CREATE_USER_NAME not between", value1, value2, "createUserName");
975 - return (Criteria) this;
976 - }
977 -
978 - public Criteria andModifyTimeIsNull() {
979 - addCriterion("MODIFY_TIME is null");
980 - return (Criteria) this;
981 - }
982 -
983 - public Criteria andModifyTimeIsNotNull() {
984 - addCriterion("MODIFY_TIME is not null");
985 - return (Criteria) this;
986 - }
987 -
988 - public Criteria andModifyTimeEqualTo(Date value) {
989 - addCriterion("MODIFY_TIME =", value, "modifyTime");
990 - return (Criteria) this;
991 - }
992 -
993 - public Criteria andModifyTimeNotEqualTo(Date value) {
994 - addCriterion("MODIFY_TIME <>", value, "modifyTime");
995 - return (Criteria) this;
996 - }
997 -
998 - public Criteria andModifyTimeGreaterThan(Date value) {
999 - addCriterion("MODIFY_TIME >", value, "modifyTime");
1000 - return (Criteria) this;
1001 - }
1002 -
1003 - public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
1004 - addCriterion("MODIFY_TIME >=", value, "modifyTime");
1005 - return (Criteria) this;
1006 - }
1007 -
1008 - public Criteria andModifyTimeLessThan(Date value) {
1009 - addCriterion("MODIFY_TIME <", value, "modifyTime");
1010 - return (Criteria) this;
1011 - }
1012 -
1013 - public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
1014 - addCriterion("MODIFY_TIME <=", value, "modifyTime");
1015 - return (Criteria) this;
1016 - }
1017 -
1018 - public Criteria andModifyTimeIn(List<Date> values) {
1019 - addCriterion("MODIFY_TIME in", values, "modifyTime");
1020 - return (Criteria) this;
1021 - }
1022 -
1023 - public Criteria andModifyTimeNotIn(List<Date> values) {
1024 - addCriterion("MODIFY_TIME not in", values, "modifyTime");
1025 - return (Criteria) this;
1026 - }
1027 -
1028 - public Criteria andModifyTimeBetween(Date value1, Date value2) {
1029 - addCriterion("MODIFY_TIME between", value1, value2, "modifyTime");
1030 - return (Criteria) this;
1031 - }
1032 -
1033 - public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
1034 - addCriterion("MODIFY_TIME not between", value1, value2, "modifyTime");
1035 - return (Criteria) this;
1036 - }
1037 -
1038 - public Criteria andModifyUserIdIsNull() {
1039 - addCriterion("MODIFY_USER_ID is null");
1040 - return (Criteria) this;
1041 - }
1042 -
1043 - public Criteria andModifyUserIdIsNotNull() {
1044 - addCriterion("MODIFY_USER_ID is not null");
1045 - return (Criteria) this;
1046 - }
1047 -
1048 - public Criteria andModifyUserIdEqualTo(Long value) {
1049 - addCriterion("MODIFY_USER_ID =", value, "modifyUserId");
1050 - return (Criteria) this;
1051 - }
1052 -
1053 - public Criteria andModifyUserIdNotEqualTo(Long value) {
1054 - addCriterion("MODIFY_USER_ID <>", value, "modifyUserId");
1055 - return (Criteria) this;
1056 - }
1057 -
1058 - public Criteria andModifyUserIdGreaterThan(Long value) {
1059 - addCriterion("MODIFY_USER_ID >", value, "modifyUserId");
1060 - return (Criteria) this;
1061 - }
1062 -
1063 - public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
1064 - addCriterion("MODIFY_USER_ID >=", value, "modifyUserId");
1065 - return (Criteria) this;
1066 - }
1067 -
1068 - public Criteria andModifyUserIdLessThan(Long value) {
1069 - addCriterion("MODIFY_USER_ID <", value, "modifyUserId");
1070 - return (Criteria) this;
1071 - }
1072 -
1073 - public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
1074 - addCriterion("MODIFY_USER_ID <=", value, "modifyUserId");
1075 - return (Criteria) this;
1076 - }
1077 -
1078 - public Criteria andModifyUserIdIn(List<Long> values) {
1079 - addCriterion("MODIFY_USER_ID in", values, "modifyUserId");
1080 - return (Criteria) this;
1081 - }
1082 -
1083 - public Criteria andModifyUserIdNotIn(List<Long> values) {
1084 - addCriterion("MODIFY_USER_ID not in", values, "modifyUserId");
1085 - return (Criteria) this;
1086 - }
1087 -
1088 - public Criteria andModifyUserIdBetween(Long value1, Long value2) {
1089 - addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId");
1090 - return (Criteria) this;
1091 - }
1092 -
1093 - public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
1094 - addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId");
1095 - return (Criteria) this;
1096 - }
1097 -
1098 - public Criteria andModifyUserNameIsNull() {
1099 - addCriterion("MODIFY_USER_NAME is null");
1100 - return (Criteria) this;
1101 - }
1102 -
1103 - public Criteria andModifyUserNameIsNotNull() {
1104 - addCriterion("MODIFY_USER_NAME is not null");
1105 - return (Criteria) this;
1106 - }
1107 -
1108 - public Criteria andModifyUserNameEqualTo(String value) {
1109 - addCriterion("MODIFY_USER_NAME =", value, "modifyUserName");
1110 - return (Criteria) this;
1111 - }
1112 -
1113 - public Criteria andModifyUserNameNotEqualTo(String value) {
1114 - addCriterion("MODIFY_USER_NAME <>", value, "modifyUserName");
1115 - return (Criteria) this;
1116 - }
1117 -
1118 - public Criteria andModifyUserNameGreaterThan(String value) {
1119 - addCriterion("MODIFY_USER_NAME >", value, "modifyUserName");
1120 - return (Criteria) this;
1121 - }
1122 -
1123 - public Criteria andModifyUserNameGreaterThanOrEqualTo(String value) {
1124 - addCriterion("MODIFY_USER_NAME >=", value, "modifyUserName");
1125 - return (Criteria) this;
1126 - }
1127 -
1128 - public Criteria andModifyUserNameLessThan(String value) {
1129 - addCriterion("MODIFY_USER_NAME <", value, "modifyUserName");
1130 - return (Criteria) this;
1131 - }
1132 -
1133 - public Criteria andModifyUserNameLessThanOrEqualTo(String value) {
1134 - addCriterion("MODIFY_USER_NAME <=", value, "modifyUserName");
1135 - return (Criteria) this;
1136 - }
1137 -
1138 - public Criteria andModifyUserNameLike(String value) {
1139 - addCriterion("MODIFY_USER_NAME like", value, "modifyUserName");
1140 - return (Criteria) this;
1141 - }
1142 -
1143 - public Criteria andModifyUserNameNotLike(String value) {
1144 - addCriterion("MODIFY_USER_NAME not like", value, "modifyUserName");
1145 - return (Criteria) this;
1146 - }
1147 -
1148 - public Criteria andModifyUserNameIn(List<String> values) {
1149 - addCriterion("MODIFY_USER_NAME in", values, "modifyUserName");
1150 - return (Criteria) this;
1151 - }
1152 -
1153 - public Criteria andModifyUserNameNotIn(List<String> values) {
1154 - addCriterion("MODIFY_USER_NAME not in", values, "modifyUserName");
1155 - return (Criteria) this;
1156 - }
1157 -
1158 - public Criteria andModifyUserNameBetween(String value1, String value2) {
1159 - addCriterion("MODIFY_USER_NAME between", value1, value2, "modifyUserName");
1160 - return (Criteria) this;
1161 - }
1162 -
1163 - public Criteria andModifyUserNameNotBetween(String value1, String value2) {
1164 - addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName");
1165 - return (Criteria) this;
1166 - }
1167 - }
1168 -
1169 - public static class Criteria extends GeneratedCriteria {
1170 -
1171 - protected Criteria() {
1172 - super();
1173 - }
1174 - }
1175 -
1176 - public static class Criterion {
1177 - private String condition;
1178 -
1179 - private Object value;
1180 -
1181 - private Object secondValue;
1182 -
1183 - private boolean noValue;
1184 -
1185 - private boolean singleValue;
1186 -
1187 - private boolean betweenValue;
1188 -
1189 - private boolean listValue;
1190 -
1191 - private String typeHandler;
1192 -
1193 - public String getCondition() {
1194 - return condition;
1195 - }
1196 -
1197 - public Object getValue() {
1198 - return value;
1199 - }
1200 -
1201 - public Object getSecondValue() {
1202 - return secondValue;
1203 - }
1204 -
1205 - public boolean isNoValue() {
1206 - return noValue;
1207 - }
1208 -
1209 - public boolean isSingleValue() {
1210 - return singleValue;
1211 - }
1212 -
1213 - public boolean isBetweenValue() {
1214 - return betweenValue;
1215 - }
1216 -
1217 - public boolean isListValue() {
1218 - return listValue;
1219 - }
1220 -
1221 - public String getTypeHandler() {
1222 - return typeHandler;
1223 - }
1224 -
1225 - protected Criterion(String condition) {
1226 - super();
1227 - this.condition = condition;
1228 - this.typeHandler = null;
1229 - this.noValue = true;
1230 - }
1231 -
1232 - protected Criterion(String condition, Object value, String typeHandler) {
1233 - super();
1234 - this.condition = condition;
1235 - this.value = value;
1236 - this.typeHandler = typeHandler;
1237 - if (value instanceof List<?>) {
1238 - this.listValue = true;
1239 - } else {
1240 - this.singleValue = true;
1241 - }
1242 - }
1243 -
1244 - protected Criterion(String condition, Object value) {
1245 - this(condition, value, null);
1246 - }
1247 -
1248 - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
1249 - super();
1250 - this.condition = condition;
1251 - this.value = value;
1252 - this.secondValue = secondValue;
1253 - this.typeHandler = typeHandler;
1254 - this.betweenValue = true;
1255 - }
1256 -
1257 - protected Criterion(String condition, Object value, Object secondValue) {
1258 - this(condition, value, secondValue, null);
1259 - }
1260 - }
1261 -}
...\ No newline at end of file ...\ No newline at end of file