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;
*/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableFeignClients(basePackages = { "com.yeejoin.precontrol", "org.typroject", "com.yeejoin.amos" })
@EnableEurekaClient
//@EnableWebSocket
@EnableAsync
......@@ -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.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" })
@ComponentScan(basePackages = { "com.yeejoin.precontrol", "org.typroject", "com.yeejoin.amos",
"com.yeejoin.amos.boot.module.common.api.feign",
"com.yeejoin.amos.boot.biz.common.workflow.feign" }, excludeFilters = {
@ComponentScan(basePackages = { "com.yeejoin.precontrol", "org.typroject", "com.yeejoin.amos",}, excludeFilters = {
@ComponentScan.Filter(type = FilterType.REGEX, pattern = {}) })
@Slf4j
public class StartPrecontrolService {
......@@ -80,10 +78,9 @@ public class StartPrecontrolService {
@Autowired
private StartRiskService startRiskService;
@Autowired
ExamFeign ExamFeign;
@Autowired
WorkflowFeignService WorkflowFeignService;
......
spring.application.name=JEPCC-PRECONTROL-SERVER-WJ
server.servlet.context-path=/precontrol
#server.servlet.context-path=/case
spring.profiles.active=dev
spring.profiles.active=dev2
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#mybatis mapper file
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