挂号调整

This commit is contained in:
Wang.Huan
2025-03-20 10:26:58 +08:00
parent 6dcedea99c
commit 98d104d8fa
2 changed files with 7 additions and 7 deletions

View File

@@ -211,11 +211,13 @@ public class OutpatientRegistrationAppServiceImpl implements IOutpatientRegistra
EncounterLocation encounterLocation = new EncounterLocation();
BeanUtils.copyProperties(encounterLocationFormData, encounterLocation);
iEncounterLocationService.saveEncounterLocationByRegister(encounterLocation);
// 保存就诊参数者信息
encounterParticipantFormData.setEncounterId(encounterId);
EncounterParticipant encounterParticipant = new EncounterParticipant();
BeanUtils.copyProperties(encounterParticipantFormData, encounterParticipant);
iEncounterParticipantService.saveEncounterParticipantByRegister(encounterParticipant);
// 保存就诊参数者信息 , 选了参与这才保存
if (encounterParticipantFormData.getPractitionerId() != null) {
encounterParticipantFormData.setEncounterId(encounterId);
EncounterParticipant encounterParticipant = new EncounterParticipant();
BeanUtils.copyProperties(encounterParticipantFormData, encounterParticipant);
iEncounterParticipantService.saveEncounterParticipantByRegister(encounterParticipant);
}
// 保存就诊账户信息
accountFormData.setEncounterId(encounterId);
Account account = new Account();

View File

@@ -1,6 +1,5 @@
package com.openhis.web.chargemanage.dto;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@@ -27,7 +26,6 @@ public class EncounterParticipantFormData {
private String typeCode;
/** 参与者ID */
@NotNull(message = "参与者ID不能为空")
@JsonSerialize(using = ToStringSerializer.class)
private Long practitionerId;