From 728f68c55b967f05235384c608bd7ca902ac5811 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 11 九月 2023 19:07:39 +0800
Subject: [PATCH] #关联上下文

---
 src/main/java/com/zy/crm/manager/entity/PriSales.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/crm/manager/entity/PriSales.java b/src/main/java/com/zy/crm/manager/entity/PriSales.java
index d548388..e5ac81b 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriSales.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriSales.java
@@ -9,6 +9,7 @@
 import com.zy.crm.manager.service.ItemService;
 import com.zy.crm.manager.service.OrderService;
 import com.zy.crm.manager.service.PlanService;
+import com.zy.crm.manager.service.PriSalesService;
 import com.zy.crm.system.entity.User;
 import com.zy.crm.system.service.UserService;
 import org.springframework.format.annotation.DateTimeFormat;
@@ -87,6 +88,10 @@
     @TableField("in_order_num")
     private String inOrderNum;
 
+    @ApiModelProperty(value= "涓婄骇id")
+    @TableField("pri_online2_id")
+    private Long priOnline2Id;
+
     @ApiModelProperty(value= "涓氬姟鍛�")
     @TableField("member_id")
     private Long memberId;
@@ -115,6 +120,14 @@
         }
         return null;
     }
+    public String getPriOnline2Id$() {
+        PriSalesService priSalesService = SpringUtils.getBean(PriSalesService.class);
+        PriSales priSales = priSalesService.selectById(this.priOnline2Id);
+        if (!Cools.isEmpty(priSales)){
+            return String.valueOf(priSales.getId());
+        }
+        return null;
+    }
 
     public String getUpdateTime$(){
         if (Cools.isEmpty(this.updateTime)){

--
Gitblit v1.9.1