Merge branch 'refs/heads/rakor' into dev_zhangke
This commit is contained in:
commit
f4b2ef7608
|
|
@ -39,7 +39,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public User getByCode(String code) {
|
public User getByCode(String code) {
|
||||||
return lambdaQuery().apply("LOWER({0}) = LOWER('{1}')", "user_code", code).one();
|
return lambdaQuery().apply("LOWER(user_code) = LOWER({0})", code).one();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue