库存管理-导出 时间显示
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package com.ruoyi.stock.freeze.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@@ -25,14 +27,14 @@ public class BasStockFreezeRecord extends BaseEntity
|
||||
private String stockId;
|
||||
|
||||
/** 货位编码 */
|
||||
@Excel(name = "${stock.Freeze.cargoSpaceId}")
|
||||
@Excel(name = "货位编码")
|
||||
private String cargoSpaceId;
|
||||
/** 货位名称 */
|
||||
@Excel(name = "${stock.Freeze.cargoSpaceName}")
|
||||
@Excel(name = "货位名称")
|
||||
private String cargoSpaceName;
|
||||
|
||||
/** 托盘条码 */
|
||||
@Excel(name = "${stock.Freeze.trayCode}")
|
||||
@Excel(name = "托盘条码")
|
||||
private String trayCode;
|
||||
|
||||
/** 物品编码 */
|
||||
@@ -52,11 +54,11 @@ public class BasStockFreezeRecord extends BaseEntity
|
||||
private String lotNo;
|
||||
|
||||
/** 初始状态 */
|
||||
@Excel(name = "${stock.Freeze.oldStatus}",dictType="stock_status")
|
||||
@Excel(name = "初始状态",dictType="stock_status")
|
||||
private String oldStatus;
|
||||
|
||||
/** 更改状态 */
|
||||
@Excel(name = "${stock.Freeze.currStatus}",dictType="stock_status")
|
||||
@Excel(name = "更改状态",dictType="stock_status")
|
||||
private String currStatus;
|
||||
|
||||
/** 操作 */
|
||||
@@ -64,7 +66,7 @@ public class BasStockFreezeRecord extends BaseEntity
|
||||
private String method;
|
||||
|
||||
/** 仓库 */
|
||||
@Excel(name = "${stock.Freeze.warehouseId}")
|
||||
@Excel(name = "仓库")
|
||||
private String warehouseName;
|
||||
|
||||
private String warehouseId;
|
||||
@@ -89,7 +91,9 @@ public class BasStockFreezeRecord extends BaseEntity
|
||||
// @Excel(name = "${stock.Freeze.productGuid}")
|
||||
private String productGuid;
|
||||
// 创建时间
|
||||
@Excel(name = "${stock.Maintain.createTime}", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 30)
|
||||
@Excel(name = "操作时间", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 30)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
package com.ruoyi.stock.maintain.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@@ -21,26 +23,26 @@ public class BasStockMaintainRecord extends BaseEntity
|
||||
private String whGuid;
|
||||
|
||||
/** 库存编码 */
|
||||
@Excel(name = "${stock.Maintain.stockId}")
|
||||
@Excel(name = "库存编码")
|
||||
private String stockId;
|
||||
|
||||
/** 货位编码 */
|
||||
@Excel(name = "${stock.Maintain.cargoSpaceId}")
|
||||
@Excel(name = "货位编码")
|
||||
private String cargoSpaceId;
|
||||
/** 货位名称 */
|
||||
@Excel(name = "${stock.Maintain.cargoSpaceName}")
|
||||
@Excel(name = "货位名称")
|
||||
private String cargoSpaceName;
|
||||
|
||||
/** 托盘条码 */
|
||||
@Excel(name = "${stock.Maintain.trayCode}")
|
||||
@Excel(name = "托盘条码")
|
||||
private String trayCode;
|
||||
|
||||
/** 物品编码 */
|
||||
@Excel(name = "${stock.Maintain.productId}")
|
||||
@Excel(name = "物品编码")
|
||||
private String productId;
|
||||
|
||||
/** 物品名称 */
|
||||
@Excel(name = "${stock.Maintain.productName}")
|
||||
@Excel(name = "物品名称")
|
||||
private String productName;
|
||||
|
||||
/** 生产日期 */
|
||||
@@ -52,23 +54,25 @@ public class BasStockMaintainRecord extends BaseEntity
|
||||
private String lotNo;
|
||||
|
||||
/** 初始数量 */
|
||||
@Excel(name = "${stock.Maintain.oldQuantity}")
|
||||
@Excel(name = "初始数量")
|
||||
private String oldQuantity;
|
||||
|
||||
/** 操作后数量 */
|
||||
@Excel(name = "${stock.Maintain.quantity}")
|
||||
@Excel(name = "操作后数量")
|
||||
private String quantity;
|
||||
|
||||
/** 操作 */
|
||||
@Excel(name = "${stock.Maintain.method}", dictType="stock_maintain_method")
|
||||
@Excel(name = "操作", dictType="stock_maintain_method")
|
||||
private String method;
|
||||
|
||||
/** 仓库 */
|
||||
@Excel(name = "${stock.Maintain.warehouseId}")
|
||||
@Excel(name = "仓库")
|
||||
private String warehouseName;
|
||||
private String warehouseId;
|
||||
|
||||
@Excel(name = "${stock.Maintain.createTime}", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 30)
|
||||
@Excel(name = "操作时间", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 30)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user