Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -343,7 +343,7 @@ public class DataGroupServiceImpl implements DataGroupService {
|
||||
.eq(DataGroupDO::getName, domain.getName());
|
||||
// 检查是否存在
|
||||
boolean present = dataGroupDAO.of(wrapper).present();
|
||||
Assert.isFalse(present, ErrorMessage.DATA_PRESENT);
|
||||
Assert.isFalse(present, ErrorMessage.NAME_PRESENT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -248,7 +248,7 @@ public class DictKeyServiceImpl implements DictKeyService {
|
||||
.eq(DictKeyDO::getKeyName, domain.getKeyName());
|
||||
// 检查是否存在
|
||||
boolean present = dictKeyDAO.of(wrapper).present();
|
||||
Assert.isFalse(present, ErrorMessage.DATA_PRESENT);
|
||||
Assert.isFalse(present, ErrorMessage.NAME_PRESENT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -226,7 +226,7 @@ public class NotifyTemplateServiceImpl implements NotifyTemplateService {
|
||||
.eq(NotifyTemplateDO::getBizType, domain.getBizType());
|
||||
// 检查是否存在
|
||||
boolean present = notifyTemplateDAO.of(wrapper).present();
|
||||
Assert.isFalse(present, ErrorMessage.DATA_PRESENT);
|
||||
Assert.isFalse(present, ErrorMessage.NAME_PRESENT);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ public class TagServiceImpl implements TagService {
|
||||
.eq(TagDO::getName, domain.getName());
|
||||
// 检查是否存在
|
||||
boolean present = tagDAO.of(wrapper).present();
|
||||
Assert.isFalse(present, ErrorMessage.DATA_PRESENT);
|
||||
Assert.isFalse(present, ErrorMessage.NAME_PRESENT);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user