fix(自定义对比): 78582

This commit is contained in:
yjz
2023-12-04 15:53:50 +08:00
parent bfb39ee2fc
commit 4f1297519c
@@ -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!");
}
}
}