切换mysql为达梦数据库-代码审查

1.systemboot模块
This commit is contained in:
2024-09-23 18:06:53 +08:00
parent 35608ffc12
commit 989f4f440d
97 changed files with 351 additions and 1378 deletions

View File

@@ -147,7 +147,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
//判断是否满足锁定时间
if (nowTime.isBefore(lockTime)) {
CommonResponseEnum testEnum = CommonResponseEnum.DYNAMIC_RESPONSE_ENUM;
testEnum.setMessage("账号已被锁定:锁定剩余时长"+ ChronoUnit.MINUTES.between(nowTime, lockTime)+"分钟");
testEnum.setMessage("账号已被锁定:锁定剩余时长" + ChronoUnit.MINUTES.between(nowTime, lockTime) + "分钟");
throw new BusinessException(testEnum);
}
break;
@@ -237,7 +237,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
public boolean deleteUser(String id) {
return this.lambdaUpdate()
.set(User::getState, UserState.DELETE)
.set(User::getPhone,null)
.set(User::getPhone, null)
.in(User::getId, id)
.update();
}