- 实现水表入库/安装/换表/报废的完整生命周期管理 - 添加详细的操作日志记录,支持操作人、时间戳、照片等 - 实现库存统计功能,按状态、口径、类型、制造商分类统计 - 添加 REST API 接口,支持水表操作和查询 - 创建 DTO 类用于数据传输 - 添加数据库升级脚本,支持新增字段和视图创建 - 插入测试数据验证功能完整性 功能包括: 1. 水表入库操作及日志记录 2. 水表安装操作,继承客户信息 3. 故障换表操作,自动完成新旧表状态转换 4. 水表报废操作,记录报废原因 5. 全生命周期日志查询 6. 库存统计分析 7. 水表详情查询 8. 最近操作记录查询 关闭 Issue #53: [表务] 水表全生命周期管理(入库/安装/换表/报废)
149 lines
5.0 KiB
XML
149 lines
5.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>com.water</groupId>
|
|
<artifactId>wm-parent</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>wm-revenue</artifactId>
|
|
<version>1.0.0</version>
|
|
<name>Water Management System - Revenue Service</name>
|
|
<description>智慧水务营业收费服务</description>
|
|
|
|
<dependencies>
|
|
<!-- Spring Boot Starter -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring Boot Actuator for monitoring -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Database -->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- JSON Processing -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Lombok -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Swagger/OpenAPI -->
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
<version>1.7.0</version>
|
|
</dependency>
|
|
|
|
<!-- Database Migration -->
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring Task Scheduling -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Quartz Scheduling (optional) -->
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<version>2.3.2</version>
|
|
</dependency>
|
|
|
|
<!-- Payment Gateway Integration -->
|
|
<dependency>
|
|
<groupId>com.alipay.sdk</groupId>
|
|
<artifactId>alipay-sdk-java</artifactId>
|
|
<version>4.35.71.ALL</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.wxpay</groupId>
|
|
<artifactId>wxpay-sdk</artifactId>
|
|
<version>0.0.3</version>
|
|
</dependency>
|
|
|
|
<!-- Logging -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test Dependencies -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
<version>9.22.3</version>
|
|
<configuration>
|
|
<url>jdbc:postgresql://localhost:5432/water_revenue</url>
|
|
<user>postgres</user>
|
|
<password>password</password>
|
|
<locations>classpath:db,migration</locations>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |