diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmMaterialStock.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmMaterialStock.java
index 8e4afc0..950e6fd 100644
--- a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmMaterialStock.java
+++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmMaterialStock.java
@@ -50,11 +50,9 @@ public class WmMaterialStock extends BaseEntity
private String batchCode;
/** 仓库ID */
- @Excel(name = "仓库ID")
private Long warehouseId;
/** 仓库编码 */
- @Excel(name = "仓库编码")
private String warehouseCode;
/** 仓库名称 */
@@ -62,11 +60,9 @@ public class WmMaterialStock extends BaseEntity
private String warehouseName;
/** 库区ID */
- @Excel(name = "库区ID")
private Long locationId;
/** 库区编码 */
- @Excel(name = "库区编码")
private String locationCode;
/** 库区名称 */
@@ -74,11 +70,9 @@ public class WmMaterialStock extends BaseEntity
private String locationName;
/** 库位ID */
- @Excel(name = "库位ID")
private Long areaId;
/** 库位编码 */
- @Excel(name = "库位编码")
private String areaCode;
/** 库位名称 */
@@ -86,7 +80,6 @@ public class WmMaterialStock extends BaseEntity
private String areaName;
/** 供应商ID */
- @Excel(name = "供应商ID")
private Long vendorId;
/** 供应商编号 */
@@ -114,6 +107,12 @@ public class WmMaterialStock extends BaseEntity
@Excel(name = "生产工单编号")
private String workorderCode;
+ /** 生产日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date productionDate;
+
+
/** 库存有效期 */
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
@Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
@@ -375,6 +374,14 @@ public class WmMaterialStock extends BaseEntity
return expireDate;
}
+ public Date getProductionDate() {
+ return productionDate;
+ }
+
+ public void setProductionDate(Date productionDate) {
+ this.productionDate = productionDate;
+ }
+
public String getFrozenFlag() {
return frozenFlag;
}
diff --git a/ktg-mes/src/main/resources/mapper/wm/WmMaterialStockMapper.xml b/ktg-mes/src/main/resources/mapper/wm/WmMaterialStockMapper.xml
index 0f20320..81bbe39 100644
--- a/ktg-mes/src/main/resources/mapper/wm/WmMaterialStockMapper.xml
+++ b/ktg-mes/src/main/resources/mapper/wm/WmMaterialStockMapper.xml
@@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
@@ -43,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand,recpt_date,workorder_id,workorder_code, expire_date, frozen_flag, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock
+ select material_stock_id, item_type_id, item_id, item_code, item_name, specification, unit_of_measure, batch_code, warehouse_id, warehouse_code, warehouse_name, location_id, location_code, location_name, area_id, area_code, area_name, vendor_id, vendor_code, vendor_name, vendor_nick, quantity_onhand,recpt_date,workorder_id,workorder_code, expire_date, production_date,frozen_flag, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_material_stock