中扬CRM客户关系管理系统
LSH
2023-10-09 26ebf71529e5ee4f70c4ad3ed52ea5e59c1b46e5
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);
@@ -364,11 +373,11 @@
//                return "等待组长审核";
            case 1:
                return "等待售前分配规划员";
            case 3:
            case 2:
                return "等待规划员提交";
            case 4:
            case 3:
                return "规划员已提交";
            case 5:
            case 4:
                return "审批通过";
            default:
                return String.valueOf(this.settle);
@@ -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);
        }