fix:78587

This commit is contained in:
梁琦涛
2023-11-23 11:29:24 +08:00
parent b646061cf5
commit e0bd0b26cb
@@ -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);