自动化立体仓库 - WMS系统
skyouc
8 天以前 34aa40fffdda9155e77a7991ca8c7691102bb0b8
src/main/java/com/zy/asrs/entity/WaitPakin.java
@@ -13,6 +13,8 @@
import com.zy.asrs.service.MatService;
import com.zy.asrs.service.TagService;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -177,7 +179,7 @@
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    private String standby1 = "";
    private String standby1;
    /**
     * 备用2
@@ -196,7 +198,7 @@
     */
    @ApiModelProperty(value= "备用1")
    @TableField("box_type1")
    private String boxType1 = "1";
    private String boxType1;
    /**
     * 备用2
@@ -211,6 +213,19 @@
    @ApiModelProperty(value= "备用3")
    @TableField("box_type3")
    private String boxType3 = "1";
    @ApiModelProperty("破损数")
    @TableField("adjust_qty")
    private Double adjustQty;
    @ApiModelProperty("上架数")
    @TableField("work_qty")
    private Double workQty;
    @ApiModelProperty("差异数")
    @TableField("splus_qty")
    private Double splusQty;
    public String getBeBatch$(){
        if (null == this.beBatch){ return null; }
@@ -252,7 +267,9 @@
    public String getTag$() {
        MatService service = SpringUtils.getBean(MatService.class);
        Mat order = service.selectOne(new EntityWrapper<Mat>().eq("matnr", this.matnr));
        Mat order = service.selectOne(new EntityWrapper<Mat>()
                .eq("supp_code", this.suppCode)
                .eq("matnr", this.matnr));
        if (Cools.isEmpty(order)){
            return null;
        }
@@ -283,6 +300,15 @@
        }
    }
    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 "";