1
22 小时以前 cd55f83ee6fe0e3002df2018f50f4ca8d066b1e6
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/LocItem.java
@@ -7,6 +7,7 @@
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.vincent.rsf.framework.common.DateUtils;
import com.vincent.rsf.server.manager.service.LocService;
import com.vincent.rsf.server.manager.service.WarehouseAreasService;
import com.vincent.rsf.server.system.constant.DictTypeCode;
@@ -47,6 +48,7 @@
     */
    @ApiModelProperty(value= "主单ID")
    private Long locId;
    @ApiModelProperty("库位编码")
    private String locCode;
@@ -219,6 +221,9 @@
    @ApiModelProperty(value= "修改人员")
    private Long updateBy;
    @ApiModelProperty("供应商ID")
    private Long splrId;
    /**
     * 修改时间
     */
@@ -247,6 +252,48 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    @ApiModelProperty(value = "基本单位")
    private String baseUnit;
    @ApiModelProperty(value = "使用组织")
    private String useOrgId;
    @ApiModelProperty(value = "使用者名称")
    private String useOrgName;
    @ApiModelProperty(value = "数量属性,外购等")
    private String erpClsId;
    @ApiModelProperty(value = "计价单位")
    private String priceUnitId;
    @ApiModelProperty(value = "入库类型")
    private String inStockType;
    @ApiModelProperty(value = "货主类型")
    private String ownerTypeId;
    @ApiModelProperty(value = "货主")
    private String ownerId;
    @ApiModelProperty(value = "货主名称")
    private String ownerName;
    @ApiModelProperty(value = "保管者类型")
    private String keeperTypeId;
    @ApiModelProperty(value = "保管者")
    private String keeperId;
    @ApiModelProperty(value = "保管者名称")
    private String keeperName;
    @ApiModelProperty(value = "建议目标仓,入库")
    private String targetWarehouseId;
    @ApiModelProperty(value = "建议调出仓,出仓")
    private String sourceWarehouseId;
    public LocItem() {}
    public LocItem(Long locId,Long orderId,String type,Long orderItemId,Short wkType,Long matnrId,String maktx,String matnrCode,String trackCode,String unit,Double anfme,String batch,String splrBatch,String spec,String model,String fieldsIndex,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
@@ -277,7 +324,7 @@
    }
//    LocItem locItem = new LocItem(
//            null,    // 主单ID
//            null,    // 主单IDs
//            null,    // 单据ID
//            null,    // 单据类型
//            null,    // 订单明细id
@@ -339,6 +386,10 @@
        return dictData.getLabel();
    }
    public Double getReviseQty() {
        return this.anfme;
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){
@@ -349,6 +400,11 @@
            default:
                return String.valueOf(this.status);
        }
    }
    public Integer getDeadTime() {
        if (null == this.createTime){ return null; }
        return DateUtils.diff(createTime, new Date());
    }
    public String getCreateBy$(){
@@ -382,8 +438,6 @@
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }