提交代码

dev
胡锐 3 months ago
parent bd870a5fd4
commit c399c302a8
  1. 4
      bweb/src/main/java/com/bweb/controller/BsGasOrderController.java
  2. 2
      service/src/main/java/com/hfkj/model/order/ExportGasOrderModel.java

@ -292,7 +292,7 @@ public class BsGasOrderController {
model.setGasDiscount(gasOrder.getGasDiscount().compareTo(new BigDecimal("1")) != 0?gasOrder.getGasDiscount().multiply(new BigDecimal("100")).setScale(2).toString():"无");
model.setGasOilNo(gasOrder.getGasOilNo() + "#");
model.setGasGunNo(gasOrder.getGasGunNo() + "号枪");
model.setGasPricePlatform(gasOrder.getGasPricePlatform());
model.setGasPriceVip(gasOrder.getGasPriceVip());
model.setGasPriceGun(gasOrder.getGasPriceGun());
model.setGasPriceOfficial(gasOrder.getGasPriceOfficial());
model.setPayTypeName(gasOrder.getPayType()!=null? OrderPayTypeEnum.getDataByType(gasOrder.getPayType()).getName():"未支付");
@ -326,7 +326,7 @@ public class BsGasOrderController {
includeColumnFiledNames.add("gasOilNo");
includeColumnFiledNames.add("gasGunNo");
includeColumnFiledNames.add("gasDiscount");
includeColumnFiledNames.add("gasPricePlatform");
includeColumnFiledNames.add("gasPriceVip");
includeColumnFiledNames.add("gasPriceGun");
includeColumnFiledNames.add("gasPriceOfficial");
includeColumnFiledNames.add("payTypeName");

@ -70,7 +70,7 @@ public class ExportGasOrderModel {
@ColumnWidth(10)
@ExcelProperty({ "加油信息", "平台价"})
private BigDecimal gasPricePlatform;
private BigDecimal gasPriceVip;
@ColumnWidth(10)
@ExcelProperty({ "加油信息", "油站价"})

Loading…
Cancel
Save