结算明细字段映射调整
This commit is contained in:
parent
f922c6d987
commit
9aa9782426
|
@ -226,7 +226,7 @@ public class LyOrderRecordExtensionFactory implements OrderRecordExtensionFactor
|
||||||
.setRoomRate(String.valueOf(lyOrderHotelRecord.getTotalRoomPrice())) //房费(订单总额减总服务费)
|
.setRoomRate(String.valueOf(lyOrderHotelRecord.getTotalRoomPrice())) //房费(订单总额减总服务费)
|
||||||
.setNoTaxAmt("") //不含税价
|
.setNoTaxAmt("") //不含税价
|
||||||
.setTaxAmt("") //税费
|
.setTaxAmt("") //税费
|
||||||
.setInvoiceType("") //供应商发票类型
|
.setInvoiceType(readInvoiceType(lyOrderHotelRecord.getCustomerInvoiceType())) //供应商发票类型
|
||||||
.setInvoiceFee("") //开票手续费
|
.setInvoiceFee("") //开票手续费
|
||||||
.setCustodayFee("") //托管费
|
.setCustodayFee("") //托管费
|
||||||
.setNoTaxCusFee("") //托管费不含税
|
.setNoTaxCusFee("") //托管费不含税
|
||||||
|
@ -623,4 +623,12 @@ public class LyOrderRecordExtensionFactory implements OrderRecordExtensionFactor
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//供应商发票类型
|
||||||
|
public String readInvoiceType(Integer type) {
|
||||||
|
return switch (type) {
|
||||||
|
case 0 -> "增值税普通发票";
|
||||||
|
case 1 -> "增值税专用发票";
|
||||||
|
default -> "未知发票";
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue