#
luxiaotao1123
2020-12-24 1fe4313bb3326afa12c827e2d620fa735b8e37fb
src/main/java/com/zy/asrs/entity/WrkDetlLog.java
@@ -3,6 +3,9 @@
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;
@@ -31,34 +34,10 @@
    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;
    /**
     * 物料描述
@@ -66,11 +45,42 @@
    @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;
    /**
     * 数量
@@ -130,8 +140,6 @@
    @TableField("appe_time")
    private Date appeTime;
    @ApiModelProperty(value= "")
    private Double nista;
    public String getIoTime$(){
        if (Cools.isEmpty(this.ioTime)){
@@ -140,6 +148,15 @@
        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 "";
@@ -147,6 +164,15 @@
        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 "";