pom.xml
3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?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">
<parent>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-cloud</artifactId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>parking-module-order</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>订单模块:停车订单、支付订单、欠费、结算。存量来源 zteits-order(958 类 + 149 mapper XML)。</description>
<dependencies>
<!-- 存量契约(老 zteits-api 的 416 个接口 + 947 个 DTO,包名 com.zteits.clouds.api.* 原样保留) -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-module-api</artifactId>
</dependency>
<!-- 存量公共库(老 zteits-framework 的 com.clouds.common.*)。
⚠️ 它的第三方位依赖非常重(报表/PDF/短信/地图…),
但那些正是存量代码编译所必需的,详见 parking-legacy-common 的说明。 -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-legacy-common</artifactId>
</dependency>
<!-- MyBatis-Plus + 存量 mapper XML 共用一套 SqlSessionFactory;
顺带带来 pagehelper(存量分页)与 druid/mysql 驱动 -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-spring-boot-starter-mybatis</artifactId>
</dependency>
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-spring-boot-starter-web</artifactId>
</dependency>
<!-- Controller 上的 @PreAuthorize 需要它。它其实也会经 parking-legacy-common
(→ LoginUserBridge)传递过来,这里仍然显式声明一遍:一是让本模块对 Spring Security
的依赖是"看得见"的,二是 starter-mybatis 那边把 security 声明成了 <scope>provided</scope>
(它自己只为 DefaultDBFieldHandler 用),provided 不传递,不能指望它。
system / park / pay 也是显式声明的。 -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-spring-boot-starter-security</artifactId>
</dependency>
<!-- 第二百七十九切片:欠费统计的 3 条 ajax 导出是「EasyExcel 模板填充 → 临时文件 → 上传 → 回 URL」,
必须直接持有 EasyExcel。版本由 parking-dependencies 统一管理(3.3.4),
这里只声明坐标。存量写法是 2.x 时代的 `EasyExcel.write(file).withTemplate(file)`
+ `excelWriter.fill(data, sheet)` / `excelWriter.write(rows, sheet)` ——
已逐条核对 3.3.4 仍有同签名重载(javap 实测),所以控制器的代码可以逐字搬。 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>