中扬CRM客户关系管理系统
#
LSH
2023-11-07 cb3870820f63e6f7ba595d80dcbbfd3deae6fdf6
src/main/java/com/zy/crm/manager/entity/PriQuote.java
@@ -107,6 +107,17 @@
    private Long deptId;
    /**
     * hostId
     */
    @ApiModelProperty(value= "hostId")
    @TableField("host_id")
    private Long hostId;
    @ApiModelProperty(value= "规划单ID")
    @TableField("plan_id")
    private Long planId;
    /**
     * 审核进度
     */
    @ApiModelProperty(value= "审核进度")
@@ -121,8 +132,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 +150,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();
        }
@@ -149,7 +166,7 @@
            case 1:
                return "等待部门经理确认";
            case 2:
                return "等待总裁办审核";
                return "等待总经办审核";
            case 3:
                return "等待业务员确认";
            case 4: