From ad6b7f0d80337bcddb1d694cc53bd6273c03149e Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期三, 11 十月 2023 11:10:58 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/crm/manager/entity/PriQuote.java | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/crm/manager/entity/PriQuote.java b/src/main/java/com/zy/crm/manager/entity/PriQuote.java
index e9e6be8..74069ef 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriQuote.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriQuote.java
@@ -107,6 +107,13 @@
private Long deptId;
/**
+ * hostId
+ */
+ @ApiModelProperty(value= "hostId")
+ @TableField("host_id")
+ private Long hostId;
+
+ /**
* 瀹℃牳杩涘害
*/
@ApiModelProperty(value= "瀹℃牳杩涘害")
@@ -121,8 +128,12 @@
private String template;
@ApiModelProperty(value= "涓婄骇id")
- @TableField("ori_quote_budget_id")
- private Long oriQuoteBudgetId;
+ @TableField("pri_quote_budget_id")
+ private Long priQuoteBudgetId;
+
+ @ApiModelProperty(value= "涓婄骇id")
+ @TableField("pri_online_id")
+ private Long priOnlineId;
public PriQuote() {}
@@ -135,8 +146,10 @@
}
public Long getCstmrId$(){
+ PlanService planService = SpringUtils.getBean(PlanService.class);
+ Plan plan = planService.selectById(this.itemId);
CstmrService cstmrService = SpringUtils.getBean(CstmrService.class);
- Cstmr cstmr = cstmrService.selectByName(1L, this.templateName);
+ Cstmr cstmr = cstmrService.selectById(plan.getCstmrId());
if (!Cools.isEmpty(cstmr)){
return cstmr.getId();
}
--
Gitblit v1.9.1