Browse Source

同步register_check表pacs字段

master
wxd 12 months ago
parent
commit
3794d7afe7
  1. 9
      src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs

9
src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs

@ -1071,10 +1071,10 @@ namespace Shentun.Peis.TransToWebPeis
#region register_check #region register_check
await WebDb.Ado.ExecuteCommandAsync("INSERT INTO public.register_check(register_check_id, patient_register_id, check_request_no, third_info, complete_flag, critical_value, critical_value_flag, critical_value_process_content," + await WebDb.Ado.ExecuteCommandAsync("INSERT INTO public.register_check(register_check_id, patient_register_id, check_request_no, third_info, complete_flag, critical_value, critical_value_flag, critical_value_process_content," +
"critical_value_process_flag, critical_value_process_doctor, critical_value_process_date, critical_value_create_date, check_doctor_id, check_date, is_audit," + "critical_value_process_flag, critical_value_process_doctor, critical_value_process_date, critical_value_create_date, check_doctor_id, check_date, is_audit," +
" auditor_user_id, audit_time, concurrency_stamp, creation_time, creator_id, last_modification_time, last_modifier_id, exec_organization_unit_id) VALUES " +
" auditor_user_id, audit_time, concurrency_stamp, creation_time, creator_id, last_modification_time, last_modifier_id, exec_organization_unit_id,is_pacs_check,pacs_check_date,pacs_upload_date) VALUES " +
"(@register_check_id,@patient_register_id,@check_request_no,@third_info,@complete_flag,@critical_value,@critical_value_flag,@critical_value_process_content," + "(@register_check_id,@patient_register_id,@check_request_no,@third_info,@complete_flag,@critical_value,@critical_value_flag,@critical_value_process_content," +
"@critical_value_process_flag,@critical_value_process_doctor,CAST(@critical_value_process_date as timestamp),CAST(@critical_value_create_date as timestamp),@check_doctor_id,CAST(@check_date as timestamp),@is_audit," + "@critical_value_process_flag,@critical_value_process_doctor,CAST(@critical_value_process_date as timestamp),CAST(@critical_value_create_date as timestamp),@check_doctor_id,CAST(@check_date as timestamp),@is_audit," +
"@auditor_user_id::uuid,CAST(@audit_time as timestamp),@concurrency_stamp,@creation_time,@creator_id,@last_modification_time,@last_modifier_id,@exec_organization_unit_id::uuid);",
"@auditor_user_id::uuid,CAST(@audit_time as timestamp),@concurrency_stamp,@creation_time,@creator_id,@last_modification_time,@last_modifier_id,@exec_organization_unit_id::uuid,is_pacs_check,CAST(@pacs_check_date as timestamp),CAST(@pacs_upload_date as timestamp));",
new List<SugarParameter>() { new List<SugarParameter>() {
new SugarParameter("register_check_id",registerCheckWithDetail.Id), new SugarParameter("register_check_id",registerCheckWithDetail.Id),
new SugarParameter("patient_register_id",registerCheckWithDetail.PatientRegisterId), new SugarParameter("patient_register_id",registerCheckWithDetail.PatientRegisterId),
@ -1098,7 +1098,10 @@ namespace Shentun.Peis.TransToWebPeis
new SugarParameter("creator_id",registerCheckWithDetail.CreatorId), new SugarParameter("creator_id",registerCheckWithDetail.CreatorId),
new SugarParameter("last_modification_time",registerCheckWithDetail.LastModificationTime), new SugarParameter("last_modification_time",registerCheckWithDetail.LastModificationTime),
new SugarParameter("last_modifier_id",registerCheckWithDetail.LastModifierId), new SugarParameter("last_modifier_id",registerCheckWithDetail.LastModifierId),
new SugarParameter("exec_organization_unit_id",registerCheckWithDetail.ExecOrganizationUnitId)
new SugarParameter("exec_organization_unit_id",registerCheckWithDetail.ExecOrganizationUnitId),
new SugarParameter("is_pacs_check",registerCheckWithDetail.IsPacsCheck),
new SugarParameter("pacs_check_date",registerCheckWithDetail.PacsCheckDate),
new SugarParameter("pacs_upload_date",registerCheckWithDetail.PacsUploadDate)
}); });
#endregion #endregion

Loading…
Cancel
Save