From 4f1297519c143dbfc9102877331e0558b5b3ae55 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Mon, 4 Dec 2023 15:53:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AF=B9?= =?UTF-8?q?=E6=AF=94):=2078582?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documenttool/service/impl/DocumentSplitServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java index a59d6355..1bcc97bf 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java @@ -204,9 +204,9 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService { String author = sarFileSplitInfoEO.getAuthor(); if (!sysUser.getUsername().equals(createBy) || !sysUser.getId().equals(author)){ if(LanguageEnum.CN.getValue().equals(MessageUtils.getLanguage().getValue())) { - throw new JeroBootException("只能更改有操作权限的数据!"); + throw new JeroBootException("只能删除有操作权限的数据!"); }else{ - throw new JeroBootException("You can change only the data that you have permission to operate!"); + throw new JeroBootException("You can delete only the data that you have permission to operate!"); } } }