修复
This commit is contained in:
parent
dc768cb920
commit
40375ace72
@ -14,7 +14,9 @@ import java.util.Optional;
|
||||
@Repository
|
||||
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);
|
||||
|
||||
|
@ -20,16 +20,16 @@ import java.util.*;
|
||||
@Service
|
||||
public class UserService implements IUserService {
|
||||
@Resource
|
||||
UserFunctionsListGenerator userFunctionsListGenerator;
|
||||
private UserFunctionsListGenerator userFunctionsListGenerator;
|
||||
|
||||
@Resource
|
||||
UserRepository userRepository;
|
||||
private UserRepository userRepository;
|
||||
|
||||
@Resource
|
||||
ASEPasswordEncoder passwordEncoder;
|
||||
private ASEPasswordEncoder passwordEncoder;
|
||||
|
||||
@Resource
|
||||
ASEUsernameEncoder usernameEncoder;
|
||||
private ASEUsernameEncoder usernameEncoder;
|
||||
|
||||
@Override
|
||||
public List<User> findAll() {
|
||||
|
Loading…
Reference in New Issue
Block a user