| | |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.LocOwnerService; |
| | | import com.zy.common.utils.Synchro; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @ApiModelProperty(value= "客户信息ID") |
| | | private Long owner; |
| | | |
| | | @ApiModelProperty(value= "物料类型") |
| | | @TableField("mat_type_In") |
| | | private Integer matTypeIn; |
| | | |
| | | public String getBeBatch$(){ |
| | | if (null == this.beBatch){ return null; } |
| | | switch (this.beBatch){ |
| | |
| | | return String.valueOf(this.beBatch); |
| | | } |
| | | } |
| | | |
| | | public String getOwner$(){ |
| | | LocOwnerService service = SpringUtils.getBean(LocOwnerService.class); |
| | | LocOwner locOwner = service.selectById(this.owner); |
| | | if (!Cools.isEmpty(locOwner)){ |
| | | return String.valueOf(locOwner.getOwner()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | public String getSource$(){ |
| | | if (null == this.source){ return null; } |
| | |
| | | return ""; |
| | | } |
| | | } |
| | | |
| | | public String getMatTypeIn$() { |
| | | if (this.matTypeIn == null) { |
| | | return "默认"; |
| | | } |
| | | switch (this.matTypeIn) { |
| | | case 1: |
| | | return "单品"; |
| | | case 2: |
| | | return "高频"; |
| | | case 3: |
| | | return "混放"; |
| | | default: |
| | | return "默认"; |
| | | } |
| | | } |
| | | } |