| | |
| | | import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.enums.CheckStatusEnum; |
| | | import com.zy.asrs.service.OrderService; |
| | | import com.zy.asrs.entity.Order; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | |
| | | /** |
| | | * 状态 1: 未生成 0: 禁用 2:待盘 3:已盘 |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 未生成 0: 禁用 2:待盘 3:已盘 4:待调整 5:已调整") |
| | | @ApiModelProperty(value= "状态 1: 未生成 0: 禁用 2:待盘 3:已盘 4:允许 5:禁止 6:已修改") |
| | | private Integer status; |
| | | |
| | | /** |
| | |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "未生成"; |
| | | case 0: |
| | | return "禁用"; |
| | | case 2: |
| | | return "待盘"; |
| | | case 3: |
| | | return "已盘"; |
| | | case 4: |
| | | return "待调整"; |
| | | case 5: |
| | | return "已调整"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | | String descByType = CheckStatusEnum.getDescByType(this.status); |
| | | if (Cools.isEmpty(descByType)){ return "未定义"; } |
| | | return descByType; |
| | | } |
| | | |
| | | public String getCreateBy$(){ |