From 25f51717cce32d8260ead3247d47883ef8a3070d Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 14 八月 2023 09:23:44 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/crm/manager/entity/PriQuote.java | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 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 964d462..24e640d 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriQuote.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriQuote.java
@@ -86,6 +86,25 @@
@TableField("member_id")
private Long memberId;
+ /**
+ * 琛ㄥ崟鍐呭
+ */
+ @ApiModelProperty(value= "琛ㄥ崟鍐呭")
+ private String form;
+
+ /**
+ * 杩涘害 1: 寮�濮� 2: 缁勯暱瀹℃牳 3: 鍞墠缁勯暱瀹℃牳 4: 瑙勫垝鍛樺鏍� 5: 瀹℃壒閫氳繃
+ */
+ @ApiModelProperty(value= "杩涘害 1: 寮�濮� 2: 缁勯暱瀹℃牳 3: 鍞墠瀹℃牳 4: 瑙勫垝鍛樺鏍� 5: 瀹℃壒閫氳繃 ")
+ private Integer settle;
+
+ /**
+ * 瀹℃牳杩涘害
+ */
+ @ApiModelProperty(value= "瀹℃牳杩涘害")
+ @TableField("settle_msg")
+ private String settleMsg;
+
public PriQuote() {}
public PriQuote(String title,String sheetData,Date createTime,String filepath) {
@@ -93,6 +112,24 @@
this.sheetData = sheetData;
this.createTime = createTime;
this.filepath = filepath;
+ }
+
+ public String getSettle$(){
+ if (null == this.settle){ return null; }
+ switch (this.settle){
+ case 1:
+ return "绛夊緟缁勯暱瀹℃牳";
+ case 2:
+ return "绛夊緟鍞墠鍒嗛厤瑙勫垝鍛�";
+ case 3:
+ return "绛夊緟瑙勫垝鍛樻彁浜�";
+ case 4:
+ return "瑙勫垝鍛樺凡鎻愪氦";
+ case 5:
+ return "瀹℃壒閫氳繃";
+ default:
+ return String.valueOf(this.settle);
+ }
}
public String getCreateTime$(){
@@ -111,6 +148,15 @@
return null;
}
+ public String getPlanName$() {
+ PlanService planService = SpringUtils.getBean(PlanService.class);
+ Plan plan = planService.selectById(this.itemId);
+ if (!Cools.isEmpty(plan)){
+ return String.valueOf(plan.getName());
+ }
+ return null;
+ }
+
public String getUpdateTime$(){
if (Cools.isEmpty(this.updateTime)){
return "";
--
Gitblit v1.9.1