tao.mo

项目基础数据构件

mt
2024年10月23日14:43:24
No preview for this file type
...@@ -238,12 +238,6 @@ ...@@ -238,12 +238,6 @@
238 <artifactId>springfox-swagger2</artifactId> 238 <artifactId>springfox-swagger2</artifactId>
239 <version>2.9.2</version> 239 <version>2.9.2</version>
240 </dependency> 240 </dependency>
241 -
242 - <dependency>
243 - <groupId>org.mybatis.spring.boot</groupId>
244 - <artifactId>mybatis-spring-boot-starter</artifactId>
245 - <version>1.3.2</version>
246 - </dependency>
247 <dependency> 241 <dependency>
248 <groupId>org.mybatis.generator</groupId> 242 <groupId>org.mybatis.generator</groupId>
249 <artifactId>mybatis-generator-core</artifactId> 243 <artifactId>mybatis-generator-core</artifactId>
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
19 <artifactId>base-starter</artifactId> 19 <artifactId>base-starter</artifactId>
20 <version>1.0.0</version> 20 <version>1.0.0</version>
21 </dependency> 21 </dependency>
22 -<!-- <dependency>--> 22 + <dependency>
23 -<!-- <groupId>com.erry</groupId>--> 23 + <groupId>com.erry</groupId>
24 -<!-- <artifactId>imac-common</artifactId>--> 24 + <artifactId>imac-common</artifactId>
25 -<!-- <version>0.0.1</version>--> 25 + <version>0.0.1</version>
26 -<!-- </dependency>--> 26 + </dependency>
27 </dependencies> 27 </dependencies>
28 28
29 <build> 29 <build>
...@@ -54,45 +54,45 @@ ...@@ -54,45 +54,45 @@
54 </configuration> 54 </configuration>
55 </plugin> 55 </plugin>
56 56
57 -<!-- <plugin>--> 57 + <plugin>
58 -<!-- <groupId>org.mybatis.generator</groupId>--> 58 + <groupId>org.mybatis.generator</groupId>
59 -<!-- <artifactId>mybatis-generator-maven-plugin</artifactId>--> 59 + <artifactId>mybatis-generator-maven-plugin</artifactId>
60 -<!-- <version>1.3.7</version>--> 60 + <version>1.3.7</version>
61 -<!-- <configuration>--> 61 + <configuration>
62 -<!-- <verbose>true</verbose>--> 62 + <verbose>true</verbose>
63 -<!-- <overwrite>true</overwrite>--> 63 + <overwrite>true</overwrite>
64 -<!-- <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>--> 64 + <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
65 -<!-- </configuration>--> 65 + </configuration>
66 -<!-- <dependencies>--> 66 + <dependencies>
67 -<!-- <dependency>--> 67 + <dependency>
68 -<!-- <groupId>com.oracle.database.jdbc</groupId>--> 68 + <groupId>com.oracle.database.jdbc</groupId>
69 -<!-- <artifactId>ojdbc8</artifactId>--> 69 + <artifactId>ojdbc8</artifactId>
70 -<!-- <version>12.2.0.1</version>--> 70 + <version>12.2.0.1</version>
71 -<!-- </dependency>--> 71 + </dependency>
72 -<!-- <dependency>--> 72 + <dependency>
73 -<!-- <groupId>com.erry</groupId>--> 73 + <groupId>com.erry</groupId>
74 -<!-- <artifactId>imac-common</artifactId>--> 74 + <artifactId>imac-common</artifactId>
75 -<!-- <version>0.0.1-SNAPSHOT</version>--> 75 + <version>0.0.1</version>
76 -<!-- </dependency>--> 76 + </dependency>
77 -<!-- </dependencies>--> 77 + </dependencies>
78 -<!-- </plugin>--> 78 + </plugin>
79 79
80 -<!-- <plugin>--> 80 + <plugin>
81 -<!-- <groupId>org.apache.maven.plugins</groupId>--> 81 + <groupId>org.apache.maven.plugins</groupId>
82 -<!-- <artifactId>maven-javadoc-plugin</artifactId>--> 82 + <artifactId>maven-javadoc-plugin</artifactId>
83 -<!-- <version>2.10.2</version>--> 83 + <version>2.10.2</version>
84 -<!-- <configuration>--> 84 + <configuration>
85 -<!-- <aggregate>true</aggregate>--> 85 + <aggregate>true</aggregate>
86 -<!-- </configuration>--> 86 + </configuration>
87 -<!-- <executions>--> 87 + <executions>
88 -<!-- <execution>--> 88 + <execution>
89 -<!-- <id>attach-javadocs</id>--> 89 + <id>attach-javadocs</id>
90 -<!-- <goals>--> 90 + <goals>
91 -<!-- <goal>jar</goal>--> 91 + <goal>jar</goal>
92 -<!-- </goals>--> 92 + </goals>
93 -<!-- </execution>--> 93 + </execution>
94 -<!-- </executions>--> 94 + </executions>
95 -<!-- </plugin>--> 95 + </plugin>
96 </plugins> 96 </plugins>
97 </build> 97 </build>
98 </project> 98 </project>
...\ No newline at end of file ...\ No newline at end of file
......
1 +package com.fedex.connect.common.dao.sys;
2 +
3 +import com.fedex.connect.common.model.sys.Dictionary;
4 +import com.fedex.connect.common.model.sys.DictionaryExample;
5 +import java.util.List;
6 +import org.apache.ibatis.annotations.Param;
7 +
8 +public interface DictionaryMapper {
9 + long countByExample(DictionaryExample example);
10 +
11 + int deleteByExample(DictionaryExample example);
12 +
13 + int deleteByPrimaryKey(Long id);
14 +
15 + int insert(Dictionary record);
16 +
17 + int insertSelective(Dictionary record);
18 +
19 + List<Dictionary> selectByExample(DictionaryExample example);
20 +
21 + Dictionary selectByPrimaryKey(Long id);
22 +
23 + int updateByExampleSelective(@Param("record") Dictionary record, @Param("example") DictionaryExample example);
24 +
25 + int updateByExample(@Param("record") Dictionary record, @Param("example") DictionaryExample example);
26 +
27 + int updateByPrimaryKeySelective(Dictionary record);
28 +
29 + int updateByPrimaryKey(Dictionary record);
30 +}
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 +<mapper namespace="com.fedex.connect.common.dao.sys.DictionaryMapper">
4 + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.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="FLOAT" 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="VARCHAR" property="ext3" />
14 + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
15 + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
16 + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
17 + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
18 + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
19 + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
20 + </resultMap>
21 + <sql id="Example_Where_Clause">
22 + <where>
23 + <foreach collection="oredCriteria" item="criteria" separator="or">
24 + <if test="criteria.valid">
25 + <trim prefix="(" prefixOverrides="and" suffix=")">
26 + <foreach collection="criteria.criteria" item="criterion">
27 + <choose>
28 + <when test="criterion.noValue">
29 + and ${criterion.condition}
30 + </when>
31 + <when test="criterion.singleValue">
32 + and ${criterion.condition} #{criterion.value}
33 + </when>
34 + <when test="criterion.betweenValue">
35 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
36 + </when>
37 + <when test="criterion.listValue">
38 + and ${criterion.condition}
39 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
40 + #{listItem}
41 + </foreach>
42 + </when>
43 + </choose>
44 + </foreach>
45 + </trim>
46 + </if>
47 + </foreach>
48 + </where>
49 + </sql>
50 + <sql id="Update_By_Example_Where_Clause">
51 + <where>
52 + <foreach collection="example.oredCriteria" item="criteria" separator="or">
53 + <if test="criteria.valid">
54 + <trim prefix="(" prefixOverrides="and" suffix=")">
55 + <foreach collection="criteria.criteria" item="criterion">
56 + <choose>
57 + <when test="criterion.noValue">
58 + and ${criterion.condition}
59 + </when>
60 + <when test="criterion.singleValue">
61 + and ${criterion.condition} #{criterion.value}
62 + </when>
63 + <when test="criterion.betweenValue">
64 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
65 + </when>
66 + <when test="criterion.listValue">
67 + and ${criterion.condition}
68 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
69 + #{listItem}
70 + </foreach>
71 + </when>
72 + </choose>
73 + </foreach>
74 + </trim>
75 + </if>
76 + </foreach>
77 + </where>
78 + </sql>
79 + <sql id="Base_Column_List">
80 + ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, CREATE_TIME,
81 + CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
82 + </sql>
83 + <select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.DictionaryExample" resultMap="BaseResultMap">
84 + <include refid="OracleDialectPrefix" />
85 + select
86 + <if test="distinct">
87 + distinct
88 + </if>
89 + 'true' as QUERYID,
90 + <include refid="Base_Column_List" />
91 + from T_BI_DICTIONARY
92 + <if test="_parameter != null">
93 + <include refid="Example_Where_Clause" />
94 + </if>
95 + <if test="orderByClause != null">
96 + order by ${orderByClause}
97 + </if>
98 + <include refid="OracleDialectSuffix" />
99 + </select>
100 + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
101 + select
102 + <include refid="Base_Column_List" />
103 + from T_BI_DICTIONARY
104 + where ID = #{id,jdbcType=NUMERIC}
105 + </select>
106 + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
107 + delete from T_BI_DICTIONARY
108 + where ID = #{id,jdbcType=NUMERIC}
109 + </delete>
110 + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.DictionaryExample">
111 + delete from T_BI_DICTIONARY
112 + <if test="_parameter != null">
113 + <include refid="Example_Where_Clause" />
114 + </if>
115 + </delete>
116 + <insert id="insert" parameterType="com.fedex.connect.common.model.sys.Dictionary">
117 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
118 + SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
119 + </selectKey>
120 + insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME,
121 + DESCRIPTION, STATUS, PARENT_ID,
122 + EXT1, EXT2, EXT3, CREATE_TIME,
123 + CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME,
124 + MODIFY_USER_ID, MODIFY_USER_NAME)
125 + values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR},
126 + #{description,jdbcType=VARCHAR}, #{status,jdbcType=FLOAT}, #{parentId,jdbcType=VARCHAR},
127 + #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
128 + #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
129 + #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR})
130 + </insert>
131 + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.Dictionary">
132 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
133 + SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
134 + </selectKey>
135 + insert into T_BI_DICTIONARY
136 + <trim prefix="(" suffix=")" suffixOverrides=",">
137 + ID,
138 + <if test="code != null">
139 + CODE,
140 + </if>
141 + <if test="englishName != null">
142 + ENGLISH_NAME,
143 + </if>
144 + <if test="description != null">
145 + DESCRIPTION,
146 + </if>
147 + <if test="status != null">
148 + STATUS,
149 + </if>
150 + <if test="parentId != null">
151 + PARENT_ID,
152 + </if>
153 + <if test="ext1 != null">
154 + EXT1,
155 + </if>
156 + <if test="ext2 != null">
157 + EXT2,
158 + </if>
159 + <if test="ext3 != null">
160 + EXT3,
161 + </if>
162 + <if test="createTime != null">
163 + CREATE_TIME,
164 + </if>
165 + <if test="createUserId != null">
166 + CREATE_USER_ID,
167 + </if>
168 + <if test="createUserName != null">
169 + CREATE_USER_NAME,
170 + </if>
171 + <if test="modifyTime != null">
172 + MODIFY_TIME,
173 + </if>
174 + <if test="modifyUserId != null">
175 + MODIFY_USER_ID,
176 + </if>
177 + <if test="modifyUserName != null">
178 + MODIFY_USER_NAME,
179 + </if>
180 + </trim>
181 + <trim prefix="values (" suffix=")" suffixOverrides=",">
182 + #{id,jdbcType=NUMERIC},
183 + <if test="code != null">
184 + #{code,jdbcType=VARCHAR},
185 + </if>
186 + <if test="englishName != null">
187 + #{englishName,jdbcType=VARCHAR},
188 + </if>
189 + <if test="description != null">
190 + #{description,jdbcType=VARCHAR},
191 + </if>
192 + <if test="status != null">
193 + #{status,jdbcType=FLOAT},
194 + </if>
195 + <if test="parentId != null">
196 + #{parentId,jdbcType=VARCHAR},
197 + </if>
198 + <if test="ext1 != null">
199 + #{ext1,jdbcType=VARCHAR},
200 + </if>
201 + <if test="ext2 != null">
202 + #{ext2,jdbcType=VARCHAR},
203 + </if>
204 + <if test="ext3 != null">
205 + #{ext3,jdbcType=VARCHAR},
206 + </if>
207 + <if test="createTime != null">
208 + #{createTime,jdbcType=TIMESTAMP},
209 + </if>
210 + <if test="createUserId != null">
211 + #{createUserId,jdbcType=NUMERIC},
212 + </if>
213 + <if test="createUserName != null">
214 + #{createUserName,jdbcType=VARCHAR},
215 + </if>
216 + <if test="modifyTime != null">
217 + #{modifyTime,jdbcType=TIMESTAMP},
218 + </if>
219 + <if test="modifyUserId != null">
220 + #{modifyUserId,jdbcType=NUMERIC},
221 + </if>
222 + <if test="modifyUserName != null">
223 + #{modifyUserName,jdbcType=VARCHAR},
224 + </if>
225 + </trim>
226 + </insert>
227 + <select id="countByExample" parameterType="com.fedex.connect.common.model.sys.DictionaryExample" resultType="java.lang.Long">
228 + select count(*) from T_BI_DICTIONARY
229 + <if test="_parameter != null">
230 + <include refid="Example_Where_Clause" />
231 + </if>
232 + </select>
233 + <update id="updateByExampleSelective" parameterType="map">
234 + update T_BI_DICTIONARY
235 + <set>
236 + <if test="record.id != null">
237 + ID = #{record.id,jdbcType=NUMERIC},
238 + </if>
239 + <if test="record.code != null">
240 + CODE = #{record.code,jdbcType=VARCHAR},
241 + </if>
242 + <if test="record.englishName != null">
243 + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
244 + </if>
245 + <if test="record.description != null">
246 + DESCRIPTION = #{record.description,jdbcType=VARCHAR},
247 + </if>
248 + <if test="record.status != null">
249 + STATUS = #{record.status,jdbcType=FLOAT},
250 + </if>
251 + <if test="record.parentId != null">
252 + PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
253 + </if>
254 + <if test="record.ext1 != null">
255 + EXT1 = #{record.ext1,jdbcType=VARCHAR},
256 + </if>
257 + <if test="record.ext2 != null">
258 + EXT2 = #{record.ext2,jdbcType=VARCHAR},
259 + </if>
260 + <if test="record.ext3 != null">
261 + EXT3 = #{record.ext3,jdbcType=VARCHAR},
262 + </if>
263 + <if test="record.createTime != null">
264 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
265 + </if>
266 + <if test="record.createUserId != null">
267 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
268 + </if>
269 + <if test="record.createUserName != null">
270 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
271 + </if>
272 + <if test="record.modifyTime != null">
273 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
274 + </if>
275 + <if test="record.modifyUserId != null">
276 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
277 + </if>
278 + <if test="record.modifyUserName != null">
279 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
280 + </if>
281 + </set>
282 + <if test="_parameter != null">
283 + <include refid="Update_By_Example_Where_Clause" />
284 + </if>
285 + </update>
286 + <update id="updateByExample" parameterType="map">
287 + update T_BI_DICTIONARY
288 + set ID = #{record.id,jdbcType=NUMERIC},
289 + CODE = #{record.code,jdbcType=VARCHAR},
290 + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
291 + DESCRIPTION = #{record.description,jdbcType=VARCHAR},
292 + STATUS = #{record.status,jdbcType=FLOAT},
293 + PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
294 + EXT1 = #{record.ext1,jdbcType=VARCHAR},
295 + EXT2 = #{record.ext2,jdbcType=VARCHAR},
296 + EXT3 = #{record.ext3,jdbcType=VARCHAR},
297 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
298 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
299 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
300 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
301 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
302 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
303 + <if test="_parameter != null">
304 + <include refid="Update_By_Example_Where_Clause" />
305 + </if>
306 + </update>
307 + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.Dictionary">
308 + update T_BI_DICTIONARY
309 + <set>
310 + <if test="code != null">
311 + CODE = #{code,jdbcType=VARCHAR},
312 + </if>
313 + <if test="englishName != null">
314 + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
315 + </if>
316 + <if test="description != null">
317 + DESCRIPTION = #{description,jdbcType=VARCHAR},
318 + </if>
319 + <if test="status != null">
320 + STATUS = #{status,jdbcType=FLOAT},
321 + </if>
322 + <if test="parentId != null">
323 + PARENT_ID = #{parentId,jdbcType=VARCHAR},
324 + </if>
325 + <if test="ext1 != null">
326 + EXT1 = #{ext1,jdbcType=VARCHAR},
327 + </if>
328 + <if test="ext2 != null">
329 + EXT2 = #{ext2,jdbcType=VARCHAR},
330 + </if>
331 + <if test="ext3 != null">
332 + EXT3 = #{ext3,jdbcType=VARCHAR},
333 + </if>
334 + <if test="createTime != null">
335 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
336 + </if>
337 + <if test="createUserId != null">
338 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
339 + </if>
340 + <if test="createUserName != null">
341 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
342 + </if>
343 + <if test="modifyTime != null">
344 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
345 + </if>
346 + <if test="modifyUserId != null">
347 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
348 + </if>
349 + <if test="modifyUserName != null">
350 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
351 + </if>
352 + </set>
353 + where ID = #{id,jdbcType=NUMERIC}
354 + </update>
355 + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.Dictionary">
356 + update T_BI_DICTIONARY
357 + set CODE = #{code,jdbcType=VARCHAR},
358 + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
359 + DESCRIPTION = #{description,jdbcType=VARCHAR},
360 + STATUS = #{status,jdbcType=FLOAT},
361 + PARENT_ID = #{parentId,jdbcType=VARCHAR},
362 + EXT1 = #{ext1,jdbcType=VARCHAR},
363 + EXT2 = #{ext2,jdbcType=VARCHAR},
364 + EXT3 = #{ext3,jdbcType=VARCHAR},
365 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
366 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
367 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
368 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
369 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
370 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
371 + where ID = #{id,jdbcType=NUMERIC}
372 + </update>
373 + <sql id="OracleDialectPrefix">
374 + <if test="limitStart != null and limitStart&gt;=0">
375 + select * from ( select row_.*, rownum rownum_ from (
376 + </if>
377 + </sql>
378 + <sql id="OracleDialectSuffix">
379 + <if test="limitStart != null and limitStart&gt;=0">
380 + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
381 + </if>
382 + </sql>
383 + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.Dictionary">
384 + <id column="ID" jdbcType="NUMERIC" property="id" />
385 + <result column="CODE" jdbcType="VARCHAR" property="code" />
386 + <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" />
387 + <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
388 + <result column="STATUS" jdbcType="FLOAT" property="status" />
389 + <result column="PARENT_ID" jdbcType="VARCHAR" property="parentId" />
390 + <result column="EXT1" jdbcType="VARCHAR" property="ext1" />
391 + <result column="EXT2" jdbcType="VARCHAR" property="ext2" />
392 + <result column="EXT3" jdbcType="VARCHAR" property="ext3" />
393 + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
394 + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
395 + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
396 + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
397 + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
398 + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
399 + </resultMap>
400 + <sql id="Example_Where_Clause">
401 + <where>
402 + <foreach collection="oredCriteria" item="criteria" separator="or">
403 + <if test="criteria.valid">
404 + <trim prefix="(" prefixOverrides="and" suffix=")">
405 + <foreach collection="criteria.criteria" item="criterion">
406 + <choose>
407 + <when test="criterion.noValue">
408 + and ${criterion.condition}
409 + </when>
410 + <when test="criterion.singleValue">
411 + and ${criterion.condition} #{criterion.value}
412 + </when>
413 + <when test="criterion.betweenValue">
414 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
415 + </when>
416 + <when test="criterion.listValue">
417 + and ${criterion.condition}
418 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
419 + #{listItem}
420 + </foreach>
421 + </when>
422 + </choose>
423 + </foreach>
424 + </trim>
425 + </if>
426 + </foreach>
427 + </where>
428 + </sql>
429 + <sql id="Update_By_Example_Where_Clause">
430 + <where>
431 + <foreach collection="example.oredCriteria" item="criteria" separator="or">
432 + <if test="criteria.valid">
433 + <trim prefix="(" prefixOverrides="and" suffix=")">
434 + <foreach collection="criteria.criteria" item="criterion">
435 + <choose>
436 + <when test="criterion.noValue">
437 + and ${criterion.condition}
438 + </when>
439 + <when test="criterion.singleValue">
440 + and ${criterion.condition} #{criterion.value}
441 + </when>
442 + <when test="criterion.betweenValue">
443 + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
444 + </when>
445 + <when test="criterion.listValue">
446 + and ${criterion.condition}
447 + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
448 + #{listItem}
449 + </foreach>
450 + </when>
451 + </choose>
452 + </foreach>
453 + </trim>
454 + </if>
455 + </foreach>
456 + </where>
457 + </sql>
458 + <sql id="Base_Column_List">
459 + ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, CREATE_TIME,
460 + CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
461 + </sql>
462 + <select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.DictionaryExample" resultMap="BaseResultMap">
463 + <include refid="OracleDialectPrefix" />
464 + select
465 + <if test="distinct">
466 + distinct
467 + </if>
468 + 'true' as QUERYID,
469 + <include refid="Base_Column_List" />
470 + from T_BI_DICTIONARY
471 + <if test="_parameter != null">
472 + <include refid="Example_Where_Clause" />
473 + </if>
474 + <if test="orderByClause != null">
475 + order by ${orderByClause}
476 + </if>
477 + <include refid="OracleDialectSuffix" />
478 + </select>
479 + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
480 + select
481 + <include refid="Base_Column_List" />
482 + from T_BI_DICTIONARY
483 + where ID = #{id,jdbcType=NUMERIC}
484 + </select>
485 + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
486 + delete from T_BI_DICTIONARY
487 + where ID = #{id,jdbcType=NUMERIC}
488 + </delete>
489 + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.DictionaryExample">
490 + delete from T_BI_DICTIONARY
491 + <if test="_parameter != null">
492 + <include refid="Example_Where_Clause" />
493 + </if>
494 + </delete>
495 + <insert id="insert" parameterType="com.fedex.connect.common.model.sys.Dictionary">
496 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
497 + SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
498 + </selectKey>
499 + insert into T_BI_DICTIONARY (ID, CODE, ENGLISH_NAME,
500 + DESCRIPTION, STATUS, PARENT_ID,
501 + EXT1, EXT2, EXT3, CREATE_TIME,
502 + CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME,
503 + MODIFY_USER_ID, MODIFY_USER_NAME)
504 + values (#{id,jdbcType=NUMERIC}, #{code,jdbcType=VARCHAR}, #{englishName,jdbcType=VARCHAR},
505 + #{description,jdbcType=VARCHAR}, #{status,jdbcType=FLOAT}, #{parentId,jdbcType=VARCHAR},
506 + #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
507 + #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
508 + #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR})
509 + </insert>
510 + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.Dictionary">
511 + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
512 + SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL
513 + </selectKey>
514 + insert into T_BI_DICTIONARY
515 + <trim prefix="(" suffix=")" suffixOverrides=",">
516 + ID,
517 + <if test="code != null">
518 + CODE,
519 + </if>
520 + <if test="englishName != null">
521 + ENGLISH_NAME,
522 + </if>
523 + <if test="description != null">
524 + DESCRIPTION,
525 + </if>
526 + <if test="status != null">
527 + STATUS,
528 + </if>
529 + <if test="parentId != null">
530 + PARENT_ID,
531 + </if>
532 + <if test="ext1 != null">
533 + EXT1,
534 + </if>
535 + <if test="ext2 != null">
536 + EXT2,
537 + </if>
538 + <if test="ext3 != null">
539 + EXT3,
540 + </if>
541 + <if test="createTime != null">
542 + CREATE_TIME,
543 + </if>
544 + <if test="createUserId != null">
545 + CREATE_USER_ID,
546 + </if>
547 + <if test="createUserName != null">
548 + CREATE_USER_NAME,
549 + </if>
550 + <if test="modifyTime != null">
551 + MODIFY_TIME,
552 + </if>
553 + <if test="modifyUserId != null">
554 + MODIFY_USER_ID,
555 + </if>
556 + <if test="modifyUserName != null">
557 + MODIFY_USER_NAME,
558 + </if>
559 + </trim>
560 + <trim prefix="values (" suffix=")" suffixOverrides=",">
561 + #{id,jdbcType=NUMERIC},
562 + <if test="code != null">
563 + #{code,jdbcType=VARCHAR},
564 + </if>
565 + <if test="englishName != null">
566 + #{englishName,jdbcType=VARCHAR},
567 + </if>
568 + <if test="description != null">
569 + #{description,jdbcType=VARCHAR},
570 + </if>
571 + <if test="status != null">
572 + #{status,jdbcType=FLOAT},
573 + </if>
574 + <if test="parentId != null">
575 + #{parentId,jdbcType=VARCHAR},
576 + </if>
577 + <if test="ext1 != null">
578 + #{ext1,jdbcType=VARCHAR},
579 + </if>
580 + <if test="ext2 != null">
581 + #{ext2,jdbcType=VARCHAR},
582 + </if>
583 + <if test="ext3 != null">
584 + #{ext3,jdbcType=VARCHAR},
585 + </if>
586 + <if test="createTime != null">
587 + #{createTime,jdbcType=TIMESTAMP},
588 + </if>
589 + <if test="createUserId != null">
590 + #{createUserId,jdbcType=NUMERIC},
591 + </if>
592 + <if test="createUserName != null">
593 + #{createUserName,jdbcType=VARCHAR},
594 + </if>
595 + <if test="modifyTime != null">
596 + #{modifyTime,jdbcType=TIMESTAMP},
597 + </if>
598 + <if test="modifyUserId != null">
599 + #{modifyUserId,jdbcType=NUMERIC},
600 + </if>
601 + <if test="modifyUserName != null">
602 + #{modifyUserName,jdbcType=VARCHAR},
603 + </if>
604 + </trim>
605 + </insert>
606 + <select id="countByExample" parameterType="com.fedex.connect.common.model.sys.DictionaryExample" resultType="java.lang.Long">
607 + select count(*) from T_BI_DICTIONARY
608 + <if test="_parameter != null">
609 + <include refid="Example_Where_Clause" />
610 + </if>
611 + </select>
612 + <update id="updateByExampleSelective" parameterType="map">
613 + update T_BI_DICTIONARY
614 + <set>
615 + <if test="record.id != null">
616 + ID = #{record.id,jdbcType=NUMERIC},
617 + </if>
618 + <if test="record.code != null">
619 + CODE = #{record.code,jdbcType=VARCHAR},
620 + </if>
621 + <if test="record.englishName != null">
622 + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
623 + </if>
624 + <if test="record.description != null">
625 + DESCRIPTION = #{record.description,jdbcType=VARCHAR},
626 + </if>
627 + <if test="record.status != null">
628 + STATUS = #{record.status,jdbcType=FLOAT},
629 + </if>
630 + <if test="record.parentId != null">
631 + PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
632 + </if>
633 + <if test="record.ext1 != null">
634 + EXT1 = #{record.ext1,jdbcType=VARCHAR},
635 + </if>
636 + <if test="record.ext2 != null">
637 + EXT2 = #{record.ext2,jdbcType=VARCHAR},
638 + </if>
639 + <if test="record.ext3 != null">
640 + EXT3 = #{record.ext3,jdbcType=VARCHAR},
641 + </if>
642 + <if test="record.createTime != null">
643 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
644 + </if>
645 + <if test="record.createUserId != null">
646 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
647 + </if>
648 + <if test="record.createUserName != null">
649 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
650 + </if>
651 + <if test="record.modifyTime != null">
652 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
653 + </if>
654 + <if test="record.modifyUserId != null">
655 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
656 + </if>
657 + <if test="record.modifyUserName != null">
658 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
659 + </if>
660 + </set>
661 + <if test="_parameter != null">
662 + <include refid="Update_By_Example_Where_Clause" />
663 + </if>
664 + </update>
665 + <update id="updateByExample" parameterType="map">
666 + update T_BI_DICTIONARY
667 + set ID = #{record.id,jdbcType=NUMERIC},
668 + CODE = #{record.code,jdbcType=VARCHAR},
669 + ENGLISH_NAME = #{record.englishName,jdbcType=VARCHAR},
670 + DESCRIPTION = #{record.description,jdbcType=VARCHAR},
671 + STATUS = #{record.status,jdbcType=FLOAT},
672 + PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
673 + EXT1 = #{record.ext1,jdbcType=VARCHAR},
674 + EXT2 = #{record.ext2,jdbcType=VARCHAR},
675 + EXT3 = #{record.ext3,jdbcType=VARCHAR},
676 + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
677 + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
678 + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
679 + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
680 + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
681 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}
682 + <if test="_parameter != null">
683 + <include refid="Update_By_Example_Where_Clause" />
684 + </if>
685 + </update>
686 + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.Dictionary">
687 + update T_BI_DICTIONARY
688 + <set>
689 + <if test="code != null">
690 + CODE = #{code,jdbcType=VARCHAR},
691 + </if>
692 + <if test="englishName != null">
693 + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
694 + </if>
695 + <if test="description != null">
696 + DESCRIPTION = #{description,jdbcType=VARCHAR},
697 + </if>
698 + <if test="status != null">
699 + STATUS = #{status,jdbcType=FLOAT},
700 + </if>
701 + <if test="parentId != null">
702 + PARENT_ID = #{parentId,jdbcType=VARCHAR},
703 + </if>
704 + <if test="ext1 != null">
705 + EXT1 = #{ext1,jdbcType=VARCHAR},
706 + </if>
707 + <if test="ext2 != null">
708 + EXT2 = #{ext2,jdbcType=VARCHAR},
709 + </if>
710 + <if test="ext3 != null">
711 + EXT3 = #{ext3,jdbcType=VARCHAR},
712 + </if>
713 + <if test="createTime != null">
714 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
715 + </if>
716 + <if test="createUserId != null">
717 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
718 + </if>
719 + <if test="createUserName != null">
720 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
721 + </if>
722 + <if test="modifyTime != null">
723 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
724 + </if>
725 + <if test="modifyUserId != null">
726 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
727 + </if>
728 + <if test="modifyUserName != null">
729 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
730 + </if>
731 + </set>
732 + where ID = #{id,jdbcType=NUMERIC}
733 + </update>
734 + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.Dictionary">
735 + update T_BI_DICTIONARY
736 + set CODE = #{code,jdbcType=VARCHAR},
737 + ENGLISH_NAME = #{englishName,jdbcType=VARCHAR},
738 + DESCRIPTION = #{description,jdbcType=VARCHAR},
739 + STATUS = #{status,jdbcType=FLOAT},
740 + PARENT_ID = #{parentId,jdbcType=VARCHAR},
741 + EXT1 = #{ext1,jdbcType=VARCHAR},
742 + EXT2 = #{ext2,jdbcType=VARCHAR},
743 + EXT3 = #{ext3,jdbcType=VARCHAR},
744 + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
745 + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
746 + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
747 + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
748 + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
749 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}
750 + where ID = #{id,jdbcType=NUMERIC}
751 + </update>
752 + <sql id="OracleDialectPrefix">
753 + <if test="limitStart != null and limitStart&gt;=0">
754 + select * from ( select row_.*, rownum rownum_ from (
755 + </if>
756 + </sql>
757 + <sql id="OracleDialectSuffix">
758 + <if test="limitStart != null and limitStart&gt;=0">
759 + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]>
760 + </if>
761 + </sql>
762 +</mapper>
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.io.Serializable;
4 +import java.util.Date;
5 +
6 +/**
7 + * DESC: 字典目录表
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 Double 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 String ext3;
55 +
56 + /**
57 + * 创建时间
58 + */
59 + private Date createTime;
60 +
61 + /**
62 + * 创建人ID
63 + */
64 + private Long createUserId;
65 +
66 + /**
67 + * 创建人名称
68 + */
69 + private String createUserName;
70 +
71 + /**
72 + * 修改时间
73 + */
74 + private Date modifyTime;
75 +
76 + /**
77 + * 修改人ID
78 + */
79 + private Long modifyUserId;
80 +
81 + /**
82 + * 修改人名称
83 + */
84 + private String modifyUserName;
85 +
86 + private static final long serialVersionUID = 1L;
87 +
88 + public Long getId() {
89 + return id;
90 + }
91 +
92 + public void setId(Long id) {
93 + this.id = id;
94 + }
95 +
96 + public String getCode() {
97 + return code;
98 + }
99 +
100 + public void setCode(String code) {
101 + this.code = code == null ? null : code.trim();
102 + }
103 +
104 + public String getEnglishName() {
105 + return englishName;
106 + }
107 +
108 + public void setEnglishName(String englishName) {
109 + this.englishName = englishName == null ? null : englishName.trim();
110 + }
111 +
112 + public String getDescription() {
113 + return description;
114 + }
115 +
116 + public void setDescription(String description) {
117 + this.description = description == null ? null : description.trim();
118 + }
119 +
120 + public Double getStatus() {
121 + return status;
122 + }
123 +
124 + public void setStatus(Double status) {
125 + this.status = status;
126 + }
127 +
128 + public String getParentId() {
129 + return parentId;
130 + }
131 +
132 + public void setParentId(String parentId) {
133 + this.parentId = parentId == null ? null : parentId.trim();
134 + }
135 +
136 + public String getExt1() {
137 + return ext1;
138 + }
139 +
140 + public void setExt1(String ext1) {
141 + this.ext1 = ext1 == null ? null : ext1.trim();
142 + }
143 +
144 + public String getExt2() {
145 + return ext2;
146 + }
147 +
148 + public void setExt2(String ext2) {
149 + this.ext2 = ext2 == null ? null : ext2.trim();
150 + }
151 +
152 + public String getExt3() {
153 + return ext3;
154 + }
155 +
156 + public void setExt3(String ext3) {
157 + this.ext3 = ext3 == null ? null : ext3.trim();
158 + }
159 +
160 + public Date getCreateTime() {
161 + return createTime;
162 + }
163 +
164 + public void setCreateTime(Date createTime) {
165 + this.createTime = createTime;
166 + }
167 +
168 + public Long getCreateUserId() {
169 + return createUserId;
170 + }
171 +
172 + public void setCreateUserId(Long createUserId) {
173 + this.createUserId = createUserId;
174 + }
175 +
176 + public String getCreateUserName() {
177 + return createUserName;
178 + }
179 +
180 + public void setCreateUserName(String createUserName) {
181 + this.createUserName = createUserName == null ? null : createUserName.trim();
182 + }
183 +
184 + public Date getModifyTime() {
185 + return modifyTime;
186 + }
187 +
188 + public void setModifyTime(Date modifyTime) {
189 + this.modifyTime = modifyTime;
190 + }
191 +
192 + public Long getModifyUserId() {
193 + return modifyUserId;
194 + }
195 +
196 + public void setModifyUserId(Long modifyUserId) {
197 + this.modifyUserId = modifyUserId;
198 + }
199 +
200 + public String getModifyUserName() {
201 + return modifyUserName;
202 + }
203 +
204 + public void setModifyUserName(String modifyUserName) {
205 + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
206 + }
207 +
208 + @Override
209 + public String toString() {
210 + StringBuilder sb = new StringBuilder();
211 + sb.append(getClass().getSimpleName());
212 + sb.append(" [");
213 + sb.append("Hash = ").append(hashCode());
214 + sb.append(", id=").append(id);
215 + sb.append(", code=").append(code);
216 + sb.append(", englishName=").append(englishName);
217 + sb.append(", description=").append(description);
218 + sb.append(", status=").append(status);
219 + sb.append(", parentId=").append(parentId);
220 + sb.append(", ext1=").append(ext1);
221 + sb.append(", ext2=").append(ext2);
222 + sb.append(", ext3=").append(ext3);
223 + sb.append(", createTime=").append(createTime);
224 + sb.append(", createUserId=").append(createUserId);
225 + sb.append(", createUserName=").append(createUserName);
226 + sb.append(", modifyTime=").append(modifyTime);
227 + sb.append(", modifyUserId=").append(modifyUserId);
228 + sb.append(", modifyUserName=").append(modifyUserName);
229 + sb.append(", serialVersionUID=").append(serialVersionUID);
230 + sb.append("]");
231 + return sb.toString();
232 + }
233 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.fedex.connect.common.model.sys;
2 +
3 +import java.util.ArrayList;
4 +import java.util.Date;
5 +import java.util.List;
6 +
7 +public class 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(Double value) {
409 + addCriterion("STATUS =", value, "status");
410 + return (Criteria) this;
411 + }
412 +
413 + public Criteria andStatusNotEqualTo(Double value) {
414 + addCriterion("STATUS <>", value, "status");
415 + return (Criteria) this;
416 + }
417 +
418 + public Criteria andStatusGreaterThan(Double value) {
419 + addCriterion("STATUS >", value, "status");
420 + return (Criteria) this;
421 + }
422 +
423 + public Criteria andStatusGreaterThanOrEqualTo(Double value) {
424 + addCriterion("STATUS >=", value, "status");
425 + return (Criteria) this;
426 + }
427 +
428 + public Criteria andStatusLessThan(Double value) {
429 + addCriterion("STATUS <", value, "status");
430 + return (Criteria) this;
431 + }
432 +
433 + public Criteria andStatusLessThanOrEqualTo(Double value) {
434 + addCriterion("STATUS <=", value, "status");
435 + return (Criteria) this;
436 + }
437 +
438 + public Criteria andStatusIn(List<Double> values) {
439 + addCriterion("STATUS in", values, "status");
440 + return (Criteria) this;
441 + }
442 +
443 + public Criteria andStatusNotIn(List<Double> values) {
444 + addCriterion("STATUS not in", values, "status");
445 + return (Criteria) this;
446 + }
447 +
448 + public Criteria andStatusBetween(Double value1, Double value2) {
449 + addCriterion("STATUS between", value1, value2, "status");
450 + return (Criteria) this;
451 + }
452 +
453 + public Criteria andStatusNotBetween(Double value1, Double 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(String value) {
679 + addCriterion("EXT3 =", value, "ext3");
680 + return (Criteria) this;
681 + }
682 +
683 + public Criteria andExt3NotEqualTo(String value) {
684 + addCriterion("EXT3 <>", value, "ext3");
685 + return (Criteria) this;
686 + }
687 +
688 + public Criteria andExt3GreaterThan(String value) {
689 + addCriterion("EXT3 >", value, "ext3");
690 + return (Criteria) this;
691 + }
692 +
693 + public Criteria andExt3GreaterThanOrEqualTo(String value) {
694 + addCriterion("EXT3 >=", value, "ext3");
695 + return (Criteria) this;
696 + }
697 +
698 + public Criteria andExt3LessThan(String value) {
699 + addCriterion("EXT3 <", value, "ext3");
700 + return (Criteria) this;
701 + }
702 +
703 + public Criteria andExt3LessThanOrEqualTo(String value) {
704 + addCriterion("EXT3 <=", value, "ext3");
705 + return (Criteria) this;
706 + }
707 +
708 + public Criteria andExt3Like(String value) {
709 + addCriterion("EXT3 like", value, "ext3");
710 + return (Criteria) this;
711 + }
712 +
713 + public Criteria andExt3NotLike(String value) {
714 + addCriterion("EXT3 not like", value, "ext3");
715 + return (Criteria) this;
716 + }
717 +
718 + public Criteria andExt3In(List<String> values) {
719 + addCriterion("EXT3 in", values, "ext3");
720 + return (Criteria) this;
721 + }
722 +
723 + public Criteria andExt3NotIn(List<String> values) {
724 + addCriterion("EXT3 not in", values, "ext3");
725 + return (Criteria) this;
726 + }
727 +
728 + public Criteria andExt3Between(String value1, String value2) {
729 + addCriterion("EXT3 between", value1, value2, "ext3");
730 + return (Criteria) this;
731 + }
732 +
733 + public Criteria andExt3NotBetween(String value1, String value2) {
734 + addCriterion("EXT3 not between", value1, value2, "ext3");
735 + return (Criteria) this;
736 + }
737 +
738 + public Criteria andCreateTimeIsNull() {
739 + addCriterion("CREATE_TIME is null");
740 + return (Criteria) this;
741 + }
742 +
743 + public Criteria andCreateTimeIsNotNull() {
744 + addCriterion("CREATE_TIME is not null");
745 + return (Criteria) this;
746 + }
747 +
748 + public Criteria andCreateTimeEqualTo(Date value) {
749 + addCriterion("CREATE_TIME =", value, "createTime");
750 + return (Criteria) this;
751 + }
752 +
753 + public Criteria andCreateTimeNotEqualTo(Date value) {
754 + addCriterion("CREATE_TIME <>", value, "createTime");
755 + return (Criteria) this;
756 + }
757 +
758 + public Criteria andCreateTimeGreaterThan(Date value) {
759 + addCriterion("CREATE_TIME >", value, "createTime");
760 + return (Criteria) this;
761 + }
762 +
763 + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
764 + addCriterion("CREATE_TIME >=", value, "createTime");
765 + return (Criteria) this;
766 + }
767 +
768 + public Criteria andCreateTimeLessThan(Date value) {
769 + addCriterion("CREATE_TIME <", value, "createTime");
770 + return (Criteria) this;
771 + }
772 +
773 + public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
774 + addCriterion("CREATE_TIME <=", value, "createTime");
775 + return (Criteria) this;
776 + }
777 +
778 + public Criteria andCreateTimeIn(List<Date> values) {
779 + addCriterion("CREATE_TIME in", values, "createTime");
780 + return (Criteria) this;
781 + }
782 +
783 + public Criteria andCreateTimeNotIn(List<Date> values) {
784 + addCriterion("CREATE_TIME not in", values, "createTime");
785 + return (Criteria) this;
786 + }
787 +
788 + public Criteria andCreateTimeBetween(Date value1, Date value2) {
789 + addCriterion("CREATE_TIME between", value1, value2, "createTime");
790 + return (Criteria) this;
791 + }
792 +
793 + public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
794 + addCriterion("CREATE_TIME not between", value1, value2, "createTime");
795 + return (Criteria) this;
796 + }
797 +
798 + public Criteria andCreateUserIdIsNull() {
799 + addCriterion("CREATE_USER_ID is null");
800 + return (Criteria) this;
801 + }
802 +
803 + public Criteria andCreateUserIdIsNotNull() {
804 + addCriterion("CREATE_USER_ID is not null");
805 + return (Criteria) this;
806 + }
807 +
808 + public Criteria andCreateUserIdEqualTo(Long value) {
809 + addCriterion("CREATE_USER_ID =", value, "createUserId");
810 + return (Criteria) this;
811 + }
812 +
813 + public Criteria andCreateUserIdNotEqualTo(Long value) {
814 + addCriterion("CREATE_USER_ID <>", value, "createUserId");
815 + return (Criteria) this;
816 + }
817 +
818 + public Criteria andCreateUserIdGreaterThan(Long value) {
819 + addCriterion("CREATE_USER_ID >", value, "createUserId");
820 + return (Criteria) this;
821 + }
822 +
823 + public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
824 + addCriterion("CREATE_USER_ID >=", value, "createUserId");
825 + return (Criteria) this;
826 + }
827 +
828 + public Criteria andCreateUserIdLessThan(Long value) {
829 + addCriterion("CREATE_USER_ID <", value, "createUserId");
830 + return (Criteria) this;
831 + }
832 +
833 + public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
834 + addCriterion("CREATE_USER_ID <=", value, "createUserId");
835 + return (Criteria) this;
836 + }
837 +
838 + public Criteria andCreateUserIdIn(List<Long> values) {
839 + addCriterion("CREATE_USER_ID in", values, "createUserId");
840 + return (Criteria) this;
841 + }
842 +
843 + public Criteria andCreateUserIdNotIn(List<Long> values) {
844 + addCriterion("CREATE_USER_ID not in", values, "createUserId");
845 + return (Criteria) this;
846 + }
847 +
848 + public Criteria andCreateUserIdBetween(Long value1, Long value2) {
849 + addCriterion("CREATE_USER_ID between", value1, value2, "createUserId");
850 + return (Criteria) this;
851 + }
852 +
853 + public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
854 + addCriterion("CREATE_USER_ID not between", value1, value2, "createUserId");
855 + return (Criteria) this;
856 + }
857 +
858 + public Criteria andCreateUserNameIsNull() {
859 + addCriterion("CREATE_USER_NAME is null");
860 + return (Criteria) this;
861 + }
862 +
863 + public Criteria andCreateUserNameIsNotNull() {
864 + addCriterion("CREATE_USER_NAME is not null");
865 + return (Criteria) this;
866 + }
867 +
868 + public Criteria andCreateUserNameEqualTo(String value) {
869 + addCriterion("CREATE_USER_NAME =", value, "createUserName");
870 + return (Criteria) this;
871 + }
872 +
873 + public Criteria andCreateUserNameNotEqualTo(String value) {
874 + addCriterion("CREATE_USER_NAME <>", value, "createUserName");
875 + return (Criteria) this;
876 + }
877 +
878 + public Criteria andCreateUserNameGreaterThan(String value) {
879 + addCriterion("CREATE_USER_NAME >", value, "createUserName");
880 + return (Criteria) this;
881 + }
882 +
883 + public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
884 + addCriterion("CREATE_USER_NAME >=", value, "createUserName");
885 + return (Criteria) this;
886 + }
887 +
888 + public Criteria andCreateUserNameLessThan(String value) {
889 + addCriterion("CREATE_USER_NAME <", value, "createUserName");
890 + return (Criteria) this;
891 + }
892 +
893 + public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
894 + addCriterion("CREATE_USER_NAME <=", value, "createUserName");
895 + return (Criteria) this;
896 + }
897 +
898 + public Criteria andCreateUserNameLike(String value) {
899 + addCriterion("CREATE_USER_NAME like", value, "createUserName");
900 + return (Criteria) this;
901 + }
902 +
903 + public Criteria andCreateUserNameNotLike(String value) {
904 + addCriterion("CREATE_USER_NAME not like", value, "createUserName");
905 + return (Criteria) this;
906 + }
907 +
908 + public Criteria andCreateUserNameIn(List<String> values) {
909 + addCriterion("CREATE_USER_NAME in", values, "createUserName");
910 + return (Criteria) this;
911 + }
912 +
913 + public Criteria andCreateUserNameNotIn(List<String> values) {
914 + addCriterion("CREATE_USER_NAME not in", values, "createUserName");
915 + return (Criteria) this;
916 + }
917 +
918 + public Criteria andCreateUserNameBetween(String value1, String value2) {
919 + addCriterion("CREATE_USER_NAME between", value1, value2, "createUserName");
920 + return (Criteria) this;
921 + }
922 +
923 + public Criteria andCreateUserNameNotBetween(String value1, String value2) {
924 + addCriterion("CREATE_USER_NAME not between", value1, value2, "createUserName");
925 + return (Criteria) this;
926 + }
927 +
928 + public Criteria andModifyTimeIsNull() {
929 + addCriterion("MODIFY_TIME is null");
930 + return (Criteria) this;
931 + }
932 +
933 + public Criteria andModifyTimeIsNotNull() {
934 + addCriterion("MODIFY_TIME is not null");
935 + return (Criteria) this;
936 + }
937 +
938 + public Criteria andModifyTimeEqualTo(Date value) {
939 + addCriterion("MODIFY_TIME =", value, "modifyTime");
940 + return (Criteria) this;
941 + }
942 +
943 + public Criteria andModifyTimeNotEqualTo(Date value) {
944 + addCriterion("MODIFY_TIME <>", value, "modifyTime");
945 + return (Criteria) this;
946 + }
947 +
948 + public Criteria andModifyTimeGreaterThan(Date value) {
949 + addCriterion("MODIFY_TIME >", value, "modifyTime");
950 + return (Criteria) this;
951 + }
952 +
953 + public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
954 + addCriterion("MODIFY_TIME >=", value, "modifyTime");
955 + return (Criteria) this;
956 + }
957 +
958 + public Criteria andModifyTimeLessThan(Date value) {
959 + addCriterion("MODIFY_TIME <", value, "modifyTime");
960 + return (Criteria) this;
961 + }
962 +
963 + public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
964 + addCriterion("MODIFY_TIME <=", value, "modifyTime");
965 + return (Criteria) this;
966 + }
967 +
968 + public Criteria andModifyTimeIn(List<Date> values) {
969 + addCriterion("MODIFY_TIME in", values, "modifyTime");
970 + return (Criteria) this;
971 + }
972 +
973 + public Criteria andModifyTimeNotIn(List<Date> values) {
974 + addCriterion("MODIFY_TIME not in", values, "modifyTime");
975 + return (Criteria) this;
976 + }
977 +
978 + public Criteria andModifyTimeBetween(Date value1, Date value2) {
979 + addCriterion("MODIFY_TIME between", value1, value2, "modifyTime");
980 + return (Criteria) this;
981 + }
982 +
983 + public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
984 + addCriterion("MODIFY_TIME not between", value1, value2, "modifyTime");
985 + return (Criteria) this;
986 + }
987 +
988 + public Criteria andModifyUserIdIsNull() {
989 + addCriterion("MODIFY_USER_ID is null");
990 + return (Criteria) this;
991 + }
992 +
993 + public Criteria andModifyUserIdIsNotNull() {
994 + addCriterion("MODIFY_USER_ID is not null");
995 + return (Criteria) this;
996 + }
997 +
998 + public Criteria andModifyUserIdEqualTo(Long value) {
999 + addCriterion("MODIFY_USER_ID =", value, "modifyUserId");
1000 + return (Criteria) this;
1001 + }
1002 +
1003 + public Criteria andModifyUserIdNotEqualTo(Long value) {
1004 + addCriterion("MODIFY_USER_ID <>", value, "modifyUserId");
1005 + return (Criteria) this;
1006 + }
1007 +
1008 + public Criteria andModifyUserIdGreaterThan(Long value) {
1009 + addCriterion("MODIFY_USER_ID >", value, "modifyUserId");
1010 + return (Criteria) this;
1011 + }
1012 +
1013 + public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
1014 + addCriterion("MODIFY_USER_ID >=", value, "modifyUserId");
1015 + return (Criteria) this;
1016 + }
1017 +
1018 + public Criteria andModifyUserIdLessThan(Long value) {
1019 + addCriterion("MODIFY_USER_ID <", value, "modifyUserId");
1020 + return (Criteria) this;
1021 + }
1022 +
1023 + public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
1024 + addCriterion("MODIFY_USER_ID <=", value, "modifyUserId");
1025 + return (Criteria) this;
1026 + }
1027 +
1028 + public Criteria andModifyUserIdIn(List<Long> values) {
1029 + addCriterion("MODIFY_USER_ID in", values, "modifyUserId");
1030 + return (Criteria) this;
1031 + }
1032 +
1033 + public Criteria andModifyUserIdNotIn(List<Long> values) {
1034 + addCriterion("MODIFY_USER_ID not in", values, "modifyUserId");
1035 + return (Criteria) this;
1036 + }
1037 +
1038 + public Criteria andModifyUserIdBetween(Long value1, Long value2) {
1039 + addCriterion("MODIFY_USER_ID between", value1, value2, "modifyUserId");
1040 + return (Criteria) this;
1041 + }
1042 +
1043 + public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
1044 + addCriterion("MODIFY_USER_ID not between", value1, value2, "modifyUserId");
1045 + return (Criteria) this;
1046 + }
1047 +
1048 + public Criteria andModifyUserNameIsNull() {
1049 + addCriterion("MODIFY_USER_NAME is null");
1050 + return (Criteria) this;
1051 + }
1052 +
1053 + public Criteria andModifyUserNameIsNotNull() {
1054 + addCriterion("MODIFY_USER_NAME is not null");
1055 + return (Criteria) this;
1056 + }
1057 +
1058 + public Criteria andModifyUserNameEqualTo(String value) {
1059 + addCriterion("MODIFY_USER_NAME =", value, "modifyUserName");
1060 + return (Criteria) this;
1061 + }
1062 +
1063 + public Criteria andModifyUserNameNotEqualTo(String value) {
1064 + addCriterion("MODIFY_USER_NAME <>", value, "modifyUserName");
1065 + return (Criteria) this;
1066 + }
1067 +
1068 + public Criteria andModifyUserNameGreaterThan(String value) {
1069 + addCriterion("MODIFY_USER_NAME >", value, "modifyUserName");
1070 + return (Criteria) this;
1071 + }
1072 +
1073 + public Criteria andModifyUserNameGreaterThanOrEqualTo(String value) {
1074 + addCriterion("MODIFY_USER_NAME >=", value, "modifyUserName");
1075 + return (Criteria) this;
1076 + }
1077 +
1078 + public Criteria andModifyUserNameLessThan(String value) {
1079 + addCriterion("MODIFY_USER_NAME <", value, "modifyUserName");
1080 + return (Criteria) this;
1081 + }
1082 +
1083 + public Criteria andModifyUserNameLessThanOrEqualTo(String value) {
1084 + addCriterion("MODIFY_USER_NAME <=", value, "modifyUserName");
1085 + return (Criteria) this;
1086 + }
1087 +
1088 + public Criteria andModifyUserNameLike(String value) {
1089 + addCriterion("MODIFY_USER_NAME like", value, "modifyUserName");
1090 + return (Criteria) this;
1091 + }
1092 +
1093 + public Criteria andModifyUserNameNotLike(String value) {
1094 + addCriterion("MODIFY_USER_NAME not like", value, "modifyUserName");
1095 + return (Criteria) this;
1096 + }
1097 +
1098 + public Criteria andModifyUserNameIn(List<String> values) {
1099 + addCriterion("MODIFY_USER_NAME in", values, "modifyUserName");
1100 + return (Criteria) this;
1101 + }
1102 +
1103 + public Criteria andModifyUserNameNotIn(List<String> values) {
1104 + addCriterion("MODIFY_USER_NAME not in", values, "modifyUserName");
1105 + return (Criteria) this;
1106 + }
1107 +
1108 + public Criteria andModifyUserNameBetween(String value1, String value2) {
1109 + addCriterion("MODIFY_USER_NAME between", value1, value2, "modifyUserName");
1110 + return (Criteria) this;
1111 + }
1112 +
1113 + public Criteria andModifyUserNameNotBetween(String value1, String value2) {
1114 + addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName");
1115 + return (Criteria) this;
1116 + }
1117 + }
1118 +
1119 + public static class Criteria extends GeneratedCriteria {
1120 +
1121 + protected Criteria() {
1122 + super();
1123 + }
1124 + }
1125 +
1126 + public static class Criterion {
1127 + private String condition;
1128 +
1129 + private Object value;
1130 +
1131 + private Object secondValue;
1132 +
1133 + private boolean noValue;
1134 +
1135 + private boolean singleValue;
1136 +
1137 + private boolean betweenValue;
1138 +
1139 + private boolean listValue;
1140 +
1141 + private String typeHandler;
1142 +
1143 + public String getCondition() {
1144 + return condition;
1145 + }
1146 +
1147 + public Object getValue() {
1148 + return value;
1149 + }
1150 +
1151 + public Object getSecondValue() {
1152 + return secondValue;
1153 + }
1154 +
1155 + public boolean isNoValue() {
1156 + return noValue;
1157 + }
1158 +
1159 + public boolean isSingleValue() {
1160 + return singleValue;
1161 + }
1162 +
1163 + public boolean isBetweenValue() {
1164 + return betweenValue;
1165 + }
1166 +
1167 + public boolean isListValue() {
1168 + return listValue;
1169 + }
1170 +
1171 + public String getTypeHandler() {
1172 + return typeHandler;
1173 + }
1174 +
1175 + protected Criterion(String condition) {
1176 + super();
1177 + this.condition = condition;
1178 + this.typeHandler = null;
1179 + this.noValue = true;
1180 + }
1181 +
1182 + protected Criterion(String condition, Object value, String typeHandler) {
1183 + super();
1184 + this.condition = condition;
1185 + this.value = value;
1186 + this.typeHandler = typeHandler;
1187 + if (value instanceof List<?>) {
1188 + this.listValue = true;
1189 + } else {
1190 + this.singleValue = true;
1191 + }
1192 + }
1193 +
1194 + protected Criterion(String condition, Object value) {
1195 + this(condition, value, null);
1196 + }
1197 +
1198 + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
1199 + super();
1200 + this.condition = condition;
1201 + this.value = value;
1202 + this.secondValue = secondValue;
1203 + this.typeHandler = typeHandler;
1204 + this.betweenValue = true;
1205 + }
1206 +
1207 + protected Criterion(String condition, Object value, Object secondValue) {
1208 + this(condition, value, secondValue, null);
1209 + }
1210 + }
1211 +}
...\ No newline at end of file ...\ No newline at end of file
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
23 <!--数据库连接--> 23 <!--数据库连接-->
24 <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" 24 <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
25 connectionURL="jdbc:oracle:thin:@192.168.1.250:1521:orcl" 25 connectionURL="jdbc:oracle:thin:@192.168.1.250:1521:orcl"
26 - userId="icleartw" 26 + userId="iclearimp"
27 - password="icleartw"> 27 + password="iclearimp">
28 <property name="remarksReporting" value="true"></property> 28 <property name="remarksReporting" value="true"></property>
29 </jdbcConnection> 29 </jdbcConnection>
30 30
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 </sqlMapGenerator> 58 </sqlMapGenerator>
59 59
60 <!-- 生成DAO的包名和位置 --> 60 <!-- 生成DAO的包名和位置 -->
61 - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.export.repository.dao.sys" targetProject="src/main/java"> 61 + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java">
62 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> 62 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
63 <property name="enableSubPackages" value="false"/> 63 <property name="enableSubPackages" value="false"/>
64 </javaClientGenerator> 64 </javaClientGenerator>
...@@ -255,11 +255,11 @@ ...@@ -255,11 +255,11 @@
255 selectByExampleQueryId="true"> 255 selectByExampleQueryId="true">
256 <generatedKey column="ID" sqlStatement="SELECT SEQ_T_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" /> 256 <generatedKey column="ID" sqlStatement="SELECT SEQ_T_PUSH_OB_DETAIL.NEXTVAL FROM DUAL" />
257 </table>--> 257 </table>-->
258 - <table tableName="T_MAIL_RECEIPT_MATCH" domainObjectName="MailReceiptMatch" 258 + <table tableName="T_BI_DICTIONARY" domainObjectName="Dictionary"
259 enableCountByExample="true" enableUpdateByExample="true" 259 enableCountByExample="true" enableUpdateByExample="true"
260 enableDeleteByExample="true" enableSelectByExample="true" 260 enableDeleteByExample="true" enableSelectByExample="true"
261 selectByExampleQueryId="true"> 261 selectByExampleQueryId="true">
262 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_MAIL_RECEIPT_MATCH.NEXTVAL FROM DUAL" /> 262 + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL" />
263 </table> 263 </table>
264 </context> 264 </context>
265 </generatorConfiguration> 265 </generatorConfiguration>
......
...@@ -4,6 +4,13 @@ ...@@ -4,6 +4,13 @@
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion> 5 <modelVersion>4.0.0</modelVersion>
6 6
7 + <parent>
8 + <groupId>org.springframework.boot</groupId>
9 + <artifactId>spring-boot-starter-parent</artifactId>
10 + <version>2.2.5.RELEASE</version>
11 + <relativePath/>
12 + </parent>
13 +
7 <groupId>com.fedex.connect</groupId> 14 <groupId>com.fedex.connect</groupId>
8 <artifactId>kafka-cndc-server</artifactId> 15 <artifactId>kafka-cndc-server</artifactId>
9 <version>1.0.0</version> 16 <version>1.0.0</version>
......
...@@ -4,6 +4,13 @@ ...@@ -4,6 +4,13 @@
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion> 5 <modelVersion>4.0.0</modelVersion>
6 6
7 + <parent>
8 + <groupId>org.springframework.boot</groupId>
9 + <artifactId>spring-boot-starter-parent</artifactId>
10 + <version>2.2.5.RELEASE</version>
11 + <relativePath/>
12 + </parent>
13 +
7 <groupId>com.fedex.connect</groupId> 14 <groupId>com.fedex.connect</groupId>
8 <artifactId>manager-server</artifactId> 15 <artifactId>manager-server</artifactId>
9 <version>1.0.0</version> 16 <version>1.0.0</version>
......
...@@ -4,6 +4,13 @@ ...@@ -4,6 +4,13 @@
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion> 5 <modelVersion>4.0.0</modelVersion>
6 6
7 + <parent>
8 + <groupId>org.springframework.boot</groupId>
9 + <artifactId>spring-boot-starter-parent</artifactId>
10 + <version>2.2.5.RELEASE</version>
11 + <relativePath/>
12 + </parent>
13 +
7 <groupId>com.fedex.connect</groupId> 14 <groupId>com.fedex.connect</groupId>
8 <artifactId>task-schedule</artifactId> 15 <artifactId>task-schedule</artifactId>
9 <version>1.0.0</version> 16 <version>1.0.0</version>
......