中扬CRM客户关系管理系统
#
LSH
2023-12-01 2f54d40d80be4635d1f22b2f02c735d383060875
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;
    /**
     * 企业信用代码
@@ -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)) {