From 35bc8dcc9ea1ed1acebdbd4524b6030e03c5509e Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Fri, 14 Mar 2025 10:18:36 +0800 Subject: [PATCH] refactor: contact misspelling --- .../java/io/cordys/common/constants/BusinessModuleField.java | 2 +- .../crm/opportunity/controller/OpportunityController.java | 1 - backend/crm/src/main/resources/form/field.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/crm/src/main/java/io/cordys/common/constants/BusinessModuleField.java b/backend/crm/src/main/java/io/cordys/common/constants/BusinessModuleField.java index 0ae567304..bf930fc46 100644 --- a/backend/crm/src/main/java/io/cordys/common/constants/BusinessModuleField.java +++ b/backend/crm/src/main/java/io/cordys/common/constants/BusinessModuleField.java @@ -65,7 +65,7 @@ public enum BusinessModuleField { /** * 联系人 */ - OPPORTUNITY_CONTACT("opportunityContract", "contractId",Set.of("rules")), + OPPORTUNITY_CONTACT("opportunityContact", "contactId",Set.of("rules")), /** * 负责人 diff --git a/backend/crm/src/main/java/io/cordys/crm/opportunity/controller/OpportunityController.java b/backend/crm/src/main/java/io/cordys/crm/opportunity/controller/OpportunityController.java index 0ad7d8289..2a3eade59 100644 --- a/backend/crm/src/main/java/io/cordys/crm/opportunity/controller/OpportunityController.java +++ b/backend/crm/src/main/java/io/cordys/crm/opportunity/controller/OpportunityController.java @@ -16,7 +16,6 @@ import io.cordys.crm.opportunity.dto.response.OpportunityListResponse; import io.cordys.crm.opportunity.service.OpportunityService; import io.cordys.crm.system.dto.response.ModuleFormConfigDTO; import io.cordys.crm.system.service.ModuleFormCacheService; -import io.cordys.crm.system.service.ModuleFormService; import io.cordys.security.SessionUtils; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; diff --git a/backend/crm/src/main/resources/form/field.json b/backend/crm/src/main/resources/form/field.json index 8ab9634e6..a507f370d 100644 --- a/backend/crm/src/main/resources/form/field.json +++ b/backend/crm/src/main/resources/form/field.json @@ -414,7 +414,7 @@ }, { "name": "联系人", - "internalKey": "opportunityContract", + "internalKey": "opportunityContact", "type": "DATA_SOURCE", "dataSourceType": "CONTACT", "multiple": false,