Files
water-management-system/wm-revenue/pom.xml
T
bot_dev1 6860aab376 feat: 实现 Issue #51 - 营业收费账单生成 + 多支付渠道收费功能
## 自动账单生成
- 实现按抄表周期的自动账单生成调度
- 集成阶梯水价计算(居民/商业/企业不同档次)
- 支持水费+污水处理费计算
- 添加账单状态管理(待缴费/部分缴费/已缴费/逾期)

## 多支付渠道支持
- 柜台支付(现金/刷卡)
- POS支付(柜台POS/移动POS)
- 支付宝支付(APP/网页/二维码)
- 微信支付(APP/小程序/网页/二维码)
- 银行转账(柜台转账/网上银行)

## 缴费记录管理
- 完整的支付流水记录
- 支付渠道状态监控
- 支付统计分析报表
- 欠费处理机制
- 对账功能支持

## 数据库增强
- 创建支付方式/渠道配置表
- 添加支付统计/流水表
- 完善账单生命周期管理
- 添加支付触发器
- 支持批量账单生成

## API接口
- RESTful支付接口
- 支持单笔/批量缴费
- 支付统计接口
- 账单管理接口
- 支付渠道管理接口

## 技术特性
- Spring Boot + JPA
- 定时任务调度
- 多线程处理
- 异步支付处理
- 完整的错误处理机制

解决 Issue #51: [营业收费] 账单生成 + 多支付渠道收费
2026-06-14 20:42:34 +08:00

148 lines
4.9 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>water-management-system</artifactId>
<version>1.0.0</version>
</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>