fix:78587
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ public class LawsStandardSharingController extends JeroController<LawsStandardSh
|
|||||||
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||||
LambdaQueryWrapper<LawsStandardSharing> queryLawsStandardSharing = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<LawsStandardSharing> queryLawsStandardSharing = new LambdaQueryWrapper<>();
|
||||||
queryLawsStandardSharing.in(LawsStandardSharing::getId,listIds);
|
queryLawsStandardSharing.in(LawsStandardSharing::getId,listIds);
|
||||||
queryLawsStandardSharing.ne(LawsStandardSharing::getStandardId,sysUser.getId());
|
queryLawsStandardSharing.ne(LawsStandardSharing::getSharerId,sysUser.getId());
|
||||||
long l = lawsStandardSharingService.count(queryLawsStandardSharing);
|
long l = lawsStandardSharingService.count(queryLawsStandardSharing);
|
||||||
if(l > 0){
|
if(l > 0){
|
||||||
throw new JeroBootException(ResultCommon.HORIZONTAL_TRANSGRESSION);
|
throw new JeroBootException(ResultCommon.HORIZONTAL_TRANSGRESSION);
|
||||||
|
|||||||
Reference in New Issue
Block a user