Compare commits

..

No commits in common. "e9de23c49141b53c04c64defc06bc275b57df1d2" and "03e2d272d85ab12f08c60d0ce53b8a5a63ca2b10" have entirely different histories.

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