优化:优化校验器相关方法名

This commit is contained in:
2023-01-21 12:09:49 +08:00
parent c282a36b08
commit 185b79320f
11 changed files with 81 additions and 80 deletions

View File

@@ -135,7 +135,7 @@ public class LogServiceImpl implements LogService {
@Override
public SystemLogDetailVO detail(Long logId) {
SysLog sysLog = logMapper.selectById(logId);
ValidationUtils.exIfNull(sysLog, String.format("ID为 [%s] 的日志已不存在", logId));
ValidationUtils.throwIfNull(sysLog, String.format("ID为 [%s] 的日志已不存在", logId));
SystemLogDetailVO detailVO = BeanUtil.copyProperties(sysLog, SystemLogDetailVO.class);
this.fill(detailVO);