#
whycq
2022-09-13 35ddd989b73d815777055bcdf05118d6cdd892e6
src/main/java/zy/cloud/wms/manager/entity/Item.java
@@ -149,6 +149,8 @@
    private String type;
    @TableField(value = "real_start_time", strategy = FieldStrategy.IGNORED)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date realStartTime;
@@ -400,16 +402,17 @@
//            null    // 备注
//    );
    public String getProgressRate$(){
        ProjectStatusService bean = SpringUtils.getBean(ProjectStatusService.class);
        ProjectStatus id = bean.selectOne(new EntityWrapper<ProjectStatus>()
                .eq("id", this.progressRate));
        if (!Cools.isEmpty(id)) {
            return id.getStatusName();
        }
//    public String getProgressRate$(){
//        ProjectStatusService bean = SpringUtils.getBean(ProjectStatusService.class);
//        ProjectStatus id = bean.selectOne(new EntityWrapper<ProjectStatus>()
//                .eq("id", this.progressRate));
//        if (!Cools.isEmpty(id)) {
//            return id.getStatusName();
//        }
//
//        return "";
//    }
        return "";
    }
    public String getProjectStatus$(){
        ProjectStatusService bean = SpringUtils.getBean(ProjectStatusService.class);
        ProjectStatus id = bean.selectOne(new EntityWrapper<ProjectStatus>().eq("id", this.projectStatus));
@@ -688,6 +691,15 @@
        return null;
    }
    public String getType$$(){
        if (this.type.equals("10")) {
            return "集成项目";
        }else {
            return "常规项目";
        }
    }
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }