diff --git a/logs/springboot-logback-info.log b/logs/springboot-logback-info.log index 4aaaee6..924e14a 100644 --- a/logs/springboot-logback-info.log +++ b/logs/springboot-logback-info.log @@ -97,3 +97,238 @@ 2023-04-08 17:58:44,781 [http-nio-34567-exec-2] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-04-08 17:58:44,782 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' 2023-04-08 17:58:44,787 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 5 ms +2023-04-08 21:16:41,272 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5a3b18a2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 21:16:41,453 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 21:16:41,462 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 21:16:41,467 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 21:16:41,468 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 21:16:41,545 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 21:16:41,545 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1228 ms +2023-04-08 21:16:41,625 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 21:16:42,740 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 21:16:44,166 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 21:16:44,251 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 21:16:44,431 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 21:16:44,445 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 21:16:44,473 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 21:16:44,634 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 21:16:44,635 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 21:16:44,636 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 21:16:44,653 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 21:16:44,654 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 21:16:44,655 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 21:16:44,704 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 21:16:44,709 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 21:16:44,711 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 21:16:44,712 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 21:16:44,713 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 21:16:44,713 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 21:16:44,726 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 21:16:44,744 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 21:16:49,169 [http-nio-34567-exec-1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 21:16:49,169 [http-nio-34567-exec-1] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 21:16:49,174 [http-nio-34567-exec-1] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 5 ms +2023-04-08 21:16:56,388 [Thread-11] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:208 - Shutting down ExecutorService 'applicationTaskExecutor' +2023-04-08 21:16:56,391 [Thread-11] INFO com.alibaba.druid.pool.DruidDataSource:2029 - {dataSource-1} closing ... +2023-04-08 21:16:56,393 [Thread-11] INFO com.alibaba.druid.pool.DruidDataSource:2101 - {dataSource-1} closed +2023-04-08 21:17:00,605 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$570235d7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 21:17:00,766 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 21:17:00,774 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 21:17:00,780 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 21:17:00,780 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 21:17:00,848 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 21:17:00,849 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1046 ms +2023-04-08 21:17:00,921 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 21:17:02,086 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 21:17:03,310 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 21:17:03,385 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 21:17:03,530 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 21:17:03,541 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 21:17:03,564 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 21:17:03,712 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 21:17:03,712 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 21:17:03,713 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 21:17:03,730 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 21:17:03,730 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 21:17:03,731 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 21:17:03,781 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 21:17:03,786 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 21:17:03,788 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 21:17:03,789 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 21:17:03,789 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 21:17:03,790 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 21:17:03,802 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 21:17:03,819 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 21:17:06,669 [http-nio-34567-exec-2] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 21:17:06,669 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 21:17:06,674 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 5 ms +2023-04-08 21:18:44,475 [Thread-10] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:208 - Shutting down ExecutorService 'applicationTaskExecutor' +2023-04-08 21:18:44,477 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2029 - {dataSource-1} closing ... +2023-04-08 21:18:44,479 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2101 - {dataSource-1} closed +2023-04-08 21:18:47,555 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$7e51609e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 21:18:47,716 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 21:18:47,725 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 21:18:47,730 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 21:18:47,730 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 21:18:47,802 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 21:18:47,802 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1034 ms +2023-04-08 21:18:47,876 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 21:18:48,955 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 21:18:50,198 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 21:18:50,275 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 21:18:50,423 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 21:18:50,435 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 21:18:50,458 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 21:18:50,609 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 21:18:50,610 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 21:18:50,611 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 21:18:50,627 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 21:18:50,628 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 21:18:50,629 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 21:18:50,680 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 21:18:50,686 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 21:18:50,688 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 21:18:50,688 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 21:18:50,689 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 21:18:50,690 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 21:18:50,703 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 21:18:50,720 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 21:18:52,032 [http-nio-34567-exec-2] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 21:18:52,032 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 21:18:52,036 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 4 ms +2023-04-08 21:42:44,363 [Thread-10] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:208 - Shutting down ExecutorService 'applicationTaskExecutor' +2023-04-08 21:42:44,366 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2029 - {dataSource-1} closing ... +2023-04-08 21:42:44,367 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2101 - {dataSource-1} closed +2023-04-08 21:42:50,098 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$70cfec4b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 21:42:50,255 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 21:42:50,263 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 21:42:50,268 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 21:42:50,269 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 21:42:50,335 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 21:42:50,336 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1053 ms +2023-04-08 21:42:50,405 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 21:42:51,501 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 21:42:52,733 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 21:42:52,813 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 21:42:52,951 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 21:42:52,962 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 21:42:52,984 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 21:42:53,134 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 21:42:53,135 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 21:42:53,136 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 21:42:53,153 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 21:42:53,154 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 21:42:53,155 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 21:42:53,212 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 21:42:53,218 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 21:42:53,220 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 21:42:53,221 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 21:42:53,222 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 21:42:53,223 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 21:42:53,239 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 21:42:53,256 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 21:42:53,294 [http-nio-34567-exec-2] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 21:42:53,294 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 21:42:53,298 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 4 ms +2023-04-08 21:47:45,229 [Thread-11] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:208 - Shutting down ExecutorService 'applicationTaskExecutor' +2023-04-08 21:47:45,232 [Thread-11] INFO com.alibaba.druid.pool.DruidDataSource:2029 - {dataSource-1} closing ... +2023-04-08 21:47:45,234 [Thread-11] INFO com.alibaba.druid.pool.DruidDataSource:2101 - {dataSource-1} closed +2023-04-08 21:47:49,843 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$19ea494] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 21:47:50,004 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 21:47:50,013 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 21:47:50,018 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 21:47:50,018 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 21:47:50,102 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 21:47:50,103 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1055 ms +2023-04-08 21:47:50,171 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 21:47:51,287 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 21:47:52,549 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 21:47:52,627 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 21:47:52,776 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 21:47:52,787 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 21:47:52,811 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 21:47:52,957 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 21:47:52,958 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 21:47:52,958 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 21:47:52,976 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 21:47:52,977 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 21:47:52,977 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 21:47:53,027 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 21:47:53,032 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 21:47:53,034 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 21:47:53,035 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 21:47:53,036 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 21:47:53,036 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 21:47:53,049 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 21:47:53,066 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 21:47:54,573 [http-nio-34567-exec-2] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 21:47:54,573 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 21:47:54,579 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 6 ms +2023-04-08 23:33:13,144 [Thread-10] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:208 - Shutting down ExecutorService 'applicationTaskExecutor' +2023-04-08 23:33:13,148 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2029 - {dataSource-1} closing ... +2023-04-08 23:33:13,151 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2101 - {dataSource-1} closed +2023-04-08 23:33:18,019 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$344ac71b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 23:33:18,185 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 23:33:18,193 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 23:33:18,199 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 23:33:18,199 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 23:33:18,269 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 23:33:18,269 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1065 ms +2023-04-08 23:33:18,340 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 23:33:19,378 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 23:33:20,604 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 23:33:20,680 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 23:33:20,825 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 23:33:20,837 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 23:33:20,860 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 23:33:21,002 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 23:33:21,003 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 23:33:21,004 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 23:33:21,020 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 23:33:21,021 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 23:33:21,022 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 23:33:21,072 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 23:33:21,078 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 23:33:21,080 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 23:33:21,081 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 23:33:21,082 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 23:33:21,082 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 23:33:21,095 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 23:33:21,114 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 23:33:46,108 [http-nio-34567-exec-1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 23:33:46,108 [http-nio-34567-exec-1] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 23:33:46,113 [http-nio-34567-exec-1] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 5 ms +2023-04-08 23:39:56,709 [Thread-10] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:208 - Shutting down ExecutorService 'applicationTaskExecutor' +2023-04-08 23:39:56,712 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2029 - {dataSource-1} closing ... +2023-04-08 23:39:56,714 [Thread-10] INFO com.alibaba.druid.pool.DruidDataSource:2101 - {dataSource-1} closed +2023-04-08 23:39:59,837 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:330 - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$79871faa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2023-04-08 23:39:59,995 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:90 - Tomcat initialized with port(s): 34567 (http) +2023-04-08 23:40:00,004 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Initializing ProtocolHandler ["http-nio-34567"] +2023-04-08 23:40:00,010 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2023-04-08 23:40:00,010 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.22] +2023-04-08 23:40:00,079 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2023-04-08 23:40:00,079 [main] INFO org.springframework.web.context.ContextLoader:284 - Root WebApplicationContext: initialization completed in 1059 ms +2023-04-08 23:40:00,145 [main] INFO com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure:56 - Init DruidDataSource +2023-04-08 23:40:01,276 [main] INFO com.alibaba.druid.pool.DruidDataSource:994 - {dataSource-1} inited +2023-04-08 23:40:02,503 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping:69 - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] +2023-04-08 23:40:02,579 [main] INFO org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:171 - Initializing ExecutorService 'applicationTaskExecutor' +2023-04-08 23:40:02,720 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:160 - Context refreshed +2023-04-08 23:40:02,732 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper:163 - Found 1 custom documentation plugin(s) +2023-04-08 23:40:02,754 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner:41 - Scanning for api listing references +2023-04-08 23:40:02,898 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addCollegeUsingPOST_1 +2023-04-08 23:40:02,899 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteCollegeUsingPOST_1 +2023-04-08 23:40:02,900 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateCollegeUsingPOST_1 +2023-04-08 23:40:02,917 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addJobUsingPOST_1 +2023-04-08 23:40:02,917 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteJobUsingPOST_1 +2023-04-08 23:40:02,918 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateJobUsingPOST_1 +2023-04-08 23:40:02,970 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: addAdministerUsingPOST_1 +2023-04-08 23:40:02,975 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: updateAdministerUsingPOST_1 +2023-04-08 23:40:02,977 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: deleteRequireUsingPOST_1 +2023-04-08 23:40:02,978 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requireStationsUsingPOST_1 +2023-04-08 23:40:02,978 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: requiresUsingPOST_1 +2023-04-08 23:40:02,979 [main] INFO springfox.documentation.spring.web.readers.operation.CachingOperationNameGenerator:40 - Generating unique operation named: shareUsingPOST_1 +2023-04-08 23:40:02,991 [main] INFO org.apache.coyote.http11.Http11NioProtocol:173 - Starting ProtocolHandler ["http-nio-34567"] +2023-04-08 23:40:03,008 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer:202 - Tomcat started on port(s): 34567 (http) with context path '' +2023-04-08 23:40:20,189 [http-nio-34567-exec-2] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2023-04-08 23:40:20,190 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:524 - Initializing Servlet 'dispatcherServlet' +2023-04-08 23:40:20,195 [http-nio-34567-exec-2] INFO org.springframework.web.servlet.DispatcherServlet:546 - Completed initialization in 5 ms diff --git a/src/main/java/com/laowu/controller/TeamDictController.java b/src/main/java/com/laowu/controller/TeamDictController.java index 6be005e..4d1eb92 100644 --- a/src/main/java/com/laowu/controller/TeamDictController.java +++ b/src/main/java/com/laowu/controller/TeamDictController.java @@ -97,9 +97,9 @@ public class TeamDictController { } @PostMapping("provinceStationTeam") - @ApiOperation("省-工作站-团队 ") - public ResponseVO provinceStationTeam(){ - return ResponseData.generateCreatedResponse(0,teamDictService.provinceStationTeam()); + @ApiOperation("省-工作站-团队 userId") + public ResponseVO provinceStationTeam(@RequestBody ProvinceStationTeamDTO provinceStationTeamDTO){ + return ResponseData.generateCreatedResponse(0,teamDictService.provinceStationTeam(provinceStationTeamDTO)); } @PostMapping("memberManagement") diff --git a/src/main/java/com/laowu/dto/position/AloneRequirementsDTO.java b/src/main/java/com/laowu/dto/position/AloneRequirementsDTO.java index f5109f8..32d0588 100644 --- a/src/main/java/com/laowu/dto/position/AloneRequirementsDTO.java +++ b/src/main/java/com/laowu/dto/position/AloneRequirementsDTO.java @@ -21,4 +21,6 @@ public class AloneRequirementsDTO { private String positionName; + private Long userId; + } diff --git a/src/main/java/com/laowu/dto/team/ProvinceStationTeamDTO.java b/src/main/java/com/laowu/dto/team/ProvinceStationTeamDTO.java new file mode 100644 index 0000000..bc5a838 --- /dev/null +++ b/src/main/java/com/laowu/dto/team/ProvinceStationTeamDTO.java @@ -0,0 +1,10 @@ +package com.laowu.dto.team; + +import lombok.Data; + +@Data +public class ProvinceStationTeamDTO { + + private Long userId; + +} diff --git a/src/main/java/com/laowu/model/PositionRequireItemDO.java b/src/main/java/com/laowu/model/PositionRequireItemDO.java index e0e42e0..414cd98 100644 --- a/src/main/java/com/laowu/model/PositionRequireItemDO.java +++ b/src/main/java/com/laowu/model/PositionRequireItemDO.java @@ -65,5 +65,9 @@ public class PositionRequireItemDO extends BaseModel { */ private String infoOrigin; + /** + * 源id + */ + private Long originId; } diff --git a/src/main/java/com/laowu/service/TeamDictService.java b/src/main/java/com/laowu/service/TeamDictService.java index c719f06..40fb49d 100644 --- a/src/main/java/com/laowu/service/TeamDictService.java +++ b/src/main/java/com/laowu/service/TeamDictService.java @@ -41,7 +41,7 @@ public interface TeamDictService extends IService { TotalTeamsVO leaderMemberCounts(TeamDictDO teamDictDO); - List provinceStationTeam(); + List provinceStationTeam(ProvinceStationTeamDTO provinceStationTeamDTO); IPage memberManagement(MemberManagementDTO memberManagementDTO); diff --git a/src/main/java/com/laowu/service/impl/AdministerServiceImpl.java b/src/main/java/com/laowu/service/impl/AdministerServiceImpl.java index f7584d8..ec23683 100644 --- a/src/main/java/com/laowu/service/impl/AdministerServiceImpl.java +++ b/src/main/java/com/laowu/service/impl/AdministerServiceImpl.java @@ -91,13 +91,13 @@ public class AdministerServiceImpl extends ServiceImpl() - .lambda() - .eq(RoleAdministerMappingDO::getAdministerId, administerDO.getId())); - if (null != roleAdministerMappingDO) { - administerPermissionVO.setRole(roleAdministerMappingDO.getRoleId()); - } +// //查询角色 +// RoleAdministerMappingDO roleAdministerMappingDO = roleAdministerMappingMapper.selectOne(new QueryWrapper() +// .lambda() +// .eq(RoleAdministerMappingDO::getAdministerId, administerDO.getId())); +// if (null != roleAdministerMappingDO) { +// administerPermissionVO.setRole(roleAdministerMappingDO.getRoleId()); +// } //是不是管理员 int count = roleAdministerMappingMapper.selectCount(new QueryWrapper() diff --git a/src/main/java/com/laowu/service/impl/CompanyDictServiceImpl.java b/src/main/java/com/laowu/service/impl/CompanyDictServiceImpl.java index 90868b5..6055ad2 100644 --- a/src/main/java/com/laowu/service/impl/CompanyDictServiceImpl.java +++ b/src/main/java/com/laowu/service/impl/CompanyDictServiceImpl.java @@ -69,7 +69,6 @@ public class CompanyDictServiceImpl extends ServiceImpl companyLabelDOS = companyLabelMapper.selectList(new QueryWrapper() .lambda() @@ -127,9 +126,9 @@ public class CompanyDictServiceImpl extends ServiceImpl aloneRequirements(AloneRequirementsDTO aloneRequirementsDTO) { - Page pager = new Page(aloneRequirementsDTO.getPageNum(), aloneRequirementsDTO.getPageSize()); - IPage aloneRequirementsVOIPage = this.baseMapper.aloneRequirements(pager, aloneRequirementsDTO.getPositionStatus(), aloneRequirementsDTO.getPositionName(), aloneRequirementsDTO.getPositionId(), aloneRequirementsDTO.getProvince(), aloneRequirementsDTO.getCity(), aloneRequirementsDTO.getCounty()); - return aloneRequirementsVOIPage; } @@ -114,47 +111,47 @@ public class PositionAloneInfoServiceImpl extends ServiceImpl @Autowired private MemberJobInfoMapper memberJobInfoMapper; + @Autowired + private RoleAdministerMappingMapper roleAdministerMappingMapper; + public IPage teams(TeamsDTO teamsDTO) { Page pager = new Page(teamsDTO.getPageNum(), teamsDTO.getPageSize()); return this.baseMapper.teams(pager, teamsDTO.getStationId(), teamsDTO.getTeamName()); @@ -84,6 +87,19 @@ public class TeamDictServiceImpl extends ServiceImpl } this.baseMapper.insert(teamDictDO); + + if (null != teamDictDO.getMemberId()) { + int cnt = memberTeamMappingMapper.selectCount(new QueryWrapper() + .lambda() + .eq(MemberTeamMappingDO::getMemberId, teamDictDO.getMemberId()) + .eq(MemberTeamMappingDO::getTeamId, teamDictDO.getId())); + if (cnt == 0) { + MemberTeamMappingDO memberTeamMappingDO = new MemberTeamMappingDO(); + memberTeamMappingDO.setTeamId(teamDictDO.getId()); + memberTeamMappingDO.setMemberId(teamDictDO.getMemberId()); + memberTeamMappingMapper.insert(memberTeamMappingDO); + } + } return ConstantUtils.ADD_SUCCESS; } @@ -114,7 +130,6 @@ public class TeamDictServiceImpl extends ServiceImpl } } - return ConstantUtils.SUCCESS_UPDATE; } @@ -200,37 +215,71 @@ public class TeamDictServiceImpl extends ServiceImpl return totalTeamsVO; } - public List provinceStationTeam() { + public List provinceStationTeam(ProvinceStationTeamDTO provinceStationTeamDTO) { - List provinceStationTeamVOS = new ArrayList<>(); + //判断该角色是管理员还是站长 + int count = roleAdministerMappingMapper.selectCount(new QueryWrapper() + .lambda() + .eq(RoleAdministerMappingDO::getAdministerId,provinceStationTeamDTO.getUserId()) + .eq(RoleAdministerMappingDO::getRoleId,1)); - //先查出所有省 + List provinceStationTeamVOS = new ArrayList<>(); List provinces = workstationDictMapper.provinces(); - for (String province : provinces) { + if (count>0){ + //先查出所有省 - ProvinceStationTeamVO provinceStationTeamVO = new ProvinceStationTeamVO(); - //工作站 - List workstationDictDOS = workstationDictMapper.selectList(new QueryWrapper() - .lambda() - .eq(WorkstationDictDO::getProvince, province)); + for (String province : provinces) { + + ProvinceStationTeamVO provinceStationTeamVO = new ProvinceStationTeamVO(); + //工作站 + List workstationDictDOS = workstationDictMapper.selectList(new QueryWrapper() + .lambda() + .eq(WorkstationDictDO::getProvince, province)); + + List workstationDictVOS = new ArrayList<>(); + + for (WorkstationDictDO workstationDictDO : workstationDictDOS) { + WorkstationDictVO workstationDictVO = new WorkstationDictVO(); + BeanUtils.copyProperties(workstationDictDO, workstationDictVO); + + List teamDictDOS = this.baseMapper.selectList(new QueryWrapper() + .lambda() + .eq(TeamDictDO::getStationId, workstationDictDO.getId())); + workstationDictVO.setTeamDictDOS(teamDictDOS); + workstationDictVOS.add(workstationDictVO); + provinceStationTeamVO.setWorkstationDictVOS(workstationDictVOS); + } + provinceStationTeamVO.setProvince(province); + provinceStationTeamVOS.add(provinceStationTeamVO); + } + }else { + //站长 + for (String province : provinces) { - List workstationDictVOS = new ArrayList<>(); + ProvinceStationTeamVO provinceStationTeamVO = new ProvinceStationTeamVO(); - for (WorkstationDictDO workstationDictDO : workstationDictDOS) { - WorkstationDictVO workstationDictVO = new WorkstationDictVO(); - BeanUtils.copyProperties(workstationDictDO, workstationDictVO); + List workstationDictDOS = workstationDictMapper.administerProvinceStations(province,provinceStationTeamDTO.getUserId()); + + List workstationDictVOS = new ArrayList<>(); + + for (WorkstationDictDO workstationDictDO : workstationDictDOS) { + WorkstationDictVO workstationDictVO = new WorkstationDictVO(); + BeanUtils.copyProperties(workstationDictDO, workstationDictVO); + + List teamDictDOS = this.baseMapper.selectList(new QueryWrapper() + .lambda() + .eq(TeamDictDO::getStationId, workstationDictDO.getId())); + workstationDictVO.setTeamDictDOS(teamDictDOS); + workstationDictVOS.add(workstationDictVO); + provinceStationTeamVO.setWorkstationDictVOS(workstationDictVOS); + } + provinceStationTeamVO.setProvince(province); + provinceStationTeamVOS.add(provinceStationTeamVO); - List teamDictDOS = this.baseMapper.selectList(new QueryWrapper() - .lambda() - .eq(TeamDictDO::getStationId, workstationDictDO.getId())); - workstationDictVO.setTeamDictDOS(teamDictDOS); - workstationDictVOS.add(workstationDictVO); - provinceStationTeamVO.setWorkstationDictVOS(workstationDictVOS); } - provinceStationTeamVO.setProvince(province); - provinceStationTeamVOS.add(provinceStationTeamVO); } + return provinceStationTeamVOS; } diff --git a/src/main/java/com/laowu/service/impl/WorkstationRequireMappingServiceImpl.java b/src/main/java/com/laowu/service/impl/WorkstationRequireMappingServiceImpl.java index af24e9c..eef0d8d 100644 --- a/src/main/java/com/laowu/service/impl/WorkstationRequireMappingServiceImpl.java +++ b/src/main/java/com/laowu/service/impl/WorkstationRequireMappingServiceImpl.java @@ -11,6 +11,7 @@ import com.laowu.mapper.PositionItemJobMappingMapper; import com.laowu.mapper.PositionRequireItemMapper; import com.laowu.mapper.WorkstationRequireMappingMapper; import com.laowu.model.LibJobSortDO; +import com.laowu.model.PositionItemInfoDO; import com.laowu.model.PositionRequireItemDO; import com.laowu.model.WorkstationRequireMappingDO; import com.laowu.service.WorkstationRequireMappingService; @@ -90,9 +91,19 @@ public class WorkstationRequireMappingServiceImpl extends ServiceImpl positionItemInfoDOS = positionItemInfoMapper.selectList(new QueryWrapper() + .lambda() + .eq(PositionItemInfoDO::getPositionRequireId,requireId)); + for (PositionItemInfoDO positionItemInfoDO : positionItemInfoDOS){ + PositionItemInfoDO positionItemInfoDO1 = new PositionItemInfoDO(); + BeanUtils.copyProperties(positionItemInfoDO,positionItemInfoDO1); + positionItemInfoDO1.setPositionRequireId(positionRequireItemDO1.getId()); + positionItemInfoMapper.insert(positionItemInfoDO1); + } WorkstationRequireMappingDO workstationRequireMappingDO = new WorkstationRequireMappingDO(); workstationRequireMappingDO.setRequireId(positionRequireItemDO1.getId()); diff --git a/src/main/resources/mapper/AdministerMapper.xml b/src/main/resources/mapper/AdministerMapper.xml index 762775f..3ecf291 100644 --- a/src/main/resources/mapper/AdministerMapper.xml +++ b/src/main/resources/mapper/AdministerMapper.xml @@ -34,6 +34,7 @@ AND t2.delete_date IS NULL AND t3.delete_date IS NULL AND t4.delete_date IS NULL + AND t4.id IS NOT NULL and t.administer_id = #{id} diff --git a/src/main/resources/mapper/PositionAloneInfoMapper.xml b/src/main/resources/mapper/PositionAloneInfoMapper.xml index 6a075e3..385a329 100644 --- a/src/main/resources/mapper/PositionAloneInfoMapper.xml +++ b/src/main/resources/mapper/PositionAloneInfoMapper.xml @@ -57,6 +57,7 @@ AND t2.delete_date IS NULL and t3.delete_date IS NULL and t4.delete_date IS NULL + and t.origin_id is null AND t.position_status = #{positionStatus} diff --git a/src/main/resources/mapper/PositionRequireItemMapper.xml b/src/main/resources/mapper/PositionRequireItemMapper.xml index 073f0d3..3954ef8 100644 --- a/src/main/resources/mapper/PositionRequireItemMapper.xml +++ b/src/main/resources/mapper/PositionRequireItemMapper.xml @@ -41,6 +41,7 @@ t.delete_date IS NULL AND t2.delete_date IS NULL and t3.delete_date is null + and t.origin_id is null and t.item_name like concat('%', #{itemName}, '%') diff --git a/src/main/resources/mapper/WorkstationDictMapper.xml b/src/main/resources/mapper/WorkstationDictMapper.xml index 239c634..4c0101e 100644 --- a/src/main/resources/mapper/WorkstationDictMapper.xml +++ b/src/main/resources/mapper/WorkstationDictMapper.xml @@ -156,7 +156,9 @@ AND t1.delete_date IS NULL AND t2.delete_date IS NULL AND t3.delete_date IS NULL - AND t4.delete_date IS NULL UNION + AND t4.delete_date IS NULL + and t4.id is not null + UNION SELECT t1.id, t4.company_name @@ -171,6 +173,7 @@ AND t2.delete_date IS NULL AND t3.delete_date IS NULL AND t4.delete_date IS NULL + and t4.id is not null ) t5 ) t7 ON t1.id = t7.id LEFT JOIN ( @@ -193,7 +196,7 @@ AND t3.delete_date IS NULL UNION SELECT t1.id, - t4.require_counts + sum(t4.require_counts) as require_counts FROM workstation_dict t1 LEFT JOIN workstation_require_mapping t2 ON t1.id = t2.station_id @@ -205,6 +208,7 @@ AND t2.delete_date IS NULL AND t3.delete_date IS NULL AND t4.delete_date IS NULL + group by t1.id ) t5 ) t8 ON t1.id = t8.id WHERE diff --git a/src/main/resources/mapper/WorkstationRequireMappingMapper.xml b/src/main/resources/mapper/WorkstationRequireMappingMapper.xml index e138328..5bf99a7 100644 --- a/src/main/resources/mapper/WorkstationRequireMappingMapper.xml +++ b/src/main/resources/mapper/WorkstationRequireMappingMapper.xml @@ -42,6 +42,7 @@ AND t2.delete_date IS NULL and t3.delete_date is null and t4.delete_date is null + and t.origin_id is null and t.item_name like concat('%', #{itemName}, '%') @@ -63,6 +64,9 @@ and t4.station_id = #{stationId} + + and t.origin_id is null +