Browse Source

上传图片

master
wxd 11 months ago
parent
commit
d03e6fb1d6
  1. 5
      src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/ImportRegisterCheckPictureByLisRequestNoInputDto.cs
  2. 6
      src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/ImportRegisterCheckPictureByPatientRegisterNoInputDto.cs
  3. 5
      src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/ImportRegisterCheckPictureInputDto.cs
  4. 5
      src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/UploadRegisterCheckPictureManyDto.cs
  5. 4
      src/Shentun.Peis.Application/ImportLisResults/ImportLisResultAppService.cs
  6. 11
      src/Shentun.Peis.Application/RegisterCheckPictures/RegisterCheckPictureAppService.cs

5
src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/ImportRegisterCheckPictureByLisRequestNoInputDto.cs

@ -30,5 +30,10 @@ namespace Shentun.Peis.RegisterCheckPictures
/// 图片文件类型 0-仪器图片,1-报告文件,默认是0
/// </summary>
public char PictureFileType { get; set; } = '1';
/// <summary>
/// 是打印标志
/// </summary>
public char IsPrint { get; set; } = 'Y';
}
}

6
src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/ImportRegisterCheckPictureByPatientRegisterNoInputDto.cs

@ -30,5 +30,11 @@ namespace Shentun.Peis.RegisterCheckPictures
/// 图片文件类型 0-仪器图片,1-报告文件,默认是0
/// </summary>
public char PictureFileType { get; set; } = '1';
/// <summary>
/// 是打印标志
/// </summary>
public char IsPrint { get; set; } = 'Y';
}
}

5
src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/ImportRegisterCheckPictureInputDto.cs

@ -28,5 +28,10 @@ namespace Shentun.Peis.RegisterCheckPictures
/// 图片文件类型 0-仪器图片,1-报告文件,默认是0
/// </summary>
public char PictureFileType { get; set; } = '1';
/// <summary>
/// 是打印标志
/// </summary>
public char IsPrint { get; set; } = 'Y';
}
}

5
src/Shentun.Peis.Application.Contracts/RegisterCheckPictures/UploadRegisterCheckPictureManyDto.cs

@ -45,5 +45,10 @@ namespace Shentun.Peis.RegisterCheckPictures
public string FileName { get; set; }
public string PictureBaseStr { get; set; }
/// <summary>
/// 是打印标志
/// </summary>
public char IsPrint { get; set; } = 'Y';
}
}

4
src/Shentun.Peis.Application/ImportLisResults/ImportLisResultAppService.cs

@ -192,7 +192,7 @@ namespace Shentun.Peis.ImportLisResults
//};
//修改参考范围
await UpdateItemReferenceRangeValueAsync(inputItem.ItemId, lisRequestItem.patientRegister.SexId,
lisRequestItem.patientRegister.Age, inputItem.ReferenceRangeValue);
lisRequestItem.patientRegister.Age, inputItem.ReferenceRangeValue, inputItem.CriticalRangeValue);
//修改单位
await UpdateItemUnitAsync(inputItem.ItemId, inputItem.Unit);
@ -598,7 +598,7 @@ namespace Shentun.Peis.ImportLisResults
//};
//修改参考范围
await UpdateItemReferenceRangeValueAsync(inputItem.ItemId, lisRequestItem.patientRegister.SexId,
lisRequestItem.patientRegister.Age, inputItem.ReferenceRangeValue);
lisRequestItem.patientRegister.Age, inputItem.ReferenceRangeValue,inputItem.CriticalRangeValue);
//修改单位
await UpdateItemUnitAsync(inputItem.ItemId, inputItem.Unit);

11
src/Shentun.Peis.Application/RegisterCheckPictures/RegisterCheckPictureAppService.cs

@ -217,7 +217,7 @@ namespace Shentun.Peis.RegisterCheckPictures
ent = new RegisterCheckPicture
{
DisplayOrder = input.PictureBaseStrs.IndexOf(item) + 1,
IsPrint = 'Y',
IsPrint = item.IsPrint,
PictureFilename = PictureUrl,
RegisterCheckId = input.RegisterCheckId,
PictureFileType = input.PictureFileType
@ -371,7 +371,8 @@ namespace Shentun.Peis.RegisterCheckPictures
pic.Add(new UploadRegisterCheckPictureManyPictureBaseStrsDto
{
FileName = input.PictureName,
PictureBaseStr = input.PictureBase64
PictureBaseStr = input.PictureBase64,
IsPrint = input.IsPrint
});
await UploadRegisterCheckPictureManyAsync(new UploadRegisterCheckPictureManyDto
@ -408,7 +409,8 @@ namespace Shentun.Peis.RegisterCheckPictures
pic.Add(new UploadRegisterCheckPictureManyPictureBaseStrsDto
{
FileName = input.PictureName,
PictureBaseStr = input.PictureBase64
PictureBaseStr = input.PictureBase64,
IsPrint = input.IsPrint
});
@ -450,7 +452,8 @@ namespace Shentun.Peis.RegisterCheckPictures
pic.Add(new UploadRegisterCheckPictureManyPictureBaseStrsDto
{
FileName = input.PictureName,
PictureBaseStr = input.PictureBase64
PictureBaseStr = input.PictureBase64,
IsPrint = input.IsPrint
});

Loading…
Cancel
Save