mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-10 20:57:14 +08:00
优化:优化校验器相关方法名
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user