Browse Source

修改表头顺序

master
lihua 5 years ago
parent
commit
78eb58dd4e
  1. 8
      src/main/java/cn/redrock/assetmanage/dto/Material.java
  2. 8
      src/main/java/cn/redrock/assetmanage/entity/AmMaterial.java
  3. BIN
      src/main/resources/static/template.xlsx

8
src/main/java/cn/redrock/assetmanage/dto/Material.java

@ -37,13 +37,13 @@ public class Material {
@NotBlank
private String packages;
@ExcelColumn(value = "公司名称", col = 6)
private String company;
@ExcelColumn(value = "位号", col = 7)
@ExcelColumn(value = "位号", col = 6)
@NotBlank
private String position;
@ExcelColumn(value = "公司名称", col = 7)
private String company;
@ExcelColumn(value = "备注", col = 8)
private String description;

8
src/main/java/cn/redrock/assetmanage/entity/AmMaterial.java

@ -33,12 +33,12 @@ public class AmMaterial {
@ExcelColumn(value = "封装", col = 5)
private String packages;
@ExcelColumn(value = "公司名称", col = 6)
private String company;
@ExcelColumn(value = "位号", col = 7)
@ExcelColumn(value = "位号", col = 6)
private String position;
@ExcelColumn(value = "公司名称", col = 7)
private String company;
@ExcelColumn(value = "备注", col = 8)
private String description;

BIN
src/main/resources/static/template.xlsx

Binary file not shown.
Loading…
Cancel
Save