From 8b434a01ef9e2e48d1300be7792caa91f653b08e Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 11 九月 2023 20:04:05 +0800
Subject: [PATCH] #销售核价可查看甲方单位与规划单信息
---
src/main/java/com/zy/crm/manager/entity/PriQuoteBudget.java | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/crm/manager/entity/PriQuoteBudget.java b/src/main/java/com/zy/crm/manager/entity/PriQuoteBudget.java
index c6cbb8d..798793d 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriQuoteBudget.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriQuoteBudget.java
@@ -6,6 +6,7 @@
import java.util.Date;
import com.core.common.SpringUtils;
+import com.zy.crm.manager.service.CstmrService;
import com.zy.crm.manager.service.ItemService;
import com.zy.crm.manager.service.PlanService;
import com.zy.crm.system.entity.User;
@@ -86,6 +87,10 @@
@TableField("member_id")
private Long memberId;
+ @ApiModelProperty(value= "涓婄骇id")
+ @TableField("pri_sales_id")
+ private Long priSalesId;
+
@ApiModelProperty(value= "鍒涘缓閮ㄩ棬")
@TableField("dept_id")
private Long deptId;
@@ -99,6 +104,15 @@
this.filepath = filepath;
}
+ public Long getCstmrId$(){
+ CstmrService cstmrService = SpringUtils.getBean(CstmrService.class);
+ Cstmr cstmr = cstmrService.selectByName(1L, this.templateName);
+ if (!Cools.isEmpty(cstmr)){
+ return cstmr.getId();
+ }
+ return 0L;
+ }
+
public String getCreateTime$(){
if (Cools.isEmpty(this.createTime)){
return "";
--
Gitblit v1.9.1