|
@@ -77,7 +77,7 @@ public class EmrServer {
|
|
|
public ResultVo<String> insertEmrData(EmrPatientData param) {
|
|
|
param.setCreateId(TokenUtil.getTokenUserId());
|
|
|
if (dao.isThereARecordOfTheCourseOfTheDisease(param.getPatNo(), param.getTimes()) != null) {
|
|
|
- return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "该患者已经存在病程记录了,请勿重新填写。");
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.INTERNAL_SERVER_ERROR, "该患者已经存在病程记录了,请勿重新填写。");
|
|
|
}
|
|
|
try {
|
|
|
dao.emrInsertForTheFirstTime(param);
|