fix:78587
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ public class LawsStandardCollectionController extends JeroController<LawsStandar
|
||||
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
LambdaQueryWrapper<LawsStandardCollection> queryLawsStandardCollection = new LambdaQueryWrapper<>();
|
||||
queryLawsStandardCollection.eq(LawsStandardCollection::getId,map.get("id"));
|
||||
queryLawsStandardCollection.ne(LawsStandardCollection::getCollectorId,sysUser);
|
||||
queryLawsStandardCollection.ne(LawsStandardCollection::getCollectorId,sysUser.getId());
|
||||
long l = lawsStandardCollectionService.count(queryLawsStandardCollection);
|
||||
if(l > 0){
|
||||
throw new JeroBootException(ResultCommon.HORIZONTAL_TRANSGRESSION);
|
||||
|
||||
Reference in New Issue
Block a user