中扬CRM客户关系管理系统
#
luxiaotao1123
2022-11-24 46d42b0832edb326b262d1c95c64c17bc0784f30
src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -174,9 +174,9 @@
    private String files;
    /**
     * 进度 1: 开始  2: 组长待审  3: 组长审核  4: 规划待审  5: 规划审核  6: 审批中  7: 审批通过
     * 进度 进度 1: 开始  2: 组长审核  3: 规划审核   4: 审批通过
     */
    @ApiModelProperty(value= "进度 1: 开始  2: 组长待审  3: 组长审核  4: 规划待审  5: 规划审核  6: 审批中  7: 审批通过  ")
    @ApiModelProperty(value= "进度 1: 开始  2: 组长审核  3: 规划审核   4: 审批通过  ")
    private Integer settle;
    /**
@@ -401,42 +401,16 @@
        }
    }
    public Integer getStepOfSettle(){
        if (null == this.settle){ return null; }
        switch (this.settle){
            case 1:
                return 1;
            case 2:
            case 3:
                return 2;
            case 4:
            case 5:
                return 3;
            case 6:
                return 4;
            case 7:
                return 4;
            default:
                return 0;
        }
    }
    public String getSettle$(){
        if (null == this.settle){ return null; }
        switch (this.settle){
            case 1:
                return "开始";
            case 2:
                return "组长待审";
            case 3:
                return "组长审核";
            case 4:
                return "规划待审";
            case 5:
            case 3:
                return "规划审核";
            case 6:
                return "审批中";
            case 7:
            case 4:
                return "审批通过";
            default:
                return String.valueOf(this.settle);