mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
update > compatibility jdk1.7 & spring boot 1.x
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
<properties>
|
||||
<druid.version>1.1.8</druid.version>
|
||||
<spring-boot.version>1.5.10.RELEASE</spring-boot.version>
|
||||
<spring-boot.version>1.5.12.RELEASE</spring-boot.version>
|
||||
</properties>
|
||||
|
||||
<developers>
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ public class UserServiceImpl implements UserService {
|
||||
|
||||
@Override
|
||||
public User findById(Long id) {
|
||||
return userDao.findById(id).get();
|
||||
return userDao.findOne(id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user