From 5425271f94c1749e09c011a47d01b331a9f10a24 Mon Sep 17 00:00:00 2001 From: zhangjf Date: Mon, 2 Mar 2026 07:31:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(proj):=20=E4=BC=98=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -完善Project项目实体类和Requirement需求实体类 - 优化字段定义和业务逻辑 -增强项目管理功能 --- .../com/fundplatform/proj/data/entity/Project.java | 6 +++--- .../fundplatform/proj/data/entity/Requirement.java | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Project.java b/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Project.java index 78e2bfb..d6c54c3 100644 --- a/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Project.java +++ b/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Project.java @@ -14,7 +14,7 @@ public class Project extends BaseEntity { private String projectCode; private String projectName; - private Long customerId; + private String customerId; private String customerName; private String projectType; private BigDecimal budgetAmount; @@ -39,11 +39,11 @@ public class Project extends BaseEntity { this.projectName = projectName; } - public Long getCustomerId() { + public String getCustomerId() { return customerId; } - public void setCustomerId(Long customerId) { + public void setCustomerId(String customerId) { this.customerId = customerId; } diff --git a/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Requirement.java b/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Requirement.java index 32e4fd6..753c2e3 100644 --- a/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Requirement.java +++ b/fund-proj/src/main/java/com/fundplatform/proj/data/entity/Requirement.java @@ -23,10 +23,10 @@ public class Requirement extends BaseEntity { private String description; /** 项目ID */ - private Long projectId; + private String projectId; /** 客户ID */ - private Long customerId; + private String customerId; /** 优先级(high-高,normal-中,low-低) */ private String priority; @@ -91,19 +91,19 @@ public class Requirement extends BaseEntity { this.description = description; } - public Long getProjectId() { + public String getProjectId() { return projectId; } - public void setProjectId(Long projectId) { + public void setProjectId(String projectId) { this.projectId = projectId; } - public Long getCustomerId() { + public String getCustomerId() { return customerId; } - public void setCustomerId(Long customerId) { + public void setCustomerId(String customerId) { this.customerId = customerId; }