@ -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("该用户名已存在,请重新输入!");
// 新增用户基本信息