Commit 75e1741c authored by wujiang's avatar wujiang

修改无法启动问题

parent ae8fef62
package org.amos.boot.system.precontrol.api;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
...@@ -37,7 +37,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -37,7 +37,7 @@ import lombok.extern.slf4j.Slf4j;
*/ */
@SpringBootApplication @SpringBootApplication
@EnableDiscoveryClient @EnableDiscoveryClient
@EnableFeignClients @EnableFeignClients(basePackages = { "com.yeejoin.precontrol", "org.typroject", "com.yeejoin.amos" })
@EnableEurekaClient @EnableEurekaClient
//@EnableWebSocket //@EnableWebSocket
@EnableAsync @EnableAsync
...@@ -55,9 +55,7 @@ import lombok.extern.slf4j.Slf4j; ...@@ -55,9 +55,7 @@ import lombok.extern.slf4j.Slf4j;
"org.typroject.tyboot.face.*.orm.dao*", "org.typroject.tyboot.core.auth.face.orm.dao*", "org.typroject.tyboot.face.*.orm.dao*", "org.typroject.tyboot.core.auth.face.orm.dao*",
"org.typroject.tyboot.component.*.face.orm.dao*", "com.yeejoin.amos.boot.module.**.api.mapper", "org.typroject.tyboot.component.*.face.orm.dao*", "com.yeejoin.amos.boot.module.**.api.mapper",
"com.yeejoin.amos.boot.biz.common.dao.mapper", "com.yeejoin.amos.boot.module.common.biz.dao" }) "com.yeejoin.amos.boot.biz.common.dao.mapper", "com.yeejoin.amos.boot.module.common.biz.dao" })
@ComponentScan(basePackages = { "com.yeejoin.precontrol", "org.typroject", "com.yeejoin.amos", @ComponentScan(basePackages = { "com.yeejoin.precontrol", "org.typroject", "com.yeejoin.amos",}, excludeFilters = {
"com.yeejoin.amos.boot.module.common.api.feign",
"com.yeejoin.amos.boot.biz.common.workflow.feign" }, excludeFilters = {
@ComponentScan.Filter(type = FilterType.REGEX, pattern = {}) }) @ComponentScan.Filter(type = FilterType.REGEX, pattern = {}) })
@Slf4j @Slf4j
public class StartPrecontrolService { public class StartPrecontrolService {
...@@ -80,10 +78,9 @@ public class StartPrecontrolService { ...@@ -80,10 +78,9 @@ public class StartPrecontrolService {
@Autowired @Autowired
private StartRiskService startRiskService; private StartRiskService startRiskService;
@Autowired @Autowired
ExamFeign ExamFeign; ExamFeign ExamFeign;
@Autowired @Autowired
WorkflowFeignService WorkflowFeignService; WorkflowFeignService WorkflowFeignService;
......
spring.application.name=JEPCC-PRECONTROL-SERVER-WJ spring.application.name=JEPCC-PRECONTROL-SERVER-WJ
server.servlet.context-path=/precontrol server.servlet.context-path=/precontrol
#server.servlet.context-path=/case #server.servlet.context-path=/case
spring.profiles.active=dev spring.profiles.active=dev2
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#mybatis mapper file #mybatis mapper file
mybatis.mapper-locations=classpath:mapper/*.xml mybatis.mapper-locations=classpath:mapper/*.xml
......
package org.amos.boot.system.precontrol.biz;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
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