初始化

This commit is contained in:
lhx
2025-11-12 11:45:35 +08:00
parent 24ad0eadca
commit e1ae4b80b1
88 changed files with 2858 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{
"permissions": {
"allow": [
"Bash(tree src/main/java -L 3 -I 'target')",
"Bash(find src/main/java/com/dc/dc_project/controller -name \"*.java\" -exec wc -l {} +)"
],
"deny": [],
"ask": []
}
}

167
CLAUDE.md Normal file
View File

@@ -0,0 +1,167 @@
# CLAUDE.md
- 对话过程使用简体中文交流;
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
This is a **laboratory management system** built with Spring Boot 3.5.7 and Java 17. The application provides functionality for managing laboratories, equipment, personnel, and test records.
## Tech Stack
- **Framework**: Spring Boot 3.5.7
- **Java Version**: 17
- **Build Tool**: Maven
- **Database**: MySQL 8.3.0
- **ORM**: MyBatis-Plus 3.5.14
- **Authentication**: Sa-Token 1.44.0
- **Cache**: Redis
- **Database Pool**: Druid 1.2.23
- **API Docs**: SpringDoc OpenAPI 2.3.0
- **JSON**: FastJSON2 2.0.46
- **Utilities**: Hutool 5.8.24, Lombok 1.18.34
## Architecture
The project follows a standard layered architecture:
```
com.dc.dc_project/
├── config/ # Configuration classes
├── controller/ # REST API endpoints (currently empty)
├── service/ # Business logic
│ └── impl/ # Service implementations
├── mapper/ # MyBatis-Plus data access layer
├── model/ # Data models
│ ├── pojo/ # Entity models (database tables)
│ ├── dto/ # Data Transfer Objects
│ ├── vo/ # View Objects
│ └── Base.java # Base model class
├── enums/ # Enumerations (currently empty)
└── DcProjectApplication.java
```
## Common Commands
### Build and Run
```bash
# Build the project
./mvnw clean compile
# Package the application
./mvnw clean package -DskipTests
# Run the application
./mvnw spring-boot:run
# Run with specific profile
./mvnw spring-boot:run -Dspring-boot.run.profiles=dev
```
### Testing
```bash
# Run all tests
./mvnw test
# Run a single test class
./mvnw test -Dtest=DcProjectApplicationTests
# Run tests with verbose output
./mvnw test -X
```
### Database Operations
```bash
# Run migrations (if using Flyway/Liquibase)
# None configured - migrations are handled manually
# Generate MyBatis-Plus code
# Use the generator package: src/main/resources/generator/
```
## Key Configuration
### Database
- **MySQL Database**: `dc_lab_system`
- **Connection**: Configured in `src/main/resources/application.yml`
- **Mapper Files**: Located in `src/main/resources/mapper/`
- **Pagination**: MySQL dialect with PaginationInnerInterceptor
### Authentication
- **Sa-Token**: Configured in `config/SaTokenConfigure.java`
- **Protected Routes**: `/project/**` paths require authentication
- **Token Name**: `token`
### Redis
- **Host**: 117.72.219.63 (configured in application.yml)
- **Database**: 1
- Used for session management and caching
## Development Patterns
### Data Access Layer
- Mappers extend `BaseMapper<T>` from MyBatis-Plus
- Mapper XML files define resultMap and SQL snippets
- Automatic CRUD operations available through base interface
Example:
```java
public interface UserMapper extends BaseMapper<User> {
// CRUD methods automatically available
}
```
### Service Layer
- Services implement custom interfaces
- ServiceImpl classes extend `ServiceImpl<Mapper, Entity>`
- Example: `EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment> implements EquipmentService`
### Models
- Entities use MyBatis-Plus annotations (`@TableName`, `@TableId`, `@TableField`)
- Lombok `@Data` annotation generates getters/setters
- Entities include common fields: id, createdAt, updatedAt, isDeleted
### Authentication
- Use `StpUtil.checkLogin()` to verify authentication
- Sa-Token automatically validates tokens from requests
- Manual token management via `StpUtil.login()`, `StpUtil.logout()`
## Domain Entities
The system manages the following core entities:
- **User**: System users with roles and permissions
- **Role**: User roles
- **Permission**: System permissions
- **Org**: Organizations/departments
- **Personnel**: Lab personnel
- **Laboratory**: Laboratory information
- **Equipment**: Equipment inventory
- **Record**: Test records
- **RecordSample**: Samples for testing
- **RecordEntrust**: Entrusted tests
- **RecordResult**: Test results
- **RecordReport**: Test reports
- **Standard**: Testing standards
- **StandardCategory**: Standard categories
- **StandardParam**: Standard parameters
## API Documentation
- **Swagger UI**: Available at `/swagger-ui.html` (when running)
- **OpenAPI JSON**: Available at `/v3/api-docs`
## Current Project Status
- **Database models**: Complete with 20+ entity classes
- **Mapper layer**: Complete with XML files for all entities
- **Service layer**: Interface definitions exist, implementations are minimal
- **Controller layer**: Empty - needs implementation
- **Tests**: Basic Spring Boot test configured
## Notes
- File upload limit: 100MB (configured in application.yml)
- SQL logging enabled with `StdOutImpl` for debugging
- Hutool utilities available for common operations
- FastJSON2 used for JSON serialization

