中扬CRM客户关系管理系统
LSH
2023-10-10 a6535d6c9889a4240d037367db3c481a679e15a0
src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -275,6 +275,15 @@
        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;
    }
    public String getUserId$(){
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.userId);
@@ -397,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);
        }