| | |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.FieldStrategy; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.enums.LocStsType; |
| | |
| | | |
| | | |
| | | @ApiModelProperty("主键ID") |
| | | @TableId |
| | | @TableId(value = "id", type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | |
| | | private Date appeTime; |
| | | |
| | | @ApiModelProperty(value = "") |
| | | @TableField(value ="barcode",strategy = FieldStrategy.IGNORED) |
| | | private String barcode; |
| | | |
| | | @ApiModelProperty("库区ID") |
| | |
| | | } |
| | | |
| | | public String getLocSts$() { |
| | | if (this.locSts.equals(LocStsType.LOC_STS_TYPE_F.type)) { |
| | | return LocStsType.LOC_STS_TYPE_F.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_D.type)) { |
| | | if (this.locSts == null) { |
| | | return null; |
| | | } |
| | | if (this.locSts.equals(LocStsType.LOC_STS_TYPE_D.type)) { |
| | | return LocStsType.LOC_STS_TYPE_D.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_O.type)) { |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_F.type)) { |
| | | return LocStsType.LOC_STS_TYPE_F.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_O.type)) { |
| | | return LocStsType.LOC_STS_TYPE_O.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_P.type)) { |
| | | return LocStsType.LOC_STS_TYPE_P.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_Q.type)) { |
| | | return LocStsType.LOC_STS_TYPE_Q.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_R.type)) { |
| | | return LocStsType.LOC_STS_TYPE_R.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_S.type)) { |
| | | return LocStsType.LOC_STS_TYPE_S.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_X.type)) { |
| | | return LocStsType.LOC_STS_TYPE_X.desc; |
| | | } else if (locSts.equals(LocStsType.LOC_STS_TYPE_Y.type)) { |
| | | return LocStsType.LOC_STS_TYPE_Y.desc; |
| | | } else { |
| | | return null; |
| | | } |