代码调整
This commit is contained in:
parent
af851922a8
commit
fe7fa3da8a
@ -68,7 +68,7 @@ public class TipTimeConfigService {
|
||||
}
|
||||
|
||||
public void saveOrUpdate(AlertTipTimeConfig timeConfig) {
|
||||
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertTrue(StringUtils.isNotEmpty(timeConfig.getTimeName()), "高峰期名称不能为空");
|
||||
// BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertTrue(StringUtils.isNotEmpty(timeConfig.getTimeName()), "高峰期名称不能为空");
|
||||
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertTrue(StringUtils.isNotEmpty(timeConfig.getTimeType()), "高峰期类型不能为空");
|
||||
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertTrue(Objects.nonNull(timeConfig.getStartHour()), "高峰期开始时间不能为空");
|
||||
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertTrue(Objects.nonNull(timeConfig.getEndHour()), "高峰期结束不能为空");
|
||||
|
Loading…
Reference in New Issue
Block a user