From 2f54d40d80be4635d1f22b2f02c735d383060875 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 01 十二月 2023 14:49:35 +0800 Subject: [PATCH] # --- src/main/java/com/zy/crm/manager/entity/Cstmr.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/entity/Cstmr.java b/src/main/java/com/zy/crm/manager/entity/Cstmr.java index 750f58b..30c1b44 100644 --- a/src/main/java/com/zy/crm/manager/entity/Cstmr.java +++ b/src/main/java/com/zy/crm/manager/entity/Cstmr.java @@ -7,6 +7,7 @@ import com.core.common.Cools; import com.core.common.SpringUtils; import com.zy.crm.manager.service.CstmrTypeService; +import com.zy.crm.manager.service.OrderProductTypeService; import com.zy.crm.system.entity.Dept; import com.zy.crm.system.entity.Dic; import com.zy.crm.system.entity.Host; @@ -204,11 +205,18 @@ private String industry; /** - * 浜у搧绫诲埆 + * 浜у搧绫诲埆 搴熷純 */ @ApiModelProperty(value= "浜у搧绫诲埆") @TableField("product_category") private String productCategory; + + /** + * 浜у搧绫诲瀷 + */ + @ApiModelProperty(value= "浜у搧绫诲瀷") + @TableField("order_product_type_id") + private Long orderProductTypeId; /** * 浼佷笟淇$敤浠g爜 @@ -375,6 +383,16 @@ return null; } + public String getOrderProductTypeId$(){ + if (this.orderProductTypeId==null) return null; + OrderProductTypeService orderProductTypeService = SpringUtils.getBean(OrderProductTypeService.class); + OrderProductType orderProductType = orderProductTypeService.selectById(this.orderProductTypeId); + if (!Cools.isEmpty(orderProductType)){ + return String.valueOf(orderProductType.getName()); + } + return null; + } + public void setType0(String type0){ if (Cools.isEmpty(type0)) { -- Gitblit v1.9.1