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 +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
...@@ -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>
......