门诊挂号-部分
This commit is contained in:
@@ -11,4 +11,11 @@ import com.openhis.administration.domain.EncounterLocation;
|
||||
*/
|
||||
public interface IEncounterLocationService extends IService<EncounterLocation> {
|
||||
|
||||
/**
|
||||
* 保存就诊位置信息
|
||||
*
|
||||
* @param encounterLocation 就诊位置信息
|
||||
*/
|
||||
void saveEncounterLocation(EncounterLocation encounterLocation);
|
||||
|
||||
}
|
||||
@@ -11,4 +11,11 @@ import com.openhis.administration.domain.EncounterParticipant;
|
||||
*/
|
||||
public interface IEncounterParticipantService extends IService<EncounterParticipant> {
|
||||
|
||||
/**
|
||||
* 保存就诊参与者
|
||||
*
|
||||
* @param encounterParticipant 就诊参与者信息
|
||||
*/
|
||||
void saveEncounterParticipant(EncounterParticipant encounterParticipant);
|
||||
|
||||
}
|
||||
@@ -10,5 +10,12 @@ import com.openhis.administration.domain.Encounter;
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
public interface IEncounterService extends IService<Encounter> {
|
||||
/**
|
||||
* 保存就诊信息
|
||||
*
|
||||
* @param encounter 就诊信息
|
||||
* @return 保存后的信息
|
||||
*/
|
||||
Long saveEncounter(Encounter encounter);
|
||||
|
||||
}
|
||||
@@ -14,6 +14,17 @@ import com.openhis.administration.service.IEncounterLocationService;
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Service
|
||||
public class EncounterLocationServiceImpl extends ServiceImpl<EncounterLocationMapper, EncounterLocation> implements IEncounterLocationService {
|
||||
public class EncounterLocationServiceImpl extends ServiceImpl<EncounterLocationMapper, EncounterLocation>
|
||||
implements IEncounterLocationService {
|
||||
|
||||
/**
|
||||
* 保存就诊位置信息
|
||||
*
|
||||
* @param encounterLocation 就诊位置信息
|
||||
*/
|
||||
@Override
|
||||
public void saveEncounterLocation(EncounterLocation encounterLocation) {
|
||||
baseMapper.insert(encounterLocation);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,6 +14,17 @@ import com.openhis.administration.service.IEncounterParticipantService;
|
||||
* @date 2025-02-20
|
||||
*/
|
||||
@Service
|
||||
public class EncounterParticipantServiceImpl extends ServiceImpl<EncounterParticipantMapper, EncounterParticipant> implements IEncounterParticipantService {
|
||||
public class EncounterParticipantServiceImpl extends ServiceImpl<EncounterParticipantMapper, EncounterParticipant>
|
||||
implements IEncounterParticipantService {
|
||||
|
||||
/**
|
||||
* 保存就诊参与者
|
||||
*
|
||||
* @param encounterParticipant 就诊参与者信息
|
||||
*/
|
||||
@Override
|
||||
public void saveEncounterParticipant(EncounterParticipant encounterParticipant) {
|
||||
baseMapper.insert(encounterParticipant);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -16,4 +16,19 @@ import com.openhis.administration.service.IEncounterService;
|
||||
@Service
|
||||
public class EncounterServiceImpl extends ServiceImpl<EncounterMapper, Encounter> implements IEncounterService {
|
||||
|
||||
/**
|
||||
* 保存就诊信息
|
||||
*
|
||||
* @param encounter 就诊信息
|
||||
* @return 保存后的信息
|
||||
*/
|
||||
@Override
|
||||
public Long saveEncounter(Encounter encounter) {
|
||||
// 生产就诊编码
|
||||
|
||||
// 生产就诊序号
|
||||
baseMapper.insert(encounter);
|
||||
return encounter.getId();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user