| | |
| | | private Long orderId; |
| | | |
| | | /** |
| | | * 甲方单位 |
| | | * 客户信息 |
| | | */ |
| | | @ApiModelProperty(value = "甲方单位") |
| | | @ApiModelProperty(value = "客户信息") |
| | | @TableField("cstmr_id") |
| | | private Long cstmrId; |
| | | |
| | |
| | | private String files; |
| | | |
| | | /** |
| | | * 进度 1: 开始 2: 组长审核 3: 售前组长审核 4: 规划员审核 5: 审批通过 |
| | | * 进度 1: 开始 2: 售前审核 3: 规划员审核 4: 审批通过 |
| | | */ |
| | | @ApiModelProperty(value = "进度 1: 开始 2: 组长审核 3: 售前审核 4: 规划员审核 5: 审批通过 ") |
| | | @ApiModelProperty(value = "进度 1: 开始 2: 售前审核 3: 规划员审核 4: 审批通过 ") |
| | | private Integer settle; |
| | | |
| | | /** |
| | |
| | | @TableField("assistant_host_sign") |
| | | private Integer assistantHostSign; |
| | | |
| | | /** |
| | | * 流程长度 |
| | | */ |
| | | @ApiModelProperty(value= "流程长度") |
| | | @TableField("settle_size") |
| | | private Integer settleSize; |
| | | |
| | | public Plan() { |
| | | } |
| | | |
| | |
| | | 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); |
| | |
| | | } |
| | | } |
| | | |
| | | 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 ""; |
| | |
| | | if (null == this.settle) { |
| | | return null; |
| | | } |
| | | if (this.getSettleSize()==2){ |
| | | switch (this.settle) { |
| | | case 1: |
| | | return "等待确认"; |
| | | case 2: |
| | | return "审批通过"; |
| | | default: |
| | | return String.valueOf(this.settle); |
| | | } |
| | | } |
| | | switch (this.settle) { |
| | | // case 1: |
| | | // return "等待组长审核"; |
| | | case 1: |
| | | return "等待售前分配规划员"; |
| | | case 2: |
| | |
| | | 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$() { |