中扬CRM客户关系管理系统
#
LSH
2023-11-24 2c7a0b5c9cded118d3c3c46211adf40fe558d67b
src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -73,9 +73,9 @@
    private Long orderId;
    /**
     * 甲方单位
     * 客户信息
     */
    @ApiModelProperty(value = "甲方单位")
    @ApiModelProperty(value = "客户信息")
    @TableField("cstmr_id")
    private Long cstmrId;
@@ -351,6 +351,47 @@
        return null;
    }
    public String getStatusAll$(){
        if (this.status2>3 || this.getAssistantHostSign()==1){
            return getStatus$();
        }else {
            return "集成"+getStatus$()+"/"+"货架"+getStatus2$();
        }
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 3:
                return "完成核价";
            case 2:
                return "开始核价";
            case 1:
                return "等待核价";
            case 0:
                return "初始";
            default:
                return String.valueOf(this.status);
        }
    }
    public String getStatus2$(){
        if (null == this.status2){ return null; }
        switch (this.status2){
            case 3:
                return "完成核价";
            case 2:
                return "开始核价";
            case 1:
                return "等待核价";
            case 0:
                return "初始";
            default:
                return String.valueOf(this.status2);
        }
    }
    public String getUserId$() {
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.userId);
@@ -416,6 +457,20 @@
        }
    }
    public String getAssistantHostSign$() {
        if (null == this.assistantHostSign) {
            return null;
        }
        switch (this.assistantHostSign) {
            case 1:
                return "副流程";
            case 0:
                return "主流程";
            default:
                return String.valueOf(this.assistantHostSign);
        }
    }
    public String getFinishTime$() {
        if (Cools.isEmpty(this.finishTime)) {
            return "";
@@ -475,22 +530,6 @@
            return String.valueOf(user.getNickname());
        }
        return null;
    }
    public String getStatus$() {
        if (null == this.status) {
            return null;
        }
        switch (this.status) {
            case 2:
                return "开始核价";
            case 1:
                return "等待核价";
            case 0:
                return "未完成";
            default:
                return String.valueOf(this.status);
        }
    }
    public String getCreateBy$() {