Commit cda2c0a8 by 黄森林

項目名修改,task添加入口類

parent 8051ad1f
......@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gdtel-gztel-school-center</artifactId>
<artifactId>school-center</artifactId>
<groupId>com.winsun.gdtel.gztel</groupId>
<version>0.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>gdtel-gztel-jyyy-core-service</artifactId>
<artifactId>core-service</artifactId>
<version>0.0.1</version>
<dependencies>
......
......@@ -4,11 +4,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>gdtel-gztel-school-center</artifactId>
<artifactId>school-center</artifactId>
<groupId>com.winsun.gdtel.gztel</groupId>
<version>0.0.2</version>
</parent>
<artifactId>gdtel-gztel-jyyy-eureka</artifactId>
<artifactId>eureka</artifactId>
<version>0.0.1</version>
<dependencies>
......@@ -59,7 +59,7 @@
<build>
<!-- pom本身还继续用版本号管理,但是由于项目用docker,为了方便,所以输出的文件名字固定,不含版本号,而通过docker来控制版本号 -->
<finalName>gdtel-gztel-jyyy-eureka</finalName>
<finalName>eureka</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
......
......@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gdtel-gztel-school-center</artifactId>
<artifactId>school-center</artifactId>
<groupId>com.winsun.gdtel.gztel</groupId>
<version>0.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>gdtel-gztel-jyyy-gateway</artifactId>
<artifactId>gateway</artifactId>
<version>0.0.1</version>
<dependencies>
<dependency>
......@@ -44,7 +44,7 @@
<build>
<!-- pom本身还继续用版本号管理,但是由于项目用docker,为了方便,所以输出的文件名字固定,不含版本号,而通过docker来控制版本号 -->
<finalName>gdtel-gztel-jyyy-gateway</finalName>
<finalName>gateway</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
......
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
......@@ -5,14 +5,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.winsun.gdtel.gztel</groupId>
<artifactId>gdtel-gztel-school-center</artifactId>
<artifactId>school-center</artifactId>
<version>0.0.2</version>
<modules>
<module>gdtel-gztel-jyyy-service-manager</module>
<module>gdtel-gztel-jyyy-core-service</module>
<module>gdtel-gztel-jyyy-gateway</module>
<module>gdtel-gztel-jyyy-eureka</module>
<module>gdtel-gztel-jyyy-task</module>
<module>service-manager</module>
<module>core-service</module>
<module>gateway</module>
<module>eureka</module>
<module>task</module>
</modules>
<packaging>pom</packaging>
<description>外呼集约系统聚合</description>
......
......@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gdtel-gztel-school-center</artifactId>
<artifactId>school-center</artifactId>
<groupId>com.winsun.gdtel.gztel</groupId>
<version>0.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>gdtel-gztel-jyyy-service-manager</artifactId>
<artifactId>service-manager</artifactId>
<description>外呼集约系统主要服务模块</description>
<version>0.0.1</version>
......@@ -121,7 +121,7 @@
</dependencies>
<build>
<finalName>gdtel-gztel-jyyy-service-manager</finalName>
<finalName>service-manager</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
......
......@@ -23,12 +23,12 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@EnableFeignClients({"com.winsun","com.winsun.auth.core"})
@MapperScan(basePackages = {"com.winsun.*.mapper","com.winsun.mapper"})
@EnableScheduling // 开启定时任务
public class JyyyServiceApplication {
public class SchoolServiceApplication {
private final static Logger logger = LoggerFactory.getLogger(JyyyServiceApplication.class);
private final static Logger logger = LoggerFactory.getLogger(SchoolServiceApplication.class);
public static void main(String[] args) {
SpringApplication.run(JyyyServiceApplication.class, args);
SpringApplication.run(SchoolServiceApplication.class, args);
logger.info("集约平台核心服务系统模块启动成功!!!");
}
}
......@@ -2,13 +2,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>gdtel-gztel-school-center</artifactId>
<artifactId>school-center</artifactId>
<groupId>com.winsun.gdtel.gztel</groupId>
<version>0.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>gdtel-gztel-jyyy-task</artifactId>
<artifactId>task</artifactId>
<description>外呼集约定时器系统服务模块</description>
<version>0.0.1</version>
......@@ -75,23 +75,6 @@
<groupId>com.winsun.framework</groupId>
<artifactId>winsun-core-api</artifactId>
</dependency>
<dependency>
<groupId>com.winsun.gdtel.gztel</groupId>
<artifactId>gdtel-gztel-jyyy-common</artifactId>
<version>${gdtel-jyyy-service.version}</version>
<exclusions>
<exclusion>
<artifactId>p6spy</artifactId>
<groupId>p6spy</groupId>
</exclusion>
<exclusion>
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- 数据库连接部分 -->
<dependency>
<groupId>com.baomidou</groupId>
......@@ -113,7 +96,7 @@
</dependencies>
<build>
<finalName>gdtel-gztel-jyyy-task</finalName>
<finalName>task</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
......
package com.winsun;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
*
* @author 吴学德
*/
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableEurekaClient
@SpringBootApplication
@RefreshScope
@EnableFeignClients({"com.winsun","com.winsun.auth.core"})
@MapperScan(basePackages = {"com.winsun.*.mapper","com.winsun.mapper"})
@EnableScheduling // 开启定时任务
public class TaskServiceApplication {
private final static Logger logger = LoggerFactory.getLogger(TaskServiceApplication.class);
public static void main(String[] args) {
SpringApplication.run(TaskServiceApplication.class, args);
logger.info("集约平台定时任务模块启动成功!!!");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment