Commit 378a78d0 authored by 赵鹏翔's avatar 赵鹏翔

update

parent 08b6357e
......@@ -102,7 +102,7 @@ object PrintService {
printer.printText(
IPrinter.ALIGN_LEFT,
3,
" ${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc}",
" ${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc}",
true
)
printer.printText(Page58MmPrintUtils.printDivideLineString())
......@@ -138,7 +138,7 @@ object PrintService {
//平台优惠
val platformCoupon = couponDetail[2]
val channel =
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc
printer.printText(
"$channel 优惠:${
StringPriceFormatUtils.transStringPriceToDecimalString(
......@@ -186,7 +186,7 @@ object PrintService {
printer.printText(
IPrinter.ALIGN_LEFT,
3,
" ${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc}",
" ${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc}",
true
)
printer.printText(Page58MmPrintUtils.printDivideLineString())
......@@ -222,7 +222,7 @@ object PrintService {
//平台优惠
val platformCoupon = couponDetail[2]
val channel =
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc
printer.printText(
"$channel 优惠:${
StringPriceFormatUtils.transStringPriceToDecimalString(
......@@ -336,7 +336,7 @@ object PrintService {
printer.printText(
IPrinter.ALIGN_LEFT,
3,
" 退款(${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc})",
" 退款(${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc})",
true
)
printer.printText(Page58MmPrintUtils.printDivideLineString())
......@@ -374,7 +374,7 @@ object PrintService {
//平台优惠
val platformCoupon = couponDetail[2]
val channel =
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc
printer.printText(
"$channel 优惠:${
StringPriceFormatUtils.transStringPriceToDecimalString(
......@@ -421,7 +421,7 @@ object PrintService {
printer.printText(
IPrinter.ALIGN_LEFT,
3,
" 退款(${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc})",
" 退款(${MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc})",
true
)
printer.printText(Page58MmPrintUtils.printDivideLineString())
......@@ -459,7 +459,7 @@ object PrintService {
//平台优惠
val platformCoupon = couponDetail[2]
val channel =
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag).desc
MiYaPayPlantformPayWayEnum.MiyaPayType.find(payServiceResponse.chanelTag)?.desc
printer.printText(
"$channel 优惠:${
StringPriceFormatUtils.transStringPriceToDecimalString(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment