修复
This commit is contained in:
parent
dc768cb920
commit
40375ace72
@ -14,7 +14,9 @@ import java.util.Optional;
|
|||||||
@Repository
|
@Repository
|
||||||
public interface ActivityRepository extends JpaRepository<Activity, Integer> {
|
public interface ActivityRepository extends JpaRepository<Activity, Integer> {
|
||||||
|
|
||||||
Optional<Activity> findByTitle(String Title);
|
Optional<Activity> findActivityByTitleAndType(String title,String type);
|
||||||
|
|
||||||
|
Optional<Activity> findActivityByTitle(String title);
|
||||||
|
|
||||||
Optional<Activity> findByCreator(String creatorName);
|
Optional<Activity> findByCreator(String creatorName);
|
||||||
|
|
||||||
|
@ -20,16 +20,16 @@ import java.util.*;
|
|||||||
@Service
|
@Service
|
||||||
public class UserService implements IUserService {
|
public class UserService implements IUserService {
|
||||||
@Resource
|
@Resource
|
||||||
UserFunctionsListGenerator userFunctionsListGenerator;
|
private UserFunctionsListGenerator userFunctionsListGenerator;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
UserRepository userRepository;
|
private UserRepository userRepository;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
ASEPasswordEncoder passwordEncoder;
|
private ASEPasswordEncoder passwordEncoder;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
ASEUsernameEncoder usernameEncoder;
|
private ASEUsernameEncoder usernameEncoder;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<User> findAll() {
|
public List<User> findAll() {
|
||||||
|
Loading…
Reference in New Issue
Block a user