release- 修改注释

release-2024-08-08
huangyawei 6 months ago
parent bd7b8bf9f0
commit 1d958a3edd

@ -134,7 +134,7 @@ public class ArtistService {
throw new BizException(ErrorConstants.USER_ALREADY_EXISTS_ARTIST);
}
Integer count = userInfoDao.countByUserNameAndUserNameNotNull(artistRegisterDto.getUserName());
if (count == 0) {
if (count > 0) {
throw new BizException("该用户名已存在,请重新输入!");
}
// 新增用户基本信息

Loading…
Cancel
Save