Merge branch 'rakor' into dev_zhangke

This commit is contained in:
zhangke 2025-09-24 09:02:27 +08:00
commit e9de23c491
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
@Override
public User getByCode(String code) {
return lambdaQuery().apply("LOWER({0}) = LOWER({1})", "user_code", code).one();
return lambdaQuery().apply("LOWER({0}) = LOWER('{1}')", "user_code", code).one();
}
@Transactional