Browse Source

fix:

修改导出数据字段
master
pref_mail@163.com 9 months ago
parent
commit
a0674ee487
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionStockArticleExcel.java
  2. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionStockArticleExcel.java

@ -78,7 +78,7 @@ public class DistributionStockArticleExcel implements Serializable {
* 仓库 * 仓库
*/ */
@ColumnWidth(20) @ColumnWidth(20)
@ExcelProperty("仓库") @ExcelProperty("所在仓库")
private String warehouse; private String warehouse;
/** /**
* 仓库 * 仓库

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java

@ -191,8 +191,8 @@ public class DistributionStockArticleServiceImpl extends BaseServiceImpl<Distrib
distributionStockArticleVO.getTotalNumber() - distributionStockArticleVO.getIncomingNum() distributionStockArticleVO.getTotalNumber() - distributionStockArticleVO.getIncomingNum()
); );
} }
excel.setIsZeroString("1".equals(distributionStockArticleVO.getIsZero()) ? "是" : "否");
BeanUtil.copyProperties(distributionStockArticleVO, excel); BeanUtil.copyProperties(distributionStockArticleVO, excel);
excel.setIsZeroString("1".equals(distributionStockArticleVO.getIsZero()) ? "是" : "否");
excelList.add(excel); excelList.add(excel);
}); });

Loading…
Cancel
Save