中扬CRM客户关系管理系统
#
LSH
2023-10-17 fabb29dfd7fdcc19727c459c8ef309a86d73ed09
src/main/java/com/zy/crm/manager/entity/PriQuote.java
@@ -107,6 +107,13 @@
    private Long deptId;
    /**
     * hostId
     */
    @ApiModelProperty(value= "hostId")
    @TableField("host_id")
    private Long hostId;
    /**
     * 审核进度
     */
    @ApiModelProperty(value= "审核进度")
@@ -121,8 +128,12 @@
    private String template;
    @ApiModelProperty(value= "上级id")
    @TableField("ori_quote_budget_id")
    private Long oriQuoteBudgetId;
    @TableField("pri_quote_budget_id")
    private Long priQuoteBudgetId;
    @ApiModelProperty(value= "上级id")
    @TableField("pri_online_id")
    private Long priOnlineId;
    public PriQuote() {}
@@ -135,8 +146,10 @@
    }
    public Long getCstmrId$(){
        PlanService planService = SpringUtils.getBean(PlanService.class);
        Plan plan = planService.selectById(this.itemId);
        CstmrService cstmrService = SpringUtils.getBean(CstmrService.class);
        Cstmr cstmr = cstmrService.selectByName(1L, this.templateName);
        Cstmr cstmr = cstmrService.selectById(plan.getCstmrId());
        if (!Cools.isEmpty(cstmr)){
            return cstmr.getId();
        }