From 10a8d21a9a0d4d0820152c91095b9b6d36ddd378 Mon Sep 17 00:00:00 2001 From: wanghaomei <86whm@163.com> Date: Tue, 23 Apr 2024 09:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Core/Service/DjyCustomer/DjyCustomerService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Myshipping.Core/Service/DjyCustomer/DjyCustomerService.cs b/Myshipping.Core/Service/DjyCustomer/DjyCustomerService.cs index de1a9f95..f758cd80 100644 --- a/Myshipping.Core/Service/DjyCustomer/DjyCustomerService.cs +++ b/Myshipping.Core/Service/DjyCustomer/DjyCustomerService.cs @@ -17,6 +17,7 @@ using NPOI.Util; using StackExchange.Profiling.Internal; using Microsoft.AspNetCore.Authorization; using static NPOI.HSSF.Util.HSSFColor; +using TinyPinyin; namespace Myshipping.Core.Service { @@ -399,7 +400,7 @@ namespace Myshipping.Core.Service FullName = dto.Name, Email = dto.Email, Tel = dto.Phone, - CodeName = "", + CodeName = PinyinHelper.GetPinyinInitials(shortName), ShortName = shortName, DjyGid = dto.DjyGid, PropString = "[consignor]"