🔨 修改重复提示.

This commit is contained in:
lijiahangmax
2025-11-02 01:06:12 +08:00
parent 5bbf46d141
commit 91b22297a2
12 changed files with 12 additions and 12 deletions

View File

@@ -408,7 +408,7 @@ public class ExecJobServiceImpl implements ExecJobService {
.eq(ExecJobDO::getName, domain.getName());
// 检查是否存在
boolean present = execJobDAO.of(wrapper).present();
Assert.isFalse(present, ErrorMessage.DATA_PRESENT);
Assert.isFalse(present, ErrorMessage.NAME_PRESENT);
}
/**

View File

@@ -208,7 +208,7 @@ public class ExecTemplateServiceImpl implements ExecTemplateService {
.eq(ExecTemplateDO::getName, domain.getName());
// 检查是否存在
boolean present = execTemplateDAO.of(wrapper).present();
Assert.isFalse(present, ErrorMessage.DATA_PRESENT);
Assert.isFalse(present, ErrorMessage.NAME_PRESENT);
}
}