栈溢出
This commit is contained in:
@@ -77,7 +77,7 @@ public class EncounterParticipantServiceImpl extends ServiceImpl<EncounterPartic
|
|||||||
@Override
|
@Override
|
||||||
public Integer updateEncounterParticipantsStatus(Long encounterId) {
|
public Integer updateEncounterParticipantsStatus(Long encounterId) {
|
||||||
// 更新状态为已完成
|
// 更新状态为已完成
|
||||||
Integer result = baseMapper.update(null,
|
return baseMapper.update(null,
|
||||||
new LambdaUpdateWrapper<EncounterParticipant>()
|
new LambdaUpdateWrapper<EncounterParticipant>()
|
||||||
.set(EncounterParticipant::getStatusEnum, EncounterActivityStatus.COMPLETED.getValue())
|
.set(EncounterParticipant::getStatusEnum, EncounterActivityStatus.COMPLETED.getValue())
|
||||||
.eq(EncounterParticipant::getEncounterId, encounterId)
|
.eq(EncounterParticipant::getEncounterId, encounterId)
|
||||||
@@ -85,7 +85,6 @@ public class EncounterParticipantServiceImpl extends ServiceImpl<EncounterPartic
|
|||||||
.in(EncounterParticipant::getTypeCode,
|
.in(EncounterParticipant::getTypeCode,
|
||||||
ParticipantType.ATTENDING_DOCTOR.getCode(), ParticipantType.CHIEF_DOCTOR.getCode(),
|
ParticipantType.ATTENDING_DOCTOR.getCode(), ParticipantType.CHIEF_DOCTOR.getCode(),
|
||||||
ParticipantType.PRIMARY_NURSE.getCode(), ParticipantType.ADMITTING_DOCTOR.getCode()));
|
ParticipantType.PRIMARY_NURSE.getCode(), ParticipantType.ADMITTING_DOCTOR.getCode()));
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user