Revize ba8b306a
Přidáno uživatelem Vojtěch Danišík před asi 4 roky(ů)
src/main/java/vldc/aswi/dao/AssemblyRepository.java | ||
---|---|---|
1 | 1 |
package vldc.aswi.dao; |
2 | 2 |
|
3 |
import org.springframework.data.jpa.repository.JpaRepository; |
|
4 | 3 |
import org.springframework.data.repository.CrudRepository; |
5 | 4 |
import org.springframework.stereotype.Repository; |
6 | 5 |
import vldc.aswi.domain.Assembly; |
... | ... | |
18 | 17 |
*/ |
19 | 18 |
Assembly getById(Long Id); |
20 | 19 |
|
21 |
// TODO |
|
20 |
|
|
21 |
/** |
|
22 |
* Find record with highest order. |
|
23 |
* @return Assembly with highest order. |
|
24 |
*/ |
|
25 |
// TODO: test it. |
|
22 | 26 |
Assembly findFirst1ByOrderByAssemblyOrder(); |
23 | 27 |
} |
Také k dispozici: Unified diff
re #7886 Assembly validator in progress (validating assembly SQLQuery + locations for existing assembly, not tested for new assembly).
Added comments.
Removing unused imports.