parent
e642145107
commit
901cf3d694
7 changed files with 232 additions and 6 deletions
@ -0,0 +1,59 @@ |
||||
|
||||
package org.springblade.lims.capital.excel; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
||||
import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* UserExcel |
||||
*/ |
||||
@Data |
||||
@ColumnWidth(25) |
||||
@HeadRowHeight(20) |
||||
@ContentRowHeight(18) |
||||
public class GoodsDetailExcel implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物品名称") |
||||
private String goodsName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("供应商") |
||||
private String supplierName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物品到货率") |
||||
private String goodsRate; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物品种类数量") |
||||
private String goodsClassNum; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物品数量") |
||||
private String goodsNum; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("已到数量") |
||||
private String inNum; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("未到货数量") |
||||
private String notNum; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("订单状态") |
||||
private String statusText; |
||||
|
||||
@ColumnWidth(25) |
||||
@ExcelProperty("创建时间") |
||||
private String createTime; |
||||
|
||||
} |
||||
@ -0,0 +1,59 @@ |
||||
package org.springblade.lims.excel; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import lombok.Data; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@Data |
||||
public class ExamineExportExcel implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("检测项目") |
||||
private String examineItemName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("样品名称") |
||||
private String simpleName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("检测编号") |
||||
private String experieNum; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("样品数量") |
||||
private String simpleCount; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("检测方法") |
||||
private String examineWayName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("检测标准") |
||||
private String examineBasisName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("要求完成时间") |
||||
private String demandCompletionTime; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("创建时间") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
private String createTime; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("领取人") |
||||
private String examineByName; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("样品所在") |
||||
private String simpleCurrPlace; |
||||
|
||||
@ColumnWidth(20) |
||||
@ExcelProperty("状态") |
||||
private String status; |
||||
|
||||
} |
||||
Loading…
Reference in new issue