Fixed teamranking again
This commit is contained in:
parent
6ee35d4b35
commit
8f7ed1516e
@ -7,7 +7,7 @@ plugins {
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'com.moowork.node'
|
||||
apply plugin: 'war'
|
||||
//apply plugin: 'war'
|
||||
|
||||
group = 'de.hhn.labsw'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
@ -47,7 +47,7 @@ dependencies {
|
||||
compile group: 'org.springframework.security', name: 'spring-security-core', version: '5.1.4.RELEASE'
|
||||
//compile group: 'at.favre.lib', name: 'bcrypt', version: '{latest-version}'
|
||||
|
||||
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
|
||||
//providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
|
||||
|
||||
//JWT
|
||||
compile 'io.jsonwebtoken:jjwt-api:0.10.5'
|
||||
|
||||
@ -17,7 +17,7 @@ public interface TeamRepository extends JpaRepository<Team, Integer> {
|
||||
"WHERE id IN (\n" +
|
||||
"SELECT user_id\n" +
|
||||
"FROM user_info\n" +
|
||||
" WHERE team_id = (SELECT team_id FROM team WHERE name = ?1))", nativeQuery = true)
|
||||
"WHERE team_id = (SELECT team.id FROM team WHERE name = ?1));", nativeQuery = true)
|
||||
List<Object[]> getTeammembers(String name);
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user