|
|
@@ -332,7 +332,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
|
|
|
if (corpTag != null) {
|
|
|
corpTagMapper.deleteById(corpTag.getId());
|
|
|
|
|
|
- Integer count = corpTagMapper.delete(Wrappers.lambdaQuery(CorpTag.class)
|
|
|
+ Integer count = corpTagMapper.selectCount(Wrappers.lambdaQuery(CorpTag.class)
|
|
|
.eq(CorpTag::getGroupId, corpTag.getGroupId()));
|
|
|
if (count == 0) {
|
|
|
corpTagGroupMapper.delete(Wrappers.lambdaQuery(CorpTagGroup.class)
|