Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
commit
ba23950cd5
|
@ -2900,6 +2900,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
if (maxReadingTime != null)
|
if (maxReadingTime != null)
|
||||||
{
|
{
|
||||||
query = query.Where(x => x.FirstReadingTime == maxReadingTime);
|
query = query.Where(x => x.FirstReadingTime == maxReadingTime);
|
||||||
|
skipcount = 0;
|
||||||
}
|
}
|
||||||
task = await query
|
task = await query
|
||||||
.Select(x => new GetReadingTaskDto()
|
.Select(x => new GetReadingTaskDto()
|
||||||
|
|
|
@ -72,7 +72,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var ossRelativePath = await oSSService.UploadToOSSAsync(fileStream, pathCode, file.FileName);
|
var ossRelativePath = await oSSService.UploadToOSSAsync(fileStream, "InspectionUpload/"+ pathCode, file.FileName);
|
||||||
await _inspectionFileRepository.AddAsync(new InspectionFile() { FileName = file.FileName, RelativePath = ossRelativePath, TrialId = trialId });
|
await _inspectionFileRepository.AddAsync(new InspectionFile() { FileName = file.FileName, RelativePath = ossRelativePath, TrialId = trialId });
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|
Loading…
Reference in New Issue