自动化立体仓库 - WMS系统
#
luxiaotao1123
2021-03-26 cd2fff830de5a879ef2e6b18adebcbe46f28392a
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,46 +34,53 @@
    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= "物料描述")
    @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;
    /**
     * 数量
@@ -93,7 +103,7 @@
    /**
     * 用户ID
     */
    @ApiModelProperty(value= "用户ID")
    @ApiModelProperty(value= "客户名称")
    private String bname;
    /**
@@ -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 "";