Showing
18 changed files
with
99 additions
and
34 deletions
| ... | @@ -2,6 +2,6 @@ package com.fedex.connect.base.autoconfiguration; | ... | @@ -2,6 +2,6 @@ package com.fedex.connect.base.autoconfiguration; |
| 2 | 2 | ||
| 3 | import org.springframework.context.annotation.ComponentScan; | 3 | import org.springframework.context.annotation.ComponentScan; |
| 4 | 4 | ||
| 5 | -@ComponentScan(value = {"com.fedex.base"}) | 5 | +@ComponentScan(value = {"com.fedex.connect.base"}) |
| 6 | public class AutoConfiguration { | 6 | public class AutoConfiguration { |
| 7 | } | 7 | } | ... | ... |
| 1 | -org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.fedex.base.autoconfiguration.AutoConfiguration | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.fedex.connect.base.autoconfiguration.AutoConfiguration | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | +package com.fedex.connect.customer; | ||
| 2 | + | ||
| 3 | +import org.mybatis.spring.annotation.MapperScan; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 7 | +import org.springframework.boot.builder.SpringApplicationBuilder; | ||
| 8 | +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | ||
| 9 | +import org.springframework.transaction.annotation.EnableTransactionManagement; | ||
| 10 | +import org.springframework.web.WebApplicationInitializer; | ||
| 11 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 12 | + | ||
| 13 | +@SpringBootApplication(exclude = SecurityAutoConfiguration.class) | ||
| 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.customer.repository.dao.*"}) | ||
| 15 | +@EnableTransactionManagement | ||
| 16 | +@EnableSwagger2 | ||
| 17 | +public class CustomerApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ||
| 18 | + public static void main(String[] args) { | ||
| 19 | + SpringApplication.run(CustomerApplication.class, args); | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + @Override | ||
| 23 | + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
| 24 | + return builder.sources(CustomerApplication.class); | ||
| 25 | + } | ||
| 26 | +} |
| 1 | -package com.fedex.connect.common.customer; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -83,23 +83,23 @@ | ... | @@ -83,23 +83,23 @@ |
| 83 | </dependency> | 83 | </dependency> |
| 84 | </dependencies> | 84 | </dependencies> |
| 85 | </plugin> | 85 | </plugin> |
| 86 | - | 86 | +<!--输出doc文档插件禁用--> |
| 87 | - <plugin> | 87 | +<!-- <plugin>--> |
| 88 | - <groupId>org.apache.maven.plugins</groupId> | 88 | +<!-- <groupId>org.apache.maven.plugins</groupId>--> |
| 89 | - <artifactId>maven-javadoc-plugin</artifactId> | 89 | +<!-- <artifactId>maven-javadoc-plugin</artifactId>--> |
| 90 | - <version>2.10.2</version> | 90 | +<!-- <version>2.10.2</version>--> |
| 91 | - <configuration> | 91 | +<!-- <configuration>--> |
| 92 | - <aggregate>true</aggregate> | 92 | +<!-- <aggregate>true</aggregate>--> |
| 93 | - </configuration> | 93 | +<!-- </configuration>--> |
| 94 | - <executions> | 94 | +<!-- <executions>--> |
| 95 | - <execution> | 95 | +<!-- <execution>--> |
| 96 | - <id>attach-javadocs</id> | 96 | +<!-- <id>attach-javadocs</id>--> |
| 97 | - <goals> | 97 | +<!-- <goals>--> |
| 98 | - <goal>jar</goal> | 98 | +<!-- <goal>jar</goal>--> |
| 99 | - </goals> | 99 | +<!-- </goals>--> |
| 100 | - </execution> | 100 | +<!-- </execution>--> |
| 101 | - </executions> | 101 | +<!-- </executions>--> |
| 102 | - </plugin> | 102 | +<!-- </plugin>--> |
| 103 | </plugins> | 103 | </plugins> |
| 104 | </build> | 104 | </build> |
| 105 | </project> | 105 | </project> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
| ... | @@ -85,17 +85,13 @@ | ... | @@ -85,17 +85,13 @@ |
| 85 | <!-- selectByExampleQueryId="true">--> | 85 | <!-- selectByExampleQueryId="true">--> |
| 86 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" />--> | 86 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" />--> |
| 87 | <!-- </table>--> | 87 | <!-- </table>--> |
| 88 | - | ||
| 89 | - | ||
| 90 | - | ||
| 91 | - | ||
| 92 | <!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"--> | 88 | <!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"--> |
| 93 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 89 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 94 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 90 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 95 | <!-- selectByExampleQueryId="true">--> | 91 | <!-- selectByExampleQueryId="true">--> |
| 96 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> | 92 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> |
| 97 | <!-- </table>--> | 93 | <!-- </table>--> |
| 98 | - <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" | 94 | + <table schema="ICLEARIMP" tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" |
| 99 | enableCountByExample="true" enableUpdateByExample="true" | 95 | enableCountByExample="true" enableUpdateByExample="true" |
| 100 | enableDeleteByExample="true" enableSelectByExample="true" | 96 | enableDeleteByExample="true" enableSelectByExample="true" |
| 101 | selectByExampleQueryId="true"> | 97 | selectByExampleQueryId="true"> | ... | ... |
| ... | @@ -11,7 +11,7 @@ import org.springframework.web.WebApplicationInitializer; | ... | @@ -11,7 +11,7 @@ import org.springframework.web.WebApplicationInitializer; |
| 11 | import springfox.documentation.swagger2.annotations.EnableSwagger2; | 11 | import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| 12 | 12 | ||
| 13 | @SpringBootApplication(exclude = SecurityAutoConfiguration.class) | 13 | @SpringBootApplication(exclude = SecurityAutoConfiguration.class) |
| 14 | -@MapperScan("com.fedex.connect.kafka.repository.dao") | 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.kafka.repository.dao.*"}) |
| 15 | @EnableTransactionManagement | 15 | @EnableTransactionManagement |
| 16 | @EnableSwagger2 | 16 | @EnableSwagger2 |
| 17 | public class KafkaApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | 17 | public class KafkaApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ... | ... |
| 1 | package com.fedex.connect.kafka.repository.base; | 1 | package com.fedex.connect.kafka.repository.base; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.dao.biz.CeInfoMapper; | ||
| 4 | import com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper; | 3 | import com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper; |
| 5 | import com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper; | 4 | import com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper; |
| 6 | import com.fedex.connect.kafka.repository.dao.CeInfoMapperExt; | 5 | import com.fedex.connect.kafka.repository.dao.CeInfoMapperExt; | ... | ... |
| 1 | package com.fedex.connect.kafka.repository.dao; | 1 | package com.fedex.connect.kafka.repository.dao; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 4 | import org.apache.ibatis.annotations.Mapper; | 3 | import org.apache.ibatis.annotations.Mapper; |
| 5 | import org.apache.ibatis.annotations.Param; | 4 | import org.apache.ibatis.annotations.Param; |
| 6 | import org.apache.ibatis.annotations.Select; | 5 | import org.apache.ibatis.annotations.Select; | ... | ... |
| 1 | package com.fedex.connect.kafka.repository.repo.impl; | 1 | package com.fedex.connect.kafka.repository.repo.impl; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 4 | import com.fedex.connect.kafka.repository.base.AbstractDaoRepository; | 3 | import com.fedex.connect.kafka.repository.base.AbstractDaoRepository; |
| 5 | import com.fedex.connect.kafka.repository.repo.ICeInfoRepository; | 4 | import com.fedex.connect.kafka.repository.repo.ICeInfoRepository; |
| 6 | import org.springframework.stereotype.Repository; | 5 | import org.springframework.stereotype.Repository; | ... | ... |
| ... | @@ -3,7 +3,6 @@ package com.fedex.connect.kafka.service.impl; | ... | @@ -3,7 +3,6 @@ package com.fedex.connect.kafka.service.impl; |
| 3 | import com.alibaba.fastjson.JSONObject; | 3 | import com.alibaba.fastjson.JSONObject; |
| 4 | import com.fedex.connect.common.dependencies.util.DateUtil; | 4 | import com.fedex.connect.common.dependencies.util.DateUtil; |
| 5 | import com.fedex.connect.common.dependencies.util.Utils; | 5 | import com.fedex.connect.common.dependencies.util.Utils; |
| 6 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 7 | import com.fedex.connect.common.model.sys.KafkaTemporaryStorage; | 6 | import com.fedex.connect.common.model.sys.KafkaTemporaryStorage; |
| 8 | import com.fedex.connect.kafka.constants.Constant; | 7 | import com.fedex.connect.kafka.constants.Constant; |
| 9 | import com.fedex.connect.kafka.data.dto.DmProcessResults; | 8 | import com.fedex.connect.kafka.data.dto.DmProcessResults; | ... | ... |
| 1 | +package com.fedex.connect.manager; | ||
| 2 | + | ||
| 3 | +import org.mybatis.spring.annotation.MapperScan; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 7 | +import org.springframework.boot.builder.SpringApplicationBuilder; | ||
| 8 | +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | ||
| 9 | +import org.springframework.transaction.annotation.EnableTransactionManagement; | ||
| 10 | +import org.springframework.web.WebApplicationInitializer; | ||
| 11 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 12 | + | ||
| 13 | +@SpringBootApplication(exclude = SecurityAutoConfiguration.class) | ||
| 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.manager.repository.dao.*"}) | ||
| 15 | +@EnableTransactionManagement | ||
| 16 | +@EnableSwagger2 | ||
| 17 | +public class ManagerApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ||
| 18 | + public static void main(String[] args) { | ||
| 19 | + SpringApplication.run(ManagerApplication.class, args); | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + @Override | ||
| 23 | + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
| 24 | + return builder.sources(ManagerApplication.class); | ||
| 25 | + } | ||
| 26 | +} |
| 1 | -package com.fedex.connect.kafka.connect.manager; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +package com.fedex.connect.task; | ||
| 2 | + | ||
| 3 | +import org.mybatis.spring.annotation.MapperScan; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 7 | +import org.springframework.boot.builder.SpringApplicationBuilder; | ||
| 8 | +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | ||
| 9 | +import org.springframework.transaction.annotation.EnableTransactionManagement; | ||
| 10 | +import org.springframework.web.WebApplicationInitializer; | ||
| 11 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 12 | + | ||
| 13 | +@SpringBootApplication(exclude = SecurityAutoConfiguration.class) | ||
| 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.task.repository.dao.*"}) | ||
| 15 | +@EnableTransactionManagement | ||
| 16 | +@EnableSwagger2 | ||
| 17 | +public class TaskApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ||
| 18 | + public static void main(String[] args) { | ||
| 19 | + SpringApplication.run(TaskApplication.class, args); | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + @Override | ||
| 23 | + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
| 24 | + return builder.sources(TaskApplication.class); | ||
| 25 | + } | ||
| 26 | +} |
| 1 | -package com.fedex.connect.kafka.connect.task; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment