fix(自定义对比): 78582
This commit is contained in:
+2
-2
@@ -204,9 +204,9 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
|||||||
String author = sarFileSplitInfoEO.getAuthor();
|
String author = sarFileSplitInfoEO.getAuthor();
|
||||||
if (!sysUser.getUsername().equals(createBy) || !sysUser.getId().equals(author)){
|
if (!sysUser.getUsername().equals(createBy) || !sysUser.getId().equals(author)){
|
||||||
if(LanguageEnum.CN.getValue().equals(MessageUtils.getLanguage().getValue())) {
|
if(LanguageEnum.CN.getValue().equals(MessageUtils.getLanguage().getValue())) {
|
||||||
throw new JeroBootException("只能更改有操作权限的数据!");
|
throw new JeroBootException("只能删除有操作权限的数据!");
|
||||||
}else{
|
}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!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user