From a382fedba62fa46b3d73c2e988fa6908412a99c9 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 27 三月 2025 14:44:47 +0800 Subject: [PATCH] bug修改 --- medicalWaste-system/src/main/java/com/sinata/system/domain/vo/MwCheckoutRecordExcelVO.java | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/medicalWaste-system/src/main/java/com/sinata/system/domain/vo/MwCheckoutRecordExcelVO.java b/medicalWaste-system/src/main/java/com/sinata/system/domain/vo/MwCheckoutRecordExcelVO.java index e21866b..5269bda 100644 --- a/medicalWaste-system/src/main/java/com/sinata/system/domain/vo/MwCheckoutRecordExcelVO.java +++ b/medicalWaste-system/src/main/java/com/sinata/system/domain/vo/MwCheckoutRecordExcelVO.java @@ -1,5 +1,6 @@ package com.sinata.system.domain.vo; +import cn.idev.excel.annotation.ExcelIgnore; import cn.idev.excel.annotation.ExcelProperty; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -20,38 +21,39 @@ private static final long serialVersionUID = -851971023455890457L; @ApiModelProperty("记录id") + @ExcelIgnore private Long id; - @ExcelProperty(value = "转运时间", index = 1) + @ExcelProperty(value = "转运时间", index = 0) private Date checkoutTime; @ApiModelProperty("医院名称") - @ExcelProperty(value = "医院名称", index = 2) + @ExcelProperty(value = "医院名称", index = 1) private String hospitalName; @ApiModelProperty("箱数") - @ExcelProperty(value = "箱数", index = 3) + @ExcelProperty(value = "箱数", index = 2) private Integer boxNum; @ApiModelProperty("袋数") - @ExcelProperty(value = "袋数", index = 4) + @ExcelProperty(value = "袋数", index = 3) private Integer bagNum; @ApiModelProperty("总重量") - @ExcelProperty(value = "重量", index = 5) + @ExcelProperty(value = "重量", index = 4) private BigDecimal totalWeight; @ApiModelProperty("司机姓名") - @ExcelProperty(value = "司机姓名", index = 6) + @ExcelProperty(value = "司机姓名", index = 5) private String driverName; @ApiModelProperty("车牌号") - @ExcelProperty(value = "车牌号", index = 7) + @ExcelProperty(value = "车牌号", index = 6) private String licensePlateNumber; @ApiModelProperty("转运线路") - @ExcelProperty(value = "转运路线", index = 8) + @ExcelProperty(value = "转运路线", index = 7) private String routeName; } -- Gitblit v1.7.1