Showing
17 changed files
with
45 additions
and
499 deletions
| 1 | -package com.fedex.connect.common.dao.base; | 1 | +package com.fedex.connect.common.dao.bi; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.base.DictionaryEntries; | 3 | +import com.fedex.connect.common.model.bi.DictionaryEntries; |
| 4 | -import com.fedex.connect.common.model.base.DictionaryEntriesExample; | 4 | +import com.fedex.connect.common.model.bi.DictionaryEntriesExample; |
| 5 | import org.apache.ibatis.annotations.Param; | 5 | import org.apache.ibatis.annotations.Param; |
| 6 | 6 | ||
| 7 | import java.util.List; | 7 | import java.util.List; | ... | ... |
| 1 | -package com.fedex.connect.common.dao.base; | 1 | +package com.fedex.connect.common.dao.bi; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.base.Dictionary; | 3 | +import com.fedex.connect.common.model.bi.Dictionary; |
| 4 | -import com.fedex.connect.common.model.base.DictionaryExample; | 4 | +import com.fedex.connect.common.model.bi.DictionaryExample; |
| 5 | import java.util.List; | 5 | import java.util.List; |
| 6 | import org.apache.ibatis.annotations.Param; | 6 | import org.apache.ibatis.annotations.Param; |
| 7 | 7 | ... | ... |
| 1 | -package com.fedex.connect.common.dao.sys; | ||
| 2 | - | ||
| 3 | -import com.fedex.connect.common.model.sys.KafkaStorageHistory; | ||
| 4 | -import com.fedex.connect.common.model.sys.KafkaStorageHistoryExample; | ||
| 5 | -import java.util.List; | ||
| 6 | -import org.apache.ibatis.annotations.Param; | ||
| 7 | - | ||
| 8 | -public interface KafkaStorageHistoryMapper { | ||
| 9 | - long countByExample(KafkaStorageHistoryExample example); | ||
| 10 | - | ||
| 11 | - int deleteByExample(KafkaStorageHistoryExample example); | ||
| 12 | - | ||
| 13 | - int deleteByPrimaryKey(Long id); | ||
| 14 | - | ||
| 15 | - int insert(KafkaStorageHistory record); | ||
| 16 | - | ||
| 17 | - int insertSelective(KafkaStorageHistory record); | ||
| 18 | - | ||
| 19 | - List<KafkaStorageHistory> selectByExampleWithBLOBs(KafkaStorageHistoryExample example); | ||
| 20 | - | ||
| 21 | - List<KafkaStorageHistory> selectByExample(KafkaStorageHistoryExample example); | ||
| 22 | - | ||
| 23 | - KafkaStorageHistory selectByPrimaryKey(Long id); | ||
| 24 | - | ||
| 25 | - int updateByExampleSelective(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example); | ||
| 26 | - | ||
| 27 | - int updateByExampleWithBLOBs(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example); | ||
| 28 | - | ||
| 29 | - int updateByExample(@Param("record") KafkaStorageHistory record, @Param("example") KafkaStorageHistoryExample example); | ||
| 30 | - | ||
| 31 | - int updateByPrimaryKeySelective(KafkaStorageHistory record); | ||
| 32 | - | ||
| 33 | - int updateByPrimaryKeyWithBLOBs(KafkaStorageHistory record); | ||
| 34 | - | ||
| 35 | - int updateByPrimaryKey(KafkaStorageHistory record); | ||
| 36 | -} | ||
| ... | \ 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.KafkaTemporaryStorage; | ||
| 4 | -import com.fedex.connect.common.model.sys.KafkaTemporaryStorageExample; | ||
| 5 | -import java.util.List; | ||
| 6 | -import org.apache.ibatis.annotations.Param; | ||
| 7 | - | ||
| 8 | -public interface KafkaTemporaryStorageMapper { | ||
| 9 | - long countByExample(KafkaTemporaryStorageExample example); | ||
| 10 | - | ||
| 11 | - int deleteByExample(KafkaTemporaryStorageExample example); | ||
| 12 | - | ||
| 13 | - int deleteByPrimaryKey(Long id); | ||
| 14 | - | ||
| 15 | - int insert(KafkaTemporaryStorage record); | ||
| 16 | - | ||
| 17 | - int insertSelective(KafkaTemporaryStorage record); | ||
| 18 | - | ||
| 19 | - List<KafkaTemporaryStorage> selectByExampleWithBLOBs(KafkaTemporaryStorageExample example); | ||
| 20 | - | ||
| 21 | - List<KafkaTemporaryStorage> selectByExample(KafkaTemporaryStorageExample example); | ||
| 22 | - | ||
| 23 | - KafkaTemporaryStorage selectByPrimaryKey(Long id); | ||
| 24 | - | ||
| 25 | - int updateByExampleSelective(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example); | ||
| 26 | - | ||
| 27 | - int updateByExampleWithBLOBs(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example); | ||
| 28 | - | ||
| 29 | - int updateByExample(@Param("record") KafkaTemporaryStorage record, @Param("example") KafkaTemporaryStorageExample example); | ||
| 30 | - | ||
| 31 | - int updateByPrimaryKeySelective(KafkaTemporaryStorage record); | ||
| 32 | - | ||
| 33 | - int updateByPrimaryKeyWithBLOBs(KafkaTemporaryStorage record); | ||
| 34 | - | ||
| 35 | - int updateByPrimaryKey(KafkaTemporaryStorage record); | ||
| 36 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 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"> | 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"> | 3 | +<mapper namespace="com.fedex.connect.common.dao.bi.DictionaryEntriesMapper"> |
| 4 | - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.DictionaryEntries"> | 4 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> | 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> |
| 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> | 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> |
| 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> | 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> |
| ... | @@ -85,7 +85,7 @@ | ... | @@ -85,7 +85,7 @@ |
| 85 | EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, | 85 | EXT1, EXT2, EXT3, EXT4, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, |
| 86 | MODIFY_USER_ID, MODIFY_USER_NAME | 86 | MODIFY_USER_ID, MODIFY_USER_NAME |
| 87 | </sql> | 87 | </sql> |
| 88 | - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultMap="BaseResultMap"> | 88 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample" resultMap="BaseResultMap"> |
| 89 | <include refid="OracleDialectPrefix" /> | 89 | <include refid="OracleDialectPrefix" /> |
| 90 | select | 90 | select |
| 91 | <if test="distinct"> | 91 | <if test="distinct"> |
| ... | @@ -112,13 +112,13 @@ | ... | @@ -112,13 +112,13 @@ |
| 112 | delete from T_BI_DICTIONARY_ENTRIES | 112 | delete from T_BI_DICTIONARY_ENTRIES |
| 113 | where ID = #{id,jdbcType=NUMERIC} | 113 | where ID = #{id,jdbcType=NUMERIC} |
| 114 | </delete> | 114 | </delete> |
| 115 | - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample"> | 115 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample"> |
| 116 | delete from T_BI_DICTIONARY_ENTRIES | 116 | delete from T_BI_DICTIONARY_ENTRIES |
| 117 | <if test="_parameter != null"> | 117 | <if test="_parameter != null"> |
| 118 | <include refid="Example_Where_Clause" /> | 118 | <include refid="Example_Where_Clause" /> |
| 119 | </if> | 119 | </if> |
| 120 | </delete> | 120 | </delete> |
| 121 | - <insert id="insert" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 121 | + <insert id="insert" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 122 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 122 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 123 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL | 123 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL |
| 124 | </selectKey> | 124 | </selectKey> |
| ... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
| 137 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} | 137 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} |
| 138 | ) | 138 | ) |
| 139 | </insert> | 139 | </insert> |
| 140 | - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 140 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 141 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 141 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 142 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL | 142 | SELECT SEQ_T_BI_DICTIONARY_ENTRIES.NEXTVAL FROM DUAL |
| 143 | </selectKey> | 143 | </selectKey> |
| ... | @@ -257,7 +257,7 @@ | ... | @@ -257,7 +257,7 @@ |
| 257 | </if> | 257 | </if> |
| 258 | </trim> | 258 | </trim> |
| 259 | </insert> | 259 | </insert> |
| 260 | - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryEntriesExample" resultType="java.lang.Long"> | 260 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryEntriesExample" resultType="java.lang.Long"> |
| 261 | select count(*) from T_BI_DICTIONARY_ENTRIES | 261 | select count(*) from T_BI_DICTIONARY_ENTRIES |
| 262 | <if test="_parameter != null"> | 262 | <if test="_parameter != null"> |
| 263 | <include refid="Example_Where_Clause" /> | 263 | <include refid="Example_Where_Clause" /> |
| ... | @@ -353,7 +353,7 @@ | ... | @@ -353,7 +353,7 @@ |
| 353 | <include refid="Update_By_Example_Where_Clause" /> | 353 | <include refid="Update_By_Example_Where_Clause" /> |
| 354 | </if> | 354 | </if> |
| 355 | </update> | 355 | </update> |
| 356 | - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 356 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 357 | update T_BI_DICTIONARY_ENTRIES | 357 | update T_BI_DICTIONARY_ENTRIES |
| 358 | <set> | 358 | <set> |
| 359 | <if test="code != null"> | 359 | <if test="code != null"> |
| ... | @@ -413,7 +413,7 @@ | ... | @@ -413,7 +413,7 @@ |
| 413 | </set> | 413 | </set> |
| 414 | where ID = #{id,jdbcType=NUMERIC} | 414 | where ID = #{id,jdbcType=NUMERIC} |
| 415 | </update> | 415 | </update> |
| 416 | - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.DictionaryEntries"> | 416 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.bi.DictionaryEntries"> |
| 417 | update T_BI_DICTIONARY_ENTRIES | 417 | update T_BI_DICTIONARY_ENTRIES |
| 418 | set CODE = #{code,jdbcType=VARCHAR}, | 418 | set CODE = #{code,jdbcType=VARCHAR}, |
| 419 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | 419 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ... | ... |
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 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"> | 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"> | 3 | +<mapper namespace="com.fedex.connect.common.dao.bi.DictionaryMapper"> |
| 4 | - <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.base.Dictionary"> | 4 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.bi.Dictionary"> |
| 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> | 5 | <id column="ID" jdbcType="NUMERIC" property="id" /> |
| 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> | 6 | <result column="CODE" jdbcType="VARCHAR" property="code" /> |
| 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> | 7 | <result column="ENGLISH_NAME" jdbcType="VARCHAR" property="englishName" /> |
| ... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
| 81 | ID, CODE, ENGLISH_NAME, DESCRIPTION, STATUS, PARENT_ID, EXT1, EXT2, EXT3, EXT4, CREATE_TIME, | 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 | 82 | CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME |
| 83 | </sql> | 83 | </sql> |
| 84 | - <select id="selectByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultMap="BaseResultMap"> | 84 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample" resultMap="BaseResultMap"> |
| 85 | <include refid="OracleDialectPrefix" /> | 85 | <include refid="OracleDialectPrefix" /> |
| 86 | select | 86 | select |
| 87 | <if test="distinct"> | 87 | <if test="distinct"> |
| ... | @@ -108,13 +108,13 @@ | ... | @@ -108,13 +108,13 @@ |
| 108 | delete from T_BI_DICTIONARY | 108 | delete from T_BI_DICTIONARY |
| 109 | where ID = #{id,jdbcType=NUMERIC} | 109 | where ID = #{id,jdbcType=NUMERIC} |
| 110 | </delete> | 110 | </delete> |
| 111 | - <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample"> | 111 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample"> |
| 112 | delete from T_BI_DICTIONARY | 112 | delete from T_BI_DICTIONARY |
| 113 | <if test="_parameter != null"> | 113 | <if test="_parameter != null"> |
| 114 | <include refid="Example_Where_Clause" /> | 114 | <include refid="Example_Where_Clause" /> |
| 115 | </if> | 115 | </if> |
| 116 | </delete> | 116 | </delete> |
| 117 | - <insert id="insert" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 117 | + <insert id="insert" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 118 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 118 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 119 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | 119 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL |
| 120 | </selectKey> | 120 | </selectKey> |
| ... | @@ -131,7 +131,7 @@ | ... | @@ -131,7 +131,7 @@ |
| 131 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} | 131 | #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR} |
| 132 | ) | 132 | ) |
| 133 | </insert> | 133 | </insert> |
| 134 | - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 134 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 135 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | 135 | <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> |
| 136 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL | 136 | SELECT SEQ_T_BI_DICTIONARY.NEXTVAL FROM DUAL |
| 137 | </selectKey> | 137 | </selectKey> |
| ... | @@ -233,7 +233,7 @@ | ... | @@ -233,7 +233,7 @@ |
| 233 | </if> | 233 | </if> |
| 234 | </trim> | 234 | </trim> |
| 235 | </insert> | 235 | </insert> |
| 236 | - <select id="countByExample" parameterType="com.fedex.connect.common.model.base.DictionaryExample" resultType="java.lang.Long"> | 236 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.bi.DictionaryExample" resultType="java.lang.Long"> |
| 237 | select count(*) from T_BI_DICTIONARY | 237 | select count(*) from T_BI_DICTIONARY |
| 238 | <if test="_parameter != null"> | 238 | <if test="_parameter != null"> |
| 239 | <include refid="Example_Where_Clause" /> | 239 | <include refid="Example_Where_Clause" /> |
| ... | @@ -317,7 +317,7 @@ | ... | @@ -317,7 +317,7 @@ |
| 317 | <include refid="Update_By_Example_Where_Clause" /> | 317 | <include refid="Update_By_Example_Where_Clause" /> |
| 318 | </if> | 318 | </if> |
| 319 | </update> | 319 | </update> |
| 320 | - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 320 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 321 | update T_BI_DICTIONARY | 321 | update T_BI_DICTIONARY |
| 322 | <set> | 322 | <set> |
| 323 | <if test="code != null"> | 323 | <if test="code != null"> |
| ... | @@ -368,7 +368,7 @@ | ... | @@ -368,7 +368,7 @@ |
| 368 | </set> | 368 | </set> |
| 369 | where ID = #{id,jdbcType=NUMERIC} | 369 | where ID = #{id,jdbcType=NUMERIC} |
| 370 | </update> | 370 | </update> |
| 371 | - <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.base.Dictionary"> | 371 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.bi.Dictionary"> |
| 372 | update T_BI_DICTIONARY | 372 | update T_BI_DICTIONARY |
| 373 | set CODE = #{code,jdbcType=VARCHAR}, | 373 | set CODE = #{code,jdbcType=VARCHAR}, |
| 374 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | 374 | ENGLISH_NAME = #{englishName,jdbcType=VARCHAR}, | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
server/common-dao/src/main/java/com/fedex/connect/common/model/sys/KafkaStorageHistory.java
deleted
100644 → 0
| 1 | -package com.fedex.connect.common.model.sys; | ||
| 2 | - | ||
| 3 | -import java.io.Serializable; | ||
| 4 | -import java.util.Date; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * DESC: kafka数据历史表 | ||
| 8 | - * TABLE: T_KAFKA_STORAGE_HISTORY | ||
| 9 | - */ | ||
| 10 | -public class KafkaStorageHistory implements Serializable { | ||
| 11 | - /** | ||
| 12 | - * ID,自动增加 | ||
| 13 | - */ | ||
| 14 | - private Long id; | ||
| 15 | - | ||
| 16 | - /** | ||
| 17 | - * 由发送方定义的序列号,唯一 UUID JSON自动生成 | ||
| 18 | - */ | ||
| 19 | - private String messageId; | ||
| 20 | - | ||
| 21 | - /** | ||
| 22 | - * 消息代码/类型 | ||
| 23 | - */ | ||
| 24 | - private String messageCode; | ||
| 25 | - | ||
| 26 | - /** | ||
| 27 | - * 发送程序ID | ||
| 28 | - */ | ||
| 29 | - private String senderId; | ||
| 30 | - | ||
| 31 | - /** | ||
| 32 | - * 接受程序ID | ||
| 33 | - */ | ||
| 34 | - private String receiverId; | ||
| 35 | - | ||
| 36 | - /** | ||
| 37 | - * DM发送时间 | ||
| 38 | - */ | ||
| 39 | - private Date sendTime; | ||
| 40 | - | ||
| 41 | - /** | ||
| 42 | - * 运单号 | ||
| 43 | - */ | ||
| 44 | - private String consignmentCode; | ||
| 45 | - | ||
| 46 | - /** | ||
| 47 | - * 记录处理次数 | ||
| 48 | - */ | ||
| 49 | - private Long frequency; | ||
| 50 | - | ||
| 51 | - /** | ||
| 52 | - * 数据状态(0:待处理,1:已处理,2:处理失败) | ||
| 53 | - */ | ||
| 54 | - private Long status; | ||
| 55 | - | ||
| 56 | - /** | ||
| 57 | - * 备注,记录错误信息 | ||
| 58 | - */ | ||
| 59 | - private String remark; | ||
| 60 | - | ||
| 61 | - /** | ||
| 62 | - * 系统入库创建时间 | ||
| 63 | - */ | ||
| 64 | - private Date createTime; | ||
| 65 | - | ||
| 66 | - /** | ||
| 67 | - * 消息体(Json字符串) | ||
| 68 | - */ | ||
| 69 | - private String data; | ||
| 70 | - | ||
| 71 | - private static final long serialVersionUID = 1L; | ||
| 72 | - | ||
| 73 | - public Long getId() { | ||
| 74 | - return id; | ||
| 75 | - } | ||
| 76 | - | ||
| 77 | - public void setId(Long id) { | ||
| 78 | - this.id = id; | ||
| 79 | - } | ||
| 80 | - | ||
| 81 | - public String getMessageId() { | ||
| 82 | - return messageId; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - public void setMessageId(String messageId) { | ||
| 86 | - this.messageId = messageId == null ? null : messageId.trim(); | ||
| 87 | - } | ||
| 88 | - | ||
| 89 | - public String getMessageCode() { | ||
| 90 | - return messageCode; | ||
| 91 | - } | ||
| 92 | - | ||
| 93 | - public void setMessageCode(String messageCode) { | ||
| 94 | - this.messageCode = messageCode == null ? null : messageCode.trim(); | ||
| 95 | - } | ||
| 96 | - | ||
| 97 | - public String getSenderId() { | ||
| 98 | - return senderId; | ||
| 99 | - } | ||
| 100 | - | ||
| 101 | - public void setSenderId(String senderId) { | ||
| 102 | - this.senderId = senderId == null ? null : senderId.trim(); | ||
| 103 | - } | ||
| 104 | - | ||
| 105 | - public String getReceiverId() { | ||
| 106 | - return receiverId; | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - public void setReceiverId(String receiverId) { | ||
| 110 | - this.receiverId = receiverId == null ? null : receiverId.trim(); | ||
| 111 | - } | ||
| 112 | - | ||
| 113 | - public Date getSendTime() { | ||
| 114 | - return sendTime; | ||
| 115 | - } | ||
| 116 | - | ||
| 117 | - public void setSendTime(Date sendTime) { | ||
| 118 | - this.sendTime = sendTime; | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - public String getConsignmentCode() { | ||
| 122 | - return consignmentCode; | ||
| 123 | - } | ||
| 124 | - | ||
| 125 | - public void setConsignmentCode(String consignmentCode) { | ||
| 126 | - this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim(); | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - public Long getFrequency() { | ||
| 130 | - return frequency; | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public void setFrequency(Long frequency) { | ||
| 134 | - this.frequency = frequency; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public Long getStatus() { | ||
| 138 | - return status; | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - public void setStatus(Long status) { | ||
| 142 | - this.status = status; | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - public String getRemark() { | ||
| 146 | - return remark; | ||
| 147 | - } | ||
| 148 | - | ||
| 149 | - public void setRemark(String remark) { | ||
| 150 | - this.remark = remark == null ? null : remark.trim(); | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public Date getCreateTime() { | ||
| 154 | - return createTime; | ||
| 155 | - } | ||
| 156 | - | ||
| 157 | - public void setCreateTime(Date createTime) { | ||
| 158 | - this.createTime = createTime; | ||
| 159 | - } | ||
| 160 | - | ||
| 161 | - public String getData() { | ||
| 162 | - return data; | ||
| 163 | - } | ||
| 164 | - | ||
| 165 | - public void setData(String data) { | ||
| 166 | - this.data = data == null ? null : data.trim(); | ||
| 167 | - } | ||
| 168 | - | ||
| 169 | - @Override | ||
| 170 | - public String toString() { | ||
| 171 | - StringBuilder sb = new StringBuilder(); | ||
| 172 | - sb.append(getClass().getSimpleName()); | ||
| 173 | - sb.append(" ["); | ||
| 174 | - sb.append("Hash = ").append(hashCode()); | ||
| 175 | - sb.append(", id=").append(id); | ||
| 176 | - sb.append(", messageId=").append(messageId); | ||
| 177 | - sb.append(", messageCode=").append(messageCode); | ||
| 178 | - sb.append(", senderId=").append(senderId); | ||
| 179 | - sb.append(", receiverId=").append(receiverId); | ||
| 180 | - sb.append(", sendTime=").append(sendTime); | ||
| 181 | - sb.append(", consignmentCode=").append(consignmentCode); | ||
| 182 | - sb.append(", frequency=").append(frequency); | ||
| 183 | - sb.append(", status=").append(status); | ||
| 184 | - sb.append(", remark=").append(remark); | ||
| 185 | - sb.append(", createTime=").append(createTime); | ||
| 186 | - sb.append(", data=").append(data); | ||
| 187 | - sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 188 | - sb.append("]"); | ||
| 189 | - return sb.toString(); | ||
| 190 | - } | ||
| 191 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
| 1 | -package com.fedex.connect.common.model.sys; | ||
| 2 | - | ||
| 3 | -import java.io.Serializable; | ||
| 4 | -import java.util.Date; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * DESC: kafka数据临时表 | ||
| 8 | - * TABLE: T_KAFKA_TEMPORARY_STORAGE | ||
| 9 | - */ | ||
| 10 | -public class KafkaTemporaryStorage implements Serializable { | ||
| 11 | - /** | ||
| 12 | - * ID,自动增加 | ||
| 13 | - */ | ||
| 14 | - private Long id; | ||
| 15 | - | ||
| 16 | - /** | ||
| 17 | - * 由发送方定义的序列号,唯一 UUID JSON自动生成 | ||
| 18 | - */ | ||
| 19 | - private String messageId; | ||
| 20 | - | ||
| 21 | - /** | ||
| 22 | - * 消息代码/类型 | ||
| 23 | - */ | ||
| 24 | - private String messageCode; | ||
| 25 | - | ||
| 26 | - /** | ||
| 27 | - * 发送程序ID | ||
| 28 | - */ | ||
| 29 | - private String senderId; | ||
| 30 | - | ||
| 31 | - /** | ||
| 32 | - * 接受程序ID | ||
| 33 | - */ | ||
| 34 | - private String receiverId; | ||
| 35 | - | ||
| 36 | - /** | ||
| 37 | - * DM发送时间 | ||
| 38 | - */ | ||
| 39 | - private Date sendTime; | ||
| 40 | - | ||
| 41 | - /** | ||
| 42 | - * 运单号 | ||
| 43 | - */ | ||
| 44 | - private String consignmentCode; | ||
| 45 | - | ||
| 46 | - /** | ||
| 47 | - * 记录处理次数 | ||
| 48 | - */ | ||
| 49 | - private Long frequency; | ||
| 50 | - | ||
| 51 | - /** | ||
| 52 | - * 数据状态(0:待处理,1:已处理,2:处理失败) | ||
| 53 | - */ | ||
| 54 | - private Long status; | ||
| 55 | - | ||
| 56 | - /** | ||
| 57 | - * 备注,记录错误信息 | ||
| 58 | - */ | ||
| 59 | - private String remark; | ||
| 60 | - | ||
| 61 | - /** | ||
| 62 | - * 系统入库创建时间 | ||
| 63 | - */ | ||
| 64 | - private Date createTime; | ||
| 65 | - | ||
| 66 | - /** | ||
| 67 | - * 消息体(Json字符串) | ||
| 68 | - */ | ||
| 69 | - private String data; | ||
| 70 | - | ||
| 71 | - private static final long serialVersionUID = 1L; | ||
| 72 | - | ||
| 73 | - public Long getId() { | ||
| 74 | - return id; | ||
| 75 | - } | ||
| 76 | - | ||
| 77 | - public void setId(Long id) { | ||
| 78 | - this.id = id; | ||
| 79 | - } | ||
| 80 | - | ||
| 81 | - public String getMessageId() { | ||
| 82 | - return messageId; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - public void setMessageId(String messageId) { | ||
| 86 | - this.messageId = messageId == null ? null : messageId.trim(); | ||
| 87 | - } | ||
| 88 | - | ||
| 89 | - public String getMessageCode() { | ||
| 90 | - return messageCode; | ||
| 91 | - } | ||
| 92 | - | ||
| 93 | - public void setMessageCode(String messageCode) { | ||
| 94 | - this.messageCode = messageCode == null ? null : messageCode.trim(); | ||
| 95 | - } | ||
| 96 | - | ||
| 97 | - public String getSenderId() { | ||
| 98 | - return senderId; | ||
| 99 | - } | ||
| 100 | - | ||
| 101 | - public void setSenderId(String senderId) { | ||
| 102 | - this.senderId = senderId == null ? null : senderId.trim(); | ||
| 103 | - } | ||
| 104 | - | ||
| 105 | - public String getReceiverId() { | ||
| 106 | - return receiverId; | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - public void setReceiverId(String receiverId) { | ||
| 110 | - this.receiverId = receiverId == null ? null : receiverId.trim(); | ||
| 111 | - } | ||
| 112 | - | ||
| 113 | - public Date getSendTime() { | ||
| 114 | - return sendTime; | ||
| 115 | - } | ||
| 116 | - | ||
| 117 | - public void setSendTime(Date sendTime) { | ||
| 118 | - this.sendTime = sendTime; | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - public String getConsignmentCode() { | ||
| 122 | - return consignmentCode; | ||
| 123 | - } | ||
| 124 | - | ||
| 125 | - public void setConsignmentCode(String consignmentCode) { | ||
| 126 | - this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim(); | ||
| 127 | - } | ||
| 128 | - | ||
| 129 | - public Long getFrequency() { | ||
| 130 | - return frequency; | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - public void setFrequency(Long frequency) { | ||
| 134 | - this.frequency = frequency; | ||
| 135 | - } | ||
| 136 | - | ||
| 137 | - public Long getStatus() { | ||
| 138 | - return status; | ||
| 139 | - } | ||
| 140 | - | ||
| 141 | - public void setStatus(Long status) { | ||
| 142 | - this.status = status; | ||
| 143 | - } | ||
| 144 | - | ||
| 145 | - public String getRemark() { | ||
| 146 | - return remark; | ||
| 147 | - } | ||
| 148 | - | ||
| 149 | - public void setRemark(String remark) { | ||
| 150 | - this.remark = remark == null ? null : remark.trim(); | ||
| 151 | - } | ||
| 152 | - | ||
| 153 | - public Date getCreateTime() { | ||
| 154 | - return createTime; | ||
| 155 | - } | ||
| 156 | - | ||
| 157 | - public void setCreateTime(Date createTime) { | ||
| 158 | - this.createTime = createTime; | ||
| 159 | - } | ||
| 160 | - | ||
| 161 | - public String getData() { | ||
| 162 | - return data; | ||
| 163 | - } | ||
| 164 | - | ||
| 165 | - public void setData(String data) { | ||
| 166 | - this.data = data == null ? null : data.trim(); | ||
| 167 | - } | ||
| 168 | - | ||
| 169 | - @Override | ||
| 170 | - public String toString() { | ||
| 171 | - StringBuilder sb = new StringBuilder(); | ||
| 172 | - sb.append(getClass().getSimpleName()); | ||
| 173 | - sb.append(" ["); | ||
| 174 | - sb.append("Hash = ").append(hashCode()); | ||
| 175 | - sb.append(", id=").append(id); | ||
| 176 | - sb.append(", messageId=").append(messageId); | ||
| 177 | - sb.append(", messageCode=").append(messageCode); | ||
| 178 | - sb.append(", senderId=").append(senderId); | ||
| 179 | - sb.append(", receiverId=").append(receiverId); | ||
| 180 | - sb.append(", sendTime=").append(sendTime); | ||
| 181 | - sb.append(", consignmentCode=").append(consignmentCode); | ||
| 182 | - sb.append(", frequency=").append(frequency); | ||
| 183 | - sb.append(", status=").append(status); | ||
| 184 | - sb.append(", remark=").append(remark); | ||
| 185 | - sb.append(", createTime=").append(createTime); | ||
| 186 | - sb.append(", data=").append(data); | ||
| 187 | - sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 188 | - sb.append("]"); | ||
| 189 | - return sb.toString(); | ||
| 190 | - } | ||
| 191 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | sys:系统 系统相关表,例如kafka表 | 40 | sys:系统 系统相关表,例如kafka表 |
| 41 | log: 日志 日志记录表,例如邮件发送日志表 | 41 | log: 日志 日志记录表,例如邮件发送日志表 |
| 42 | --> | 42 | --> |
| 43 | - <javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java"> | 43 | + <javaModelGenerator targetPackage="com.fedex.connect.common.model.bi" targetProject="src/main/java"> |
| 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> | 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> |
| 45 | <property name="enableSubPackages" value="false"/> | 45 | <property name="enableSubPackages" value="false"/> |
| 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> | 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> |
| ... | @@ -52,13 +52,13 @@ | ... | @@ -52,13 +52,13 @@ |
| 52 | </javaModelGenerator> | 52 | </javaModelGenerator> |
| 53 | 53 | ||
| 54 | <!-- 生成映射文件*.xml的位置--> | 54 | <!-- 生成映射文件*.xml的位置--> |
| 55 | - <sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common"> | 55 | + <sqlMapGenerator targetPackage="mapper.bi" targetProject="src/main/java/com/fedex/connect/common"> |
| 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 57 | <property name="enableSubPackages" value="false"/> | 57 | <property name="enableSubPackages" value="false"/> |
| 58 | </sqlMapGenerator> | 58 | </sqlMapGenerator> |
| 59 | 59 | ||
| 60 | <!-- 生成DAO的包名和位置 --> | 60 | <!-- 生成DAO的包名和位置 --> |
| 61 | - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java"> | 61 | + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.bi" 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> |
| ... | @@ -74,24 +74,24 @@ | ... | @@ -74,24 +74,24 @@ |
| 74 | sqlStatement 指定序列名称 | 74 | sqlStatement 指定序列名称 |
| 75 | --> | 75 | --> |
| 76 | 76 | ||
| 77 | - <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab" | 77 | +<!-- <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab"--> |
| 78 | - enableCountByExample="true" enableUpdateByExample="true" | ||
| 79 | - enableDeleteByExample="true" enableSelectByExample="true" | ||
| 80 | - selectByExampleQueryId="true"> | ||
| 81 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" /> | ||
| 82 | - </table> | ||
| 83 | -<!-- <table tableName="T_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"--> | ||
| 84 | -<!-- enableCountByExample="true" enableUpdateByExample="true"--> | ||
| 85 | -<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ||
| 86 | -<!-- selectByExampleQueryId="true">--> | ||
| 87 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />--> | ||
| 88 | -<!-- </table>--> | ||
| 89 | -<!-- <table tableName="T_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"--> | ||
| 90 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 78 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 91 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 79 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 92 | <!-- selectByExampleQueryId="true">--> | 80 | <!-- selectByExampleQueryId="true">--> |
| 93 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />--> | 81 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />--> |
| 94 | <!-- </table>--> | 82 | <!-- </table>--> |
| 83 | + <table tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaTemporaryStorage" | ||
| 84 | + enableCountByExample="true" enableUpdateByExample="true" | ||
| 85 | + enableDeleteByExample="true" enableSelectByExample="true" | ||
| 86 | + selectByExampleQueryId="true"> | ||
| 87 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" /> | ||
| 88 | + </table> | ||
| 89 | + <table tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaStorageHistory" | ||
| 90 | + enableCountByExample="true" enableUpdateByExample="true" | ||
| 91 | + enableDeleteByExample="true" enableSelectByExample="true" | ||
| 92 | + selectByExampleQueryId="true"> | ||
| 93 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" /> | ||
| 94 | + </table> | ||
| 95 | <!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"--> | 95 | <!-- <table tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"--> |
| 96 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 96 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 97 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 97 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ... | ... |
-
Please register or login to post a comment