|
@@ -290,14 +290,16 @@ namespace fis.Win.Dev.Managers
|
|
|
var sampleRemedicalMeasuredList = sampleRemedicalInfoDTO.SampleRemedicalMeasuredList;
|
|
|
if (sampleRemedicalMeasuredList != null && sampleRemedicalMeasuredList.Count > 0)
|
|
|
{
|
|
|
+ int measureIndex = 0;
|
|
|
foreach (SampleRemedicalMeasuredInfoDTO sampleRemedicalMeasuredInfoDTO in sampleRemedicalMeasuredList)
|
|
|
{
|
|
|
+ measureIndex++;
|
|
|
string measureImageUrl = sampleRemedicalMeasuredInfoDTO.MeasuredFileToken;
|
|
|
string measuredData = sampleRemedicalMeasuredInfoDTO.MeasuredData;
|
|
|
///测量结果图像
|
|
|
if (!string.IsNullOrEmpty(measureImageUrl))
|
|
|
{
|
|
|
- var measureName = fileNameNoExtName + "_测量图像" + ".jpg";
|
|
|
+ var measureName = fileNameNoExtName + "_测量图像_" + measureIndex.ToString() + ".jpg";
|
|
|
string fileMeasureImagePath = Path.Combine(patientScanTypePath, measureName);
|
|
|
await HttpHelper.DownloadFile(measureImageUrl, new FileInfo(fileMeasureImagePath));
|
|
|
imagePathList.Add(prePath + measureName);
|
|
@@ -306,7 +308,7 @@ namespace fis.Win.Dev.Managers
|
|
|
///测量结果字符串
|
|
|
if (!string.IsNullOrEmpty(measuredData))
|
|
|
{
|
|
|
- var measureResultName = fileNameNoExtName + "_测量结果" + ".txt";
|
|
|
+ var measureResultName = fileNameNoExtName + "_测量结果_" + measureIndex.ToString() + ".txt";
|
|
|
string fileMeasureResultPath = Path.Combine(patientScanTypePath, measureResultName);
|
|
|
File.WriteAllText(fileMeasureResultPath, measuredData);
|
|
|
measureDataPathList.Add(prePath + measureResultName);
|