Explorar el Código

Merge branch 'master' into storemanagement

storemanagement
zhaoy hace 8 meses
padre
commit
7598790c0b
Se han modificado 3 ficheros con 4 adiciones y 1 borrados
  1. +1
    -0
      BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs
  2. +1
    -1
      BPA.SAAS.Manage.Application/Device/Services/WarehouseTemplateService.cs
  3. +2
    -0
      BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs

+ 1
- 0
BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs Ver fichero

@@ -78,6 +78,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services
{ {
x.Vesion = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.Vesion; x.Vesion = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.Vesion;
x.ProductNumber = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.ProductNumber; x.ProductNumber = _db.Queryable<BPA_ProductVesion>().Where(s => s.Id == x.ProductVersionId).First()?.ProductNumber;
x.ProductName = _db.Queryable<BPA_Product>().Where(s => s.Id == x.ProductId).First()?.Name;
x.PrductKey = _db.Queryable<BPA_Product>().Where(s => s.Id == x.ProductId).First()?.Key; x.PrductKey = _db.Queryable<BPA_Product>().Where(s => s.Id == x.ProductId).First()?.Key;
}); });
return data; return data;


+ 1
- 1
BPA.SAAS.Manage.Application/Device/Services/WarehouseTemplateService.cs Ver fichero

@@ -111,7 +111,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services
catch (Exception e) catch (Exception e)
{ {
_db.Ado.RollbackTran(); _db.Ado.RollbackTran();
throw Oops.Oh("添加失败");
throw Oops.Oh("添加失败,"+e.Message);
} }
} }


+ 2
- 0
BPA.SAAS.Manage.Comm/Model/ListSelectQuery.cs Ver fichero

@@ -22,5 +22,7 @@ namespace BPA.SAAS.Manage.Comm.Model
public string Vesion { get; set; } public string Vesion { get; set; }
public string PrductKey { get; set; } public string PrductKey { get; set; }
public int? ProductNumber { get; set; } public int? ProductNumber { get; set; }
public string ProductName { get; set; }
} }
} }

Cargando…
Cancelar
Guardar