From 08e996c1af5a367dd44be8d7e1c406ee1ab86fcb Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Thu, 22 Feb 2024 19:11:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs | 2 +- .../Device/Services/TechnologyService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs index 071c129..3150582 100644 --- a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs +++ b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs @@ -1084,7 +1084,7 @@ namespace BPA.SAAS.Manage.Application.DataBase.Services { TechnologyExportRecode.CreateAt= DateTime.Now; TechnologyExportRecode.TemplatePath = path; - await _db.Updateable(TechnologyExportRecode).ExecuteCommandAsync(); + var vvv= await _db.Updateable(TechnologyExportRecode).ExecuteCommandAsync(); } else { diff --git a/BPA.SAAS.Manage.Application/Device/Services/TechnologyService.cs b/BPA.SAAS.Manage.Application/Device/Services/TechnologyService.cs index b21d399..7b9f410 100644 --- a/BPA.SAAS.Manage.Application/Device/Services/TechnologyService.cs +++ b/BPA.SAAS.Manage.Application/Device/Services/TechnologyService.cs @@ -43,7 +43,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services ProductName = c.Name, CreateAt = a.CreateAt, DeviceVersionId = b.Id, - TemplatePath=b.TemplatePath + TemplatePath=a.TemplatePath }) .OrderBy(a=>a.CreateAt, OrderByType.Desc) From 342562c5e304d2abc25a7633c4a12ab96665060b Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Thu, 22 Feb 2024 20:28:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs index 3150582..c531050 100644 --- a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs +++ b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs @@ -931,7 +931,7 @@ namespace BPA.SAAS.Manage.Application.DataBase.Services { value = ""; } - if (value.ToString().Trim() == goodsName.Trim()) + if (value.ToString().Trim() == goodsName?.Trim()) { //ColumnAttribute attribute = (ColumnAttribute)item2.GetCustomAttribute(typeof(ColumnAttribute), false); //return attribute?.Name;