From 566efa54294944307856a834dcd111bc55affcde Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 19 May 2023 13:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BC=20=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BookingOrder/BookingValueAddedService.cs | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs b/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs index 72bdb46a..b657653f 100644 --- a/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs +++ b/Myshipping.Application/Service/BookingOrder/BookingValueAddedService.cs @@ -139,7 +139,13 @@ namespace Myshipping.Application if(fail > 0) { if (succ > 0) - result.batchTotal = result.batchTotal+"/"+ fail.ToString(); + { + result.batchTotal = result.batchTotal + "/" + fail.ToString(); + } + else + { + result.batchTotal = "- "; + } result.batchTotal = "/" + fail.ToString(); } @@ -427,8 +433,13 @@ namespace Myshipping.Application if (fail > 0) { if (succ > 0) + { result.batchTotal = result.batchTotal + "/" + fail.ToString(); - + } + else + { + result.batchTotal = "- "; + } result.batchTotal = "/" + fail.ToString(); } } @@ -947,7 +958,13 @@ namespace Myshipping.Application if (fail > 0) { if (succ > 0) + { result.batchTotal = result.batchTotal + "/" + fail.ToString(); + } + else + { + result.batchTotal = "- "; + } result.batchTotal = "/" + fail.ToString(); }