|
@@ -361,6 +361,9 @@ public class EmrServer {
|
|
|
if (patientData.getSignComplete()) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "患者完成电子签名无法删除。");
|
|
|
}
|
|
|
+ if (!patientData.getCreateId().equals(TokenUtil.getInstance().getTokenUserId())) {
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "创建人不是你无法删除。");
|
|
|
+ }
|
|
|
EmrDataExtract emrDataExtract = dao.extractDataSource(patientData.getEmrCategoryCode());
|
|
|
List<String> strings = new ArrayList<>();
|
|
|
if (emrDataExtract != null) {
|