zhaoy 10 个月前
父节点
当前提交
d63509ec13
共有 2 个文件被更改,包括 3 次插入3 次删除
  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 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存