|
|
@@ -41,11 +41,13 @@ namespace BPA.SAAS.Manage.Application.DataBase.Services |
|
|
|
private readonly ISqlSugarClient _db; |
|
|
|
IGoodsAttributeService _goodsAttributeService; |
|
|
|
ISystemConfigService _SystemConfigService; |
|
|
|
public GoodsService(ISqlSugarClient db, IGoodsAttributeService goodsAttributeService, ISystemConfigService SystemConfigService) |
|
|
|
IAliyunOssService _aliyunOssService; |
|
|
|
public GoodsService(ISqlSugarClient db, IGoodsAttributeService goodsAttributeService, ISystemConfigService SystemConfigService, IAliyunOssService aliyunOssService) |
|
|
|
{ |
|
|
|
_db=db; |
|
|
|
_goodsAttributeService=goodsAttributeService; |
|
|
|
_SystemConfigService = SystemConfigService; |
|
|
|
_aliyunOssService = aliyunOssService; |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 分页查询 |
|
|
@@ -1212,7 +1214,7 @@ namespace BPA.SAAS.Manage.Application.DataBase.Services |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion |
|
|
|
var path = await _SystemConfigService.GetCosImgesURL(file); |
|
|
|
var path = inputDto.AliyunUrl; |
|
|
|
var TechnologyExportRecode = _db.Queryable<BPA_TechnologyExportRecode>().Where(x=>x.DeviceVersionId == inputDto.Id).First(); |
|
|
|
if (TechnologyExportRecode != null) |
|
|
|
{ |
|
|
|