Commit 914e8515 by 高晓磊

station2注入bean

parent 429e478d
...@@ -15,6 +15,7 @@ import com.xyst.dinas.biz.internal.service.StationServiceImpl; ...@@ -15,6 +15,7 @@ import com.xyst.dinas.biz.internal.service.StationServiceImpl;
import com.xyst.dinas.biz.service.PositionService; import com.xyst.dinas.biz.service.PositionService;
import com.xyst.dinas.biz.service.StationService; import com.xyst.dinas.biz.service.StationService;
import com.xyst.dinas.biz.web.PositionController; import com.xyst.dinas.biz.web.PositionController;
import com.xyst.dinas.biz.web.Station2Controller;
import com.xyst.dinas.biz.web.StationController; import com.xyst.dinas.biz.web.StationController;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Qualifier;
...@@ -68,6 +69,11 @@ public class StationConfiguration { ...@@ -68,6 +69,11 @@ public class StationConfiguration {
return new StationController(); return new StationController();
} }
@Bean
public Station2Controller station2Controller(){
return new Station2Controller();
}
@Bean(StationConstant.ENTITY) @Bean(StationConstant.ENTITY)
public KClass stationInfoEntity() { public KClass stationInfoEntity() {
......
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