zhaoy 10 months ago
parent
commit
d63509ec13
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs
  2. +1
    -1
      BPA.SAAS.Manage.Application/Device/Services/TechnologyService.cs

+ 2
- 2
BPA.SAAS.Manage.Application/DataBase/Services/GoodsService.cs View File

@@ -943,7 +943,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;
@@ -1096,7 +1096,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
{


+ 1
- 1
BPA.SAAS.Manage.Application/Device/Services/TechnologyService.cs View File

@@ -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)


Loading…
Cancel
Save