Commit 2085e656 by shiwenbo

修改Controller名称

parent e059398f
package com.xyst.dinas.biz.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.xyst.dinas.biz.web.CommonController;
@Configuration
public class CommonConfiguration {
@Bean
public CommonController commonController() {
return new CommonController();
}
}
package com.xyst.dinas.biz.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.xyst.dinas.biz.web.DinasCommonController;
import com.xyst.dinas.biz.web.SandQueryController;
import com.xyst.dinas.biz.web.WarehouseQueryController;
@Configuration
public class DinasCommonConfiguration {
@Bean
public DinasCommonController dinasCommonController() {
return new DinasCommonController();
}
@Bean
public WarehouseQueryController warehouseQueryController() {
return new WarehouseQueryController();
}
@Bean
public SandQueryController sandQueryController() {
return new SandQueryController();
}
}
...@@ -16,7 +16,7 @@ import com.beecode.bap.department.service.DepartmentService; ...@@ -16,7 +16,7 @@ import com.beecode.bap.department.service.DepartmentService;
import com.beecode.bcp.type.KObject; import com.beecode.bcp.type.KObject;
@RestController @RestController
public class CommonController { public class DinasCommonController {
@Autowired @Autowired
public DepartmentService departmentService; public DepartmentService departmentService;
......
...@@ -6,4 +6,4 @@ com.xyst.dinas.biz.config.ShipConfiguration,\ ...@@ -6,4 +6,4 @@ com.xyst.dinas.biz.config.ShipConfiguration,\
com.xyst.dinas.biz.config.SceneConfiguration,\ com.xyst.dinas.biz.config.SceneConfiguration,\
com.xyst.dinas.biz.config.DinasOrganizationConfig,\ com.xyst.dinas.biz.config.DinasOrganizationConfig,\
com.xyst.dinas.biz.config.BizDataInitializerConfig,\ com.xyst.dinas.biz.config.BizDataInitializerConfig,\
com.xyst.dinas.biz.config.CommonConfiguration com.xyst.dinas.biz.config.DinasCommonConfiguration
\ No newline at end of file \ No newline at end of file
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