|
|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm</artifactId>
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<artifactId>crm-opportunity</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
<name>crm-opportunity</name>
|
|
|
|
|
<description>CRM 商机业务模块:状态+阶段双轴/四视图/公海/暂缓/移交/转项目</description>
|
|
|
|
|
|
|
|
|
|
<!-- 依赖方向单向:crm-opportunity → crm-rule / crm-auth / crm-dict / crm-file / crm-preference / crm-customer / crm-base -->
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-base</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-auth</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-rule</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-dict</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-file</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-preference</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 客户模块真源(票 11,D14 依赖方向):商机侧切客户真源(联系人/搜索/关联校验)
|
|
|
|
|
+ 实现客户侧出站 port(CustomerOpportunityQueryPort/OpportunityOwnerSyncPort,
|
|
|
|
|
ADR-0029 范式);单向 opportunity → customer,crm-customer 不反向依赖本模块 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-customer</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 技术债(ADR-0029):下游依赖上游。实现 crm-lead 定义的 outbound port
|
|
|
|
|
OpportunityCreationPort(线索转商机)。方向不干净,一旦 crm-lead 需读商机会成环;
|
|
|
|
|
当前同库单体阶段可接受(ADR-0020),独立部署时随 0020 supersede 重设。 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.crm</groupId>
|
|
|
|
|
<artifactId>crm-lead</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 单元测试 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 集成测试:H2 MySQL 模式(仿 crm-auth/crm-dict 服务层 H2 集成测试范式) -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</project>
|