407
logs/error.log Normal file
View File

@@ -0,0 +1,407 @@
2025-11-12 11:12:09.096 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:12:34.914 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:13:55.151 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:14:46.096 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:16:16.626 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:15)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:21:50.223 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:23:26.911 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:24:58.704 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:35:39.010 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:36:38.395 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:43:17.865 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted

473
logs/info.log Normal file
View File

@@ -0,0 +1,473 @@
2025-11-12 11:12:08.521 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 17916 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:12:08.523 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:12:09.074 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:12:09.080 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:12:09.096 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:12:34.415 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 16096 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:12:34.417 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:12:34.894 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:12:34.901 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:12:34.914 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:13:54.655 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 22232 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:13:54.656 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:13:55.133 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:13:55.139 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:13:55.151 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:14:45.604 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 2844 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:14:45.606 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:14:46.078 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:14:46.083 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:14:46.096 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:16:16.126 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 9152 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:16:16.128 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:16:16.608 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:16:16.614 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:16:16.626 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:15)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:21:49.741 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 17424 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:21:49.743 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:21:50.203 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:21:50.211 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:21:50.223 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:23:26.423 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 14704 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:23:26.425 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:23:26.891 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:23:26.897 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:23:26.911 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:24:58.205 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 20664 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:24:58.206 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:24:58.685 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:24:58.691 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:24:58.704 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:35:38.520 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 15104 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:35:38.522 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:35:38.989 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:35:38.995 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:35:39.010 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:36:37.914 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 22452 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:36:37.916 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:36:38.375 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:36:38.380 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:36:38.395 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted
2025-11-12 11:43:17.368 [main] INFO com.dc.dc_project.DcProjectApplication:53 - Starting DcProjectApplication using Java 17.0.14 with PID 16556 (C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project\target\classes started by ADMIN in C:\Users\ADMIN\xwechat_files\wxid_570z99ip0ikt29_1d4f\msg\file\dc_project)
2025-11-12 11:43:17.370 [main] INFO com.dc.dc_project.DcProjectApplication:652 - No active profile set, falling back to 1 default profile: "default"
2025-11-12 11:43:17.841 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:635 - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
2025-11-12 11:43:17.849 [main] INFO o.s.b.a.logging.ConditionEvaluationReportLogger:82 -
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2025-11-12 11:43:17.865 [main] ERROR org.springframework.boot.SpringApplication:857 - Application run failed
java.lang.IllegalStateException: Failed to generate bean name for imported class 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration'
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:167)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:141)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:430)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.dc.dc_project.DcProjectApplication.main(DcProjectApplication.java:14)
Caused by: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:372)
at org.springframework.core.annotation.TypeMappedAnnotation.adapt(TypeMappedAnnotation.java:466)
at org.springframework.core.annotation.TypeMappedAnnotation.getValue(TypeMappedAnnotation.java:391)
at org.springframework.core.annotation.TypeMappedAnnotation.asMap(TypeMappedAnnotation.java:278)
at org.springframework.core.annotation.AbstractMergedAnnotation.asAnnotationAttributes(AbstractMergedAnnotation.java:191)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotationBeanNameGenerator.java:147)
at org.springframework.context.annotation.AnnotationBeanNameGenerator.generateBeanName(AnnotationBeanNameGenerator.java:113)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.registerBeanDefinitionForImportedConfigurationClass(ConfigurationClassBeanDefinitionReader.java:163)
... 15 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:321)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:362)
... 22 common frames omitted

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Equipment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_equipment(设备台账表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Equipment
*/
public interface EquipmentMapper extends BaseMapper<Equipment> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.File;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_file(通用文件信息表(文件存储记录))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.File
*/
public interface FileMapper extends BaseMapper<File> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Org;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_org(组织架构表(公司/项目部/试验室))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Org
*/
public interface OrgMapper extends BaseMapper<Org> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_permission(系统权限表(菜单/接口控制))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Permission
*/
public interface PermissionMapper extends BaseMapper<Permission> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Personnel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_personnel(人员台账表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Personnel
*/
public interface PersonnelMapper extends BaseMapper<Personnel> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RecordEntrustItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record_entrust_item(委托单检测项目明细表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RecordEntrustItem
*/
public interface RecordEntrustItemMapper extends BaseMapper<RecordEntrustItem> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RecordEntrust;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record_entrust(检测委托单)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RecordEntrust
*/
public interface RecordEntrustMapper extends BaseMapper<RecordEntrust> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RecordLedger;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record_ledger(检测成果台账表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RecordLedger
*/
public interface RecordLedgerMapper extends BaseMapper<RecordLedger> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Record;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record(检测记录表(实际检测过程))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Record
*/
public interface RecordMapper extends BaseMapper<Record> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RecordReport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record_report(检测报告表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RecordReport
*/
public interface RecordReportMapper extends BaseMapper<RecordReport> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RecordResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record_result(检测结果表(支持参数层级结构))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RecordResult
*/
public interface RecordResultMapper extends BaseMapper<RecordResult> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RecordSample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_record_sample(检测样品信息表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RecordSample
*/
public interface RecordSampleMapper extends BaseMapper<RecordSample> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_role(系统角色表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Role
*/
public interface RoleMapper extends BaseMapper<Role> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RoleOrg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_role_org(角色-组织关系表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RoleOrg
*/
public interface RoleOrgMapper extends BaseMapper<RoleOrg> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_role_permission(角色-权限关系表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.RolePermission
*/
public interface RolePermissionMapper extends BaseMapper<RolePermission> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.StandardCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_standard_category(标准分类表(行业/专业领域))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.StandardCategory
*/
public interface StandardCategoryMapper extends BaseMapper<StandardCategory> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.Standard;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_standard(检测标准主表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.Standard
*/
public interface StandardMapper extends BaseMapper<Standard> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.StandardParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_standard_param(标准参数表(检测项目与合格判定规则))】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.StandardParam
*/
public interface StandardParamMapper extends BaseMapper<StandardParam> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_user(系统用户表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.User
*/
public interface UserMapper extends BaseMapper<User> {
}

View File

@@ -0,0 +1,18 @@
package com.dc.dc_project.mapper;
import com.dc.dc_project.model.pojo.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @author ADMIN
* @description 针对表【sys_user_role(用户-角色关系表)】的数据库操作Mapper
* @createDate 2025-11-12 09:41:21
* @Entity generator.pojo.UserRole
*/
public interface UserRoleMapper extends BaseMapper<UserRole> {
}

View File

@@ -0,0 +1,82 @@
package com.dc.dc_project.model.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* 试验室信息表
* @TableName sys_laboratory
*/
@TableName(value ="sys_laboratory")
@Data
public class Laboratory {
/**
*
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 坐标
*/
@TableField(value = "coordinate_a")
private String coordinateA;
/**
* 坐标2
*/
@TableField(value = "coordinate_b")
private String coordinateB;
/**
* 关联组织
*/
@TableField(value = "org_id")
private Long orgId;
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Laboratory other = (Laboratory) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getCoordinateA() == null ? other.getCoordinateA() == null : this.getCoordinateA().equals(other.getCoordinateA()))
&& (this.getCoordinateB() == null ? other.getCoordinateB() == null : this.getCoordinateB().equals(other.getCoordinateB()))
&& (this.getOrgId() == null ? other.getOrgId() == null : this.getOrgId().equals(other.getOrgId()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getCoordinateA() == null) ? 0 : getCoordinateA().hashCode());
result = prime * result + ((getCoordinateB() == null) ? 0 : getCoordinateB().hashCode());
result = prime * result + ((getOrgId() == null) ? 0 : getOrgId().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", coordinateA=").append(coordinateA);
sb.append(", coordinateB=").append(coordinateB);
sb.append(", orgId=").append(orgId);
sb.append("]");
return sb.toString();
}
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Equipment;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_equipment(设备台账表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface EquipmentService extends IService<Equipment> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.File;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_file(通用文件信息表(文件存储记录))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface FileService extends IService<File> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Laboratory;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_laboratory(试验室信息表)】的数据库操作Service
* @createDate 2025-11-12 10:49:22
*/
public interface LaboratoryService extends IService<Laboratory> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Org;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_org(组织架构表(公司/项目部/试验室))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface OrgService extends IService<Org> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_permission(系统权限表(菜单/接口控制))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface PermissionService extends IService<Permission> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Personnel;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_personnel(人员台账表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface PersonnelService extends IService<Personnel> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RecordEntrustItem;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record_entrust_item(委托单检测项目明细表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordEntrustItemService extends IService<RecordEntrustItem> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RecordEntrust;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record_entrust(检测委托单)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordEntrustService extends IService<RecordEntrust> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RecordLedger;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record_ledger(检测成果台账表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordLedgerService extends IService<RecordLedger> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RecordReport;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record_report(检测报告表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordReportService extends IService<RecordReport> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RecordResult;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record_result(检测结果表(支持参数层级结构))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordResultService extends IService<RecordResult> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RecordSample;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record_sample(检测样品信息表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordSampleService extends IService<RecordSample> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Record;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_record(检测记录表(实际检测过程))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RecordService extends IService<Record> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RoleOrg;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_role_org(角色-组织关系表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RoleOrgService extends IService<RoleOrg> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_role_permission(角色-权限关系表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RolePermissionService extends IService<RolePermission> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_role(系统角色表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface RoleService extends IService<Role> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.StandardCategory;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_standard_category(标准分类表(行业/专业领域))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface StandardCategoryService extends IService<StandardCategory> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.StandardParam;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_standard_param(标准参数表(检测项目与合格判定规则))】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface StandardParamService extends IService<StandardParam> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.Standard;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_standard(检测标准主表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface StandardService extends IService<Standard> {
}

View File

@@ -0,0 +1,13 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author ADMIN
* @description 针对表【sys_user_role(用户-角色关系表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
public interface UserRoleService extends IService<UserRole> {
}

View File

@@ -0,0 +1,16 @@
package com.dc.dc_project.service;
import com.dc.dc_project.model.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
/**
* @author ADMIN
* @description 针对表【sys_user(系统用户表)】的数据库操作Service
* @createDate 2025-11-12 09:41:21
*/
@Service
public interface UserService extends IService<User> {
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Equipment;
import com.dc.dc_project.service.EquipmentService;
import com.dc.dc_project.mapper.EquipmentMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_equipment(设备台账表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment>
implements EquipmentService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.File;
import com.dc.dc_project.service.FileService;
import com.dc.dc_project.mapper.FileMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_file(通用文件信息表(文件存储记录))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class FileServiceImpl extends ServiceImpl<FileMapper, File>
implements FileService{
}

View File

@@ -0,0 +1,22 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Laboratory;
import com.dc.dc_project.service.LaboratoryService;
import com.dc.dc_project.mapper.LaboratoryMapper;
import org.springframework.stereotype.Service;
/**
* @author ADMIN
* @description 针对表【sys_laboratory(试验室信息表)】的数据库操作Service实现
* @createDate 2025-11-12 10:49:22
*/
@Service
public class LaboratoryServiceImpl extends ServiceImpl<LaboratoryMapper, Laboratory>
implements LaboratoryService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Org;
import com.dc.dc_project.service.OrgService;
import com.dc.dc_project.mapper.OrgMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_org(组织架构表(公司/项目部/试验室))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class OrgServiceImpl extends ServiceImpl<OrgMapper, Org>
implements OrgService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Permission;
import com.dc.dc_project.service.PermissionService;
import com.dc.dc_project.mapper.PermissionMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_permission(系统权限表(菜单/接口控制))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission>
implements PermissionService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Personnel;
import com.dc.dc_project.service.PersonnelService;
import com.dc.dc_project.mapper.PersonnelMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_personnel(人员台账表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class PersonnelServiceImpl extends ServiceImpl<PersonnelMapper, Personnel>
implements PersonnelService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RecordEntrustItem;
import com.dc.dc_project.service.RecordEntrustItemService;
import com.dc.dc_project.mapper.RecordEntrustItemMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record_entrust_item(委托单检测项目明细表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordEntrustItemServiceImpl extends ServiceImpl<RecordEntrustItemMapper, RecordEntrustItem>
implements RecordEntrustItemService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RecordEntrust;
import com.dc.dc_project.service.RecordEntrustService;
import com.dc.dc_project.mapper.RecordEntrustMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record_entrust(检测委托单)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordEntrustServiceImpl extends ServiceImpl<RecordEntrustMapper, RecordEntrust>
implements RecordEntrustService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RecordLedger;
import com.dc.dc_project.service.RecordLedgerService;
import com.dc.dc_project.mapper.RecordLedgerMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record_ledger(检测成果台账表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordLedgerServiceImpl extends ServiceImpl<RecordLedgerMapper, RecordLedger>
implements RecordLedgerService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RecordReport;
import com.dc.dc_project.service.RecordReportService;
import com.dc.dc_project.mapper.RecordReportMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record_report(检测报告表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordReportServiceImpl extends ServiceImpl<RecordReportMapper, RecordReport>
implements RecordReportService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RecordResult;
import com.dc.dc_project.service.RecordResultService;
import com.dc.dc_project.mapper.RecordResultMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record_result(检测结果表(支持参数层级结构))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordResultServiceImpl extends ServiceImpl<RecordResultMapper, RecordResult>
implements RecordResultService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RecordSample;
import com.dc.dc_project.service.RecordSampleService;
import com.dc.dc_project.mapper.RecordSampleMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record_sample(检测样品信息表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordSampleServiceImpl extends ServiceImpl<RecordSampleMapper, RecordSample>
implements RecordSampleService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Record;
import com.dc.dc_project.service.RecordService;
import com.dc.dc_project.mapper.RecordMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_record(检测记录表(实际检测过程))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RecordServiceImpl extends ServiceImpl<RecordMapper, Record>
implements RecordService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RoleOrg;
import com.dc.dc_project.service.RoleOrgService;
import com.dc.dc_project.mapper.RoleOrgMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_role_org(角色-组织关系表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RoleOrgServiceImpl extends ServiceImpl<RoleOrgMapper, RoleOrg>
implements RoleOrgService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.RolePermission;
import com.dc.dc_project.service.RolePermissionService;
import com.dc.dc_project.mapper.RolePermissionMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_role_permission(角色-权限关系表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RolePermissionServiceImpl extends ServiceImpl<RolePermissionMapper, RolePermission>
implements RolePermissionService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Role;
import com.dc.dc_project.service.RoleService;
import com.dc.dc_project.mapper.RoleMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_role(系统角色表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
implements RoleService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.StandardCategory;
import com.dc.dc_project.service.StandardCategoryService;
import com.dc.dc_project.mapper.StandardCategoryMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_standard_category(标准分类表(行业/专业领域))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class StandardCategoryServiceImpl extends ServiceImpl<StandardCategoryMapper, StandardCategory>
implements StandardCategoryService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.StandardParam;
import com.dc.dc_project.service.StandardParamService;
import com.dc.dc_project.mapper.StandardParamMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_standard_param(标准参数表(检测项目与合格判定规则))】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class StandardParamServiceImpl extends ServiceImpl<StandardParamMapper, StandardParam>
implements StandardParamService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.Standard;
import com.dc.dc_project.service.StandardService;
import com.dc.dc_project.mapper.StandardMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_standard(检测标准主表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class StandardServiceImpl extends ServiceImpl<StandardMapper, Standard>
implements StandardService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.UserRole;
import com.dc.dc_project.service.UserRoleService;
import com.dc.dc_project.mapper.UserRoleMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_user_role(用户-角色关系表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole>
implements UserRoleService{
}

View File

@@ -0,0 +1,24 @@
package com.dc.dc_project.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dc.dc_project.model.pojo.User;
import com.dc.dc_project.service.UserService;
import com.dc.dc_project.mapper.UserMapper;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
* @author ADMIN
* @description 针对表【sys_user(系统用户表)】的数据库操作Service实现
* @createDate 2025-11-12 09:41:21
*/
@Service
@Slf4j
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
implements UserService{
}

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.EquipmentMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Equipment">
<id property="id" column="id" />
<result property="org_id" column="org_id" />
<result property="name" column="name" />
<result property="model" column="model" />
<result property="manufacturer" column="manufacturer" />
<result property="serial_no" column="serial_no" />
<result property="purchase_date" column="purchase_date" />
<result property="price" column="price" />
<result property="range_value" column="range_value" />
<result property="accuracy" column="accuracy" />
<result property="status" column="status" />
<result property="calibration_org" column="calibration_org" />
<result property="calibration_date" column="calibration_date" />
<result property="valid_until" column="valid_until" />
<result property="remind_days" column="remind_days" />
<result property="location" column="location" />
<result property="responsible_user" column="responsible_user" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="created_by" column="created_by" />
<result property="updated_by" column="updated_by" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,org_id,name,model,manufacturer,serial_no,
purchase_date,price,range_value,accuracy,status,
calibration_org,calibration_date,valid_until,remind_days,location,
responsible_user,remark,created_at,updated_at,created_by,
updated_by,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.FileMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.File">
<id property="id" column="id" />
<result property="ref_table" column="ref_table" />
<result property="ref_id" column="ref_id" />
<result property="file_name" column="file_name" />
<result property="file_ext" column="file_ext" />
<result property="file_type" column="file_type" />
<result property="file_size" column="file_size" />
<result property="file_url" column="file_url" />
<result property="storage_type" column="storage_type" />
<result property="hash_code" column="hash_code" />
<result property="uploader_id" column="uploader_id" />
<result property="uploader_name" column="uploader_name" />
<result property="upload_time" column="upload_time" />
<result property="remark" column="remark" />
<result property="is_deleted" column="is_deleted" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
</resultMap>
<sql id="Base_Column_List">
id,ref_table,ref_id,file_name,file_ext,file_type,
file_size,file_url,storage_type,hash_code,uploader_id,
uploader_name,upload_time,remark,is_deleted,created_at,
updated_at
</sql>
</mapper>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.LaboratoryMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Laboratory">
<id property="id" column="id" />
<result property="coordinateA" column="coordinate_a" />
<result property="coordinateB" column="coordinate_b" />
<result property="orgId" column="org_id" />
</resultMap>
<sql id="Base_Column_List">
id,coordinate_a,coordinate_b,org_id
</sql>
</mapper>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.OrgMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Org">
<id property="id" column="id" />
<result property="parent_id" column="parent_id" />
<result property="name" column="name" />
<result property="type" column="type" />
<result property="code" column="code" />
<result property="sort_order" column="sort_order" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,parent_id,name,type,code,sort_order,
remark,created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.PermissionMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Permission">
<id property="id" column="id" />
<result property="parent_id" column="parent_id" />
<result property="name" column="name" />
<result property="code" column="code" />
<result property="type" column="type" />
<result property="path" column="path" />
<result property="method" column="method" />
<result property="icon" column="icon" />
<result property="sort_order" column="sort_order" />
<result property="status" column="status" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,parent_id,name,code,type,path,
method,icon,sort_order,status,remark,
created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.PersonnelMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Personnel">
<id property="id" column="id" />
<result property="org_id" column="org_id" />
<result property="user_id" column="user_id" />
<result property="name" column="name" />
<result property="position" column="position" />
<result property="contact_phone" column="contact_phone" />
<result property="email" column="email" />
<result property="main_responsibility" column="main_responsibility" />
<result property="remark" column="remark" />
<result property="status" column="status" />
<result property="created_by" column="created_by" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,org_id,user_id,name,position,contact_phone,
email,main_responsibility,remark,status,created_by,
created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordEntrustItemMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RecordEntrustItem">
<id property="id" column="id" />
<result property="entrust_id" column="entrust_id" />
<result property="standard_id" column="standard_id" />
<result property="param_id" column="param_id" />
<result property="item_name" column="item_name" />
<result property="sample_count" column="sample_count" />
<result property="test_method" column="test_method" />
<result property="status" column="status" />
<result property="remark" column="remark" />
</resultMap>
<sql id="Base_Column_List">
id,entrust_id,standard_id,param_id,item_name,sample_count,
test_method,status,remark
</sql>
</mapper>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordEntrustMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RecordEntrust">
<id property="id" column="id" />
<result property="entrust_no" column="entrust_no" />
<result property="org_id" column="org_id" />
<result property="client_name" column="client_name" />
<result property="entrust_date" column="entrust_date" />
<result property="contact_name" column="contact_name" />
<result property="contact_phone" column="contact_phone" />
<result property="sample_name" column="sample_name" />
<result property="sample_code" column="sample_code" />
<result property="sample_type" column="sample_type" />
<result property="receive_date" column="receive_date" />
<result property="test_type" column="test_type" />
<result property="status" column="status" />
<result property="remark" column="remark" />
<result property="created_by" column="created_by" />
<result property="updated_by" column="updated_by" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,entrust_no,org_id,client_name,entrust_date,contact_name,
contact_phone,sample_name,sample_code,sample_type,receive_date,
test_type,status,remark,created_by,updated_by,
created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordLedgerMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RecordLedger">
<id property="id" column="id" />
<result property="report_id" column="report_id" />
<result property="org_id" column="org_id" />
<result property="ledger_no" column="ledger_no" />
<result property="report_no" column="report_no" />
<result property="sample_name" column="sample_name" />
<result property="sample_type" column="sample_type" />
<result property="test_item" column="test_item" />
<result property="test_standard" column="test_standard" />
<result property="entrust_unit" column="entrust_unit" />
<result property="report_date" column="report_date" />
<result property="test_date" column="test_date" />
<result property="result_summary" column="result_summary" />
<result property="result_flag" column="result_flag" />
<result property="export_flag" column="export_flag" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
</resultMap>
<sql id="Base_Column_List">
id,report_id,org_id,ledger_no,report_no,sample_name,
sample_type,test_item,test_standard,entrust_unit,report_date,
test_date,result_summary,result_flag,export_flag,remark,
created_at,updated_at
</sql>
</mapper>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Record">
<id property="id" column="id" />
<result property="sample_id" column="sample_id" />
<result property="operator_id" column="operator_id" />
<result property="record_date" column="record_date" />
<result property="equipment_id" column="equipment_id" />
<result property="temperature" column="temperature" />
<result property="humidity" column="humidity" />
<result property="status" column="status" />
<result property="remark" column="remark" />
<result property="created_by" column="created_by" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
</resultMap>
<sql id="Base_Column_List">
id,sample_id,operator_id,record_date,equipment_id,temperature,
humidity,status,remark,created_by,created_at,
updated_at
</sql>
</mapper>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordReportMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RecordReport">
<id property="id" column="id" />
<result property="report_no" column="report_no" />
<result property="entrust_id" column="entrust_id" />
<result property="issue_date" column="issue_date" />
<result property="reviewer_id" column="reviewer_id" />
<result property="approver_id" column="approver_id" />
<result property="status" column="status" />
<result property="conclusion" column="conclusion" />
<result property="file_url" column="file_url" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
</resultMap>
<sql id="Base_Column_List">
id,report_no,entrust_id,issue_date,reviewer_id,approver_id,
status,conclusion,file_url,remark,created_at,
updated_at
</sql>
</mapper>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordResultMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RecordResult">
<id property="id" column="id" />
<result property="record_id" column="record_id" />
<result property="param_id" column="param_id" />
<result property="parent_result_id" column="parent_result_id" />
<result property="param_name" column="param_name" />
<result property="unit" column="unit" />
<result property="measured_value" column="measured_value" />
<result property="judge_type" column="judge_type" />
<result property="min_value" column="min_value" />
<result property="max_value" column="max_value" />
<result property="result_flag" column="result_flag" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
</resultMap>
<sql id="Base_Column_List">
id,record_id,param_id,parent_result_id,param_name,unit,
measured_value,judge_type,min_value,max_value,result_flag,
remark,created_at
</sql>
</mapper>

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RecordSampleMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RecordSample">
<id property="id" column="id" />
<result property="entrust_id" column="entrust_id" />
<result property="sample_code" column="sample_code" />
<result property="sample_name" column="sample_name" />
<result property="sample_type" column="sample_type" />
<result property="sampling_date" column="sampling_date" />
<result property="sampling_point" column="sampling_point" />
<result property="sampling_position" column="sampling_position" />
<result property="representative_count" column="representative_count" />
<result property="condition_desc" column="condition_desc" />
<result property="storage_location" column="storage_location" />
<result property="status" column="status" />
<result property="remark" column="remark" />
<result property="created_by" column="created_by" />
<result property="updated_by" column="updated_by" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,entrust_id,sample_code,sample_name,sample_type,sampling_date,
sampling_point,sampling_position,representative_count,condition_desc,storage_location,
status,remark,created_by,updated_by,created_at,
updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RoleMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Role">
<id property="id" column="id" />
<result property="name" column="name" />
<result property="code" column="code" />
<result property="level" column="level" />
<result property="status" column="status" />
<result property="description" column="description" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,name,code,level,status,description,
created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RoleOrgMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RoleOrg">
<id property="id" column="id" />
<result property="role_id" column="role_id" />
<result property="org_id" column="org_id" />
<result property="created_at" column="created_at" />
<result property="created_by" column="created_by" />
</resultMap>
<sql id="Base_Column_List">
id,role_id,org_id,created_at,created_by
</sql>
</mapper>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.RolePermissionMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.RolePermission">
<id property="id" column="id" />
<result property="role_id" column="role_id" />
<result property="permission_id" column="permission_id" />
<result property="created_at" column="created_at" />
<result property="created_by" column="created_by" />
</resultMap>
<sql id="Base_Column_List">
id,role_id,permission_id,created_at,created_by
</sql>
</mapper>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.StandardCategoryMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.StandardCategory">
<id property="id" column="id" />
<result property="parent_id" column="parent_id" />
<result property="name" column="name" />
<result property="code" column="code" />
<result property="sort_order" column="sort_order" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,parent_id,name,code,sort_order,remark,
created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.StandardMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.Standard">
<id property="id" column="id" />
<result property="category_id" column="category_id" />
<result property="code" column="code" />
<result property="name" column="name" />
<result property="publish_date" column="publish_date" />
<result property="effective_date" column="effective_date" />
<result property="abolish_date" column="abolish_date" />
<result property="source_type" column="source_type" />
<result property="status" column="status" />
<result property="version_no" column="version_no" />
<result property="url" column="url" />
<result property="has_file" column="has_file" />
<result property="update_cycle" column="update_cycle" />
<result property="next_check_date" column="next_check_date" />
<result property="remark" column="remark" />
<result property="created_by" column="created_by" />
<result property="updated_by" column="updated_by" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,category_id,code,name,publish_date,effective_date,
abolish_date,source_type,status,version_no,url,
has_file,update_cycle,next_check_date,remark,created_by,
updated_by,created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.StandardParamMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.StandardParam">
<id property="id" column="id" />
<result property="standard_id" column="standard_id" />
<result property="param_code" column="param_code" />
<result property="param_name" column="param_name" />
<result property="param_alias" column="param_alias" />
<result property="unit" column="unit" />
<result property="min_value" column="min_value" />
<result property="max_value" column="max_value" />
<result property="judge_type" column="judge_type" />
<result property="default_value" column="default_value" />
<result property="precision_scale" column="precision_scale" />
<result property="method_desc" column="method_desc" />
<result property="judge_rule" column="judge_rule" />
<result property="group_code" column="group_code" />
<result property="remark" column="remark" />
<result property="created_by" column="created_by" />
<result property="updated_by" column="updated_by" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,standard_id,param_code,param_name,param_alias,unit,
min_value,max_value,judge_type,default_value,precision_scale,
method_desc,judge_rule,group_code,remark,created_by,
updated_by,created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.UserMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.User">
<id property="id" column="id" />
<result property="username" column="username" />
<result property="password" column="password" />
<result property="real_name" column="real_name" />
<result property="gender" column="gender" />
<result property="phone" column="phone" />
<result property="email" column="email" />
<result property="org_id" column="org_id" />
<result property="status" column="status" />
<result property="last_login_time" column="last_login_time" />
<result property="remark" column="remark" />
<result property="created_at" column="created_at" />
<result property="updated_at" column="updated_at" />
<result property="is_deleted" column="is_deleted" />
</resultMap>
<sql id="Base_Column_List">
id,username,password,real_name,gender,phone,
email,org_id,status,last_login_time,remark,
created_at,updated_at,is_deleted
</sql>
</mapper>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dc.dc_project.mapper.UserRoleMapper">
<resultMap id="BaseResultMap" type="com.dc.dc_project.model.pojo.UserRole">
<id property="id" column="id" />
<result property="user_id" column="user_id" />
<result property="role_id" column="role_id" />
<result property="created_at" column="created_at" />
<result property="created_by" column="created_by" />
</resultMap>
<sql id="Base_Column_List">
id,user_id,role_id,created_at,created_by
</sql>
</mapper>