yang_shj
4 months ago
18 changed files with 383 additions and 192 deletions
@ -0,0 +1,43 @@
|
||||
package com.hnac.hzims.spare.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tool.utils.DateUtil; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/08/06 14:21 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode |
||||
public class SpAllocationExportVO implements Serializable { |
||||
|
||||
@ExcelProperty(value = "单据编码",index = 0) |
||||
@ColumnWidth(25) |
||||
private String code; |
||||
|
||||
@ExcelProperty(value = "拨入库房",index = 1) |
||||
@ColumnWidth(20) |
||||
private String inWarehouseName; |
||||
|
||||
@ExcelProperty(value = "拨出库房",index = 2) |
||||
@ColumnWidth(20) |
||||
private String outWarehouseName; |
||||
|
||||
@ExcelProperty(value = "申请人",index = 3) |
||||
@ColumnWidth(20) |
||||
private String userName; |
||||
|
||||
@ExcelProperty(value = "制单时间",index = 4, format = DateUtil.PATTERN_DATETIME) |
||||
@ColumnWidth(25) |
||||
private Date createTime; |
||||
|
||||
} |
@ -0,0 +1,36 @@
|
||||
package com.hnac.hzims.spare.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.tool.utils.DateUtil; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @Author: huangxing |
||||
* @Date: 2024/08/06 18:58 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode |
||||
public class SpReceiveExportVO implements Serializable { |
||||
|
||||
@ExcelProperty(value = "单据编码",index = 0) |
||||
@ColumnWidth(30) |
||||
private String code; |
||||
|
||||
@ExcelProperty(value = "出库库房",index = 1) |
||||
@ColumnWidth(30) |
||||
private String warehouseName; |
||||
|
||||
@ExcelProperty(value = "领用人",index = 2) |
||||
@ColumnWidth(20) |
||||
private String userName; |
||||
|
||||
@ExcelProperty(value = "领用时间",index = 3, format = DateUtil.PATTERN_DATETIME) |
||||
@ColumnWidth(30) |
||||
private Date createTime; |
||||
|
||||
} |
Loading…
Reference in new issue