中扬CRM客户关系管理系统
LSH
2023-10-10 a6535d6c9889a4240d037367db3c481a679e15a0
src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -234,6 +234,18 @@
    @ApiModelProperty(value= "注释")
    private String memo;
    /**
     * 项目进度流程{1:项目创建,2:核价处理,3:产品费用明细,4:报价预算单,5:报价单}
     */
    @ApiModelProperty(value= "项目进度流程{1:项目创建,2:核价处理,3:产品费用明细,4:报价预算单,5:报价单}")
    private Integer step;
    /**
     * 业务员联系方式
     */
    @ApiModelProperty(value= "业务员联系方式")
    private String userXmlSelPhone;
    public Plan() {}
    public String getHostId$(){
@@ -259,6 +271,15 @@
        PlanType planType = service.selectById(this.planType);
        if (!Cools.isEmpty(planType)){
            return String.valueOf(planType.getName());
        }
        return null;
    }
    public Integer getPLType$(){
        PlanTypeService service = SpringUtils.getBean(PlanTypeService.class);
        PlanType planType = service.selectById(this.planType);
        if (!Cools.isEmpty(planType)){
            return planType.getType();
        }
        return null;
    }
@@ -348,15 +369,15 @@
    public String getSettle$(){
        if (null == this.settle){ return null; }
        switch (this.settle){
//            case 1:
//                return "等待组长审核";
            case 1:
                return "等待组长审核";
            case 2:
                return "等待售前分配规划员";
            case 3:
            case 2:
                return "等待规划员提交";
            case 4:
            case 3:
                return "规划员已提交";
            case 5:
            case 4:
                return "审批通过";
            default:
                return String.valueOf(this.settle);
@@ -385,10 +406,12 @@
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 2:
                return "开始核价";
            case 1:
                return "正常";
                return "等待核价";
            case 0:
                return "禁用";
                return "未完成";
            default:
                return String.valueOf(this.status);
        }