|
|
@ -227,7 +227,7 @@ public class FirstAidRecordService implements IFirstAidRecordService { |
|
|
|
param.getCodeAndAnswerList().forEach(codeAndAnswer -> { |
|
|
|
if (children.contains(codeAndAnswer.getQuestionCode())) { |
|
|
|
log.info("{}是急救的code,不能修改", codeAndAnswer.getQuestionCode() ); |
|
|
|
throw new BaseException(DefaultCodeError.NO_DATA_MODIFY_PRIVILEGE); |
|
|
|
throw new BaseException(DefaultCodeError.FIRST_AID_AUDIT); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else if (firstAid.getDataStatus() == Constant.DataStatus.DischargeRefuse.status) { |
|
|
@ -250,7 +250,7 @@ public class FirstAidRecordService implements IFirstAidRecordService { |
|
|
|
// }
|
|
|
|
} else { |
|
|
|
// 出院审核通过 申请修改 申请拒绝
|
|
|
|
throw new BaseException(DefaultCodeError.NO_DATA_MODIFY_PRIVILEGE); |
|
|
|
throw new BaseException(DefaultCodeError.OUT_HOSPITAL_AUDIT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|