From 1d73f2b0424ed3acfb3302973fd84e6ea7fd0201 Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Sat, 24 Feb 2024 13:35:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/VSWorkspaceState.json | 2 +- .../Service/ShopManage/StoreDesktopNumber/StoreDesktopNumber.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index 3b520dc..0b84cdf 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -2,6 +2,6 @@ "ExpandedNodes": [ "" ], - "SelectedNode": "\\D:\\Work\\BPA.KitChen.StoreManagement", + "SelectedNode": "\\BPA.KitChen.StoreManagement.sln", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/BPA.KitChen.StoreManagement.Application/Service/ShopManage/StoreDesktopNumber/StoreDesktopNumber.cs b/BPA.KitChen.StoreManagement.Application/Service/ShopManage/StoreDesktopNumber/StoreDesktopNumber.cs index 01421b2..2beca11 100644 --- a/BPA.KitChen.StoreManagement.Application/Service/ShopManage/StoreDesktopNumber/StoreDesktopNumber.cs +++ b/BPA.KitChen.StoreManagement.Application/Service/ShopManage/StoreDesktopNumber/StoreDesktopNumber.cs @@ -175,7 +175,7 @@ namespace BPA.KitChen.StoreManagement.Application.Service.ShopManage.StoreDeskto .First(); if (storeDesktopNumbes == null) return false; storeDesktopNumbes.DesktopNumber = inputDto.DesktopNumber; - storeDesktopNumbes.Code = inputDto.Code; + storeDesktopNumbes.Code =String.IsNullOrEmpty(inputDto.Code)?"": inputDto.Code; return await db.Updateable(storeDesktopNumbes).ExecuteCommandAsync() > 0; } catch (Exception ex)