kilo
1 year ago
8 changed files with 258 additions and 7 deletions
@ -0,0 +1,161 @@
|
||||
package com.logpm.warehouse.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
|
||||
import java.util.Date; |
||||
|
||||
@Data |
||||
public class WarehouseScanRecordEntity extends TenantEntity { |
||||
/** |
||||
* 订单自编号 |
||||
*/ |
||||
@ApiModelProperty(value = "订单自编号") |
||||
private String orderCode; |
||||
/** |
||||
* 仓库 |
||||
*/ |
||||
@ApiModelProperty(value = "仓库") |
||||
private String warehouse; |
||||
|
||||
@ApiModelProperty(value = "仓库ID") |
||||
private Long warehouseId; |
||||
/** |
||||
* 状态 |
||||
*/ |
||||
@ApiModelProperty(value = "状态") |
||||
private Integer conditions; |
||||
/** |
||||
* 包条码 |
||||
*/ |
||||
@ApiModelProperty(value = "包条码") |
||||
private String orderPackageCode; |
||||
/** |
||||
* 货区信息 |
||||
*/ |
||||
@ApiModelProperty(value = "货区信息") |
||||
private String cargoTitle; |
||||
|
||||
/** |
||||
* 货位信息 |
||||
*/ |
||||
@ApiModelProperty(value = "货位信息") |
||||
private String goodsAllocation; |
||||
/** |
||||
* 所在托盘 |
||||
*/ |
||||
@ApiModelProperty(value = "所在托盘") |
||||
private String pallet; |
||||
/** |
||||
* 一级品 |
||||
*/ |
||||
@ApiModelProperty(value = "一级品") |
||||
private String firsts; |
||||
/** |
||||
* 二级品 |
||||
*/ |
||||
@ApiModelProperty(value = "二级品") |
||||
private String second; |
||||
/** |
||||
* 三级品 |
||||
*/ |
||||
@ApiModelProperty(value = "三级品") |
||||
private String thirdProduct; |
||||
/** |
||||
* 入库时间 |
||||
*/ |
||||
@ApiModelProperty(value = "入库时间") |
||||
private Date warehouseEntryTimeEnd; |
||||
/** |
||||
* 运单号 |
||||
*/ |
||||
@ApiModelProperty(value = "运单号") |
||||
private String waybillNumber; |
||||
/** |
||||
* 运单ID |
||||
*/ |
||||
@ApiModelProperty(value = "运单ID") |
||||
private String waybillId; |
||||
/** |
||||
* 客户id |
||||
*/ |
||||
@ApiModelProperty(value = "客户id") |
||||
@TableField(exist = false) |
||||
private String marketId; |
||||
/** |
||||
* 物料Id |
||||
*/ |
||||
@ApiModelProperty(value = "物料ID") |
||||
private Long materialId; |
||||
|
||||
/** |
||||
* 物料名称 |
||||
*/ |
||||
@ApiModelProperty(value = "物料名称") |
||||
private String materialName; |
||||
/** |
||||
* 物料编号 |
||||
*/ |
||||
@ApiModelProperty(value = "物料编号") |
||||
private String materialCode; |
||||
/** |
||||
* 物料单位 |
||||
*/ |
||||
@ApiModelProperty(value = "物料单位") |
||||
private String materialUnit; |
||||
/** |
||||
* 数量 |
||||
*/ |
||||
@ApiModelProperty(value = "数量") |
||||
private Integer quantity; |
||||
/** |
||||
* 车次号 |
||||
*/ |
||||
@ApiModelProperty(value = "车次号") |
||||
private String trainNumber; |
||||
/** |
||||
* 在库订单ID |
||||
*/ |
||||
@ApiModelProperty(value = "在库订单ID") |
||||
private Long stockArticleId; |
||||
|
||||
/** |
||||
* 服务号 |
||||
*/ |
||||
@ApiModelProperty(value = "服务号") |
||||
private String serviceNumber; |
||||
/** |
||||
* 品牌ID |
||||
*/ |
||||
@ApiModelProperty(value = "品牌ID") |
||||
private Long brandId; |
||||
/** |
||||
* 品牌名称 |
||||
*/ |
||||
@ApiModelProperty(value = "品牌名称") |
||||
private String brandName; |
||||
|
||||
/** |
||||
* 包件状态 |
||||
*/ |
||||
@ApiModelProperty(value = "包件状态") |
||||
private String orderPackageStatus; |
||||
|
||||
@ApiModelProperty(value = "包件冻结状态") |
||||
private String orderPackageFreezeStatus; |
||||
|
||||
@ApiModelProperty(value = "包件冻结状态") |
||||
private String orderPackageReservationStatus; |
||||
|
||||
|
||||
|
||||
@ApiModelProperty(value = "备货状态") |
||||
private String orderPackageStockupStatus; |
||||
|
||||
@ApiModelProperty(value = "上架状态") |
||||
private String orderPackageGroundingStatus; |
||||
|
||||
|
||||
} |
@ -0,0 +1,36 @@
|
||||
package com.logpm.warehouse.vo; |
||||
|
||||
|
||||
import com.logpm.warehouse.entity.WarehouseScanRecordEntity; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
|
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WarehouseScanRecordVO extends WarehouseScanRecordEntity { |
||||
/** |
||||
* 节点名称 |
||||
*/ |
||||
@ApiModelProperty(value = "节点名称") |
||||
private String nodeName; |
||||
|
||||
/** |
||||
* 操作时间 |
||||
*/ |
||||
@ApiModelProperty(value = "操作时间") |
||||
private String operatorTime; |
||||
/** |
||||
* 操作人 |
||||
*/ |
||||
@ApiModelProperty(value = "操作人") |
||||
private String operatorName; |
||||
|
||||
/** |
||||
* 扫描相亲 |
||||
*/ |
||||
@ApiModelProperty(value = "扫描相亲") |
||||
private String scanNodeMsg; |
||||
} |
@ -0,0 +1,47 @@
|
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* ReWarehouse and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* ReWarehouses of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* ReWarehouses in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the Warehouse. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package com.logpm.warehouse.wrapper; |
||||
|
||||
import com.logpm.warehouse.entity.WarehouseStockEntity; |
||||
import com.logpm.warehouse.vo.WarehouseScanRecordVO; |
||||
import com.logpm.warehouse.vo.WarehouseStockVO; |
||||
import org.springblade.core.mp.support.BaseEntityWrapper; |
||||
import org.springblade.core.tool.utils.BeanUtil; |
||||
|
||||
import java.util.Objects; |
||||
|
||||
/** |
||||
* 备货扫描记录 包装类,返回视图层所需的字段 |
||||
* |
||||
* @author lmy |
||||
* @since 2023-08-24 |
||||
*/ |
||||
public class WarehouseScanWrapper extends BaseEntityWrapper<WarehouseScanRecordVO, WarehouseScanRecordVO> { |
||||
|
||||
public static WarehouseScanWrapper build() { |
||||
return new WarehouseScanWrapper(); |
||||
} |
||||
|
||||
@Override |
||||
public WarehouseScanRecordVO entityVO(WarehouseScanRecordVO warehouseScanRecordVO) { |
||||
|
||||
|
||||
return warehouseScanRecordVO; |
||||
} |
||||
|
||||
|
||||
} |
Loading…
Reference in new issue