| | |
| | | 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.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | private Date ioTime; |
| | | |
| | | /** |
| | | * 物料编号 |
| | | * 物料 |
| | | */ |
| | | @ApiModelProperty(value= "物料编号") |
| | | @ApiModelProperty(value= "物料") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "仓库号") |
| | | private String lgnum; |
| | | |
| | | /** |
| | | * 转储请求编号 |
| | | */ |
| | | @ApiModelProperty(value= "转储请求编号") |
| | | private Integer tbnum; |
| | | |
| | | /** |
| | | * 行项目 |
| | | */ |
| | | @ApiModelProperty(value= "行项目") |
| | | private Integer tbpos; |
| | | |
| | | /** |
| | | * 物料标签ID |
| | | */ |
| | | @ApiModelProperty(value= "物料标签ID") |
| | | private String zmatid; |
| | | |
| | | /** |
| | | * 物料描述 |
| | |
| | | @ApiModelProperty(value= "物料描述") |
| | | private String maktx; |
| | | |
| | | |
| | | /** |
| | | * 工厂 |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "工厂") |
| | | private String werks; |
| | | @ApiModelProperty(value= "规格") |
| | | private String lgnum; |
| | | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "物料类别") |
| | | private String type; |
| | | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "颜色") |
| | | private String color; |
| | | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "供应商") |
| | | private String supplier; |
| | | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "仓库") |
| | | private String warehouse; |
| | | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "品牌") |
| | | private String brand; |
| | | |
| | | /** |
| | | * 数量 |
| | |
| | | @TableField("appe_time") |
| | | private Date appeTime; |
| | | |
| | | @ApiModelProperty(value= "") |
| | | private Double nista; |
| | | |
| | | public String getIoTime$(){ |
| | | if (Cools.isEmpty(this.ioTime)){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.ioTime); |
| | | } |
| | | |
| | | public String getModiUser$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.modiUser); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getUsername()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getModiTime$(){ |
| | | if (Cools.isEmpty(this.modiTime)){ |
| | | return ""; |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime); |
| | | } |
| | | |
| | | public String getAppeUser$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.appeUser); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getUsername()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getAppeTime$(){ |
| | | if (Cools.isEmpty(this.appeTime)){ |
| | | return ""; |