up
This commit is contained in:
@@ -27,11 +27,6 @@ public interface IOutpatientSkinTestRecordService {
|
|||||||
*/
|
*/
|
||||||
List<PatientListDto> getSkinTestResult();
|
List<PatientListDto> getSkinTestResult();
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取药品状态列表
|
|
||||||
*/
|
|
||||||
List<PatientListDto> getMedicationStatus();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页查询门诊皮试记录,可选条件
|
* 分页查询门诊皮试记录,可选条件
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -110,24 +110,6 @@ public class OutpatientSkinTestRecordServiceImpl implements IOutpatientSkinTestR
|
|||||||
return dtos;
|
return dtos;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取药品状态列表
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public List<PatientListDto> getMedicationStatus() {
|
|
||||||
// 获取药品状态列表
|
|
||||||
List<EventStatus> statusList = Arrays.asList(EventStatus.values());
|
|
||||||
List<PatientListDto> dtos = new ArrayList<>();
|
|
||||||
// 取得更新值
|
|
||||||
for (EventStatus status : statusList) {
|
|
||||||
PatientListDto dto = new PatientListDto();
|
|
||||||
dto.setValue(status.getValue());
|
|
||||||
dto.setInfo(status.getInfo());
|
|
||||||
dtos.add(dto);
|
|
||||||
}
|
|
||||||
return dtos;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页查询门诊皮试记录,可选条件
|
* 分页查询门诊皮试记录,可选条件
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -47,16 +47,6 @@ public class OutpatientSkinTestRecordController {
|
|||||||
return R.ok(OutpatientSkinTestRecordService.getSkinTestResult());
|
return R.ok(OutpatientSkinTestRecordService.getSkinTestResult());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取药品状态列表
|
|
||||||
*/
|
|
||||||
@GetMapping("/list-medicationstatus")
|
|
||||||
public R<?> getMedicationStatus() {
|
|
||||||
|
|
||||||
return R.ok(OutpatientSkinTestRecordService.getMedicationStatus());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 护士确认执行皮试后,更新皮试记录信息
|
* 护士确认执行皮试后,更新皮试记录信息
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user