From 5bdba4f712b203db5acdd981922a5bc1706b29ff Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 11 九月 2023 19:15:43 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/crm/manager/entity/PriSales.java | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 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 95b618f..e5ac81b 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriSales.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriSales.java
@@ -8,6 +8,8 @@
import com.core.common.SpringUtils;
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;
@@ -86,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;
@@ -106,20 +112,19 @@
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
}
- public String getItemId$() {
- ItemService itemService = SpringUtils.getBean(ItemService.class);
- Item item = itemService.selectById(this.itemId);
- if (!Cools.isEmpty(item)){
- return String.valueOf(item.getName());
+ public String getPlanId$() {
+ PlanService planService = SpringUtils.getBean(PlanService.class);
+ Plan plan = planService.selectById(this.itemId);
+ if (!Cools.isEmpty(plan)){
+ return String.valueOf(plan.getUuid());
}
return null;
}
-
- public String getOrderId$() {
- OrderService orderService = SpringUtils.getBean(OrderService.class);
- Order order = orderService.selectById(this.itemId);
- if (!Cools.isEmpty(order)){
- return String.valueOf(order.getName());
+ 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;
}
--
Gitblit v1.9.1