做完啦萬歲ㄎㄎㄎ
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/target/
|
@ -1,2 +1,5 @@
|
|||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
|
encoding//src/main/java=UTF-8
|
||||||
|
encoding//src/main/resources=UTF-8
|
||||||
|
encoding//src/test/java=UTF-8
|
||||||
encoding/<project>=UTF-8
|
encoding/<project>=UTF-8
|
||||||
|
@ -1,17 +1,12 @@
|
|||||||
package co.jp.app.repository;
|
package co.jp.app.repository;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
import co.jp.app.entity.PetEntity;
|
import co.jp.app.entity.PetEntity;
|
||||||
|
|
||||||
|
@Repository
|
||||||
public interface DownloadRepository extends JpaRepository<PetEntity, Integer>{
|
public interface DownloadRepository extends JpaRepository<PetEntity, Integer>{
|
||||||
|
|
||||||
@Override
|
|
||||||
default List<PetEntity> findAllById(Iterable<Integer> id) {
|
|
||||||
return findAllById(id);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2,15 +2,12 @@ package co.jp.app.repository;
|
|||||||
|
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.repository.query.Param;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
import co.jp.app.entity.ErrorEntity;
|
import co.jp.app.entity.ErrorEntity;
|
||||||
|
|
||||||
|
@Repository
|
||||||
public interface ErrRepository extends JpaRepository<ErrorEntity, Integer>{
|
public interface ErrRepository extends JpaRepository<ErrorEntity, Integer>{
|
||||||
|
|
||||||
public default ErrorEntity getById(@Param("id") int id) {
|
|
||||||
|
|
||||||
return getById(id);
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -1,15 +1,10 @@
|
|||||||
package co.jp.app.repository;
|
package co.jp.app.repository;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
import co.jp.app.entity.PetEntity;
|
import co.jp.app.entity.PetEntity;
|
||||||
|
@Repository
|
||||||
public interface PetRepository extends JpaRepository<PetEntity, Integer> {
|
public interface PetRepository extends JpaRepository<PetEntity, Integer> {
|
||||||
|
|
||||||
@Override
|
|
||||||
default List<PetEntity> findAllById(Iterable<Integer> id) {
|
|
||||||
return findAllById(id);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,12 @@
|
|||||||
package co.jp.app.repository;
|
package co.jp.app.repository;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
import co.jp.app.entity.PetEntity;
|
import co.jp.app.entity.PetEntity;
|
||||||
|
|
||||||
|
@Repository
|
||||||
public interface UploadRepository extends JpaRepository<PetEntity, Integer>{
|
public interface UploadRepository extends JpaRepository<PetEntity, Integer>{
|
||||||
|
|
||||||
@Override
|
|
||||||
default <S extends PetEntity> List<S> saveAll(Iterable<S> entities) {
|
|
||||||
// TODO 自動生成されたメソッド・スタブ
|
|
||||||
return saveAll(entities);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
2
target/classes/.gitignore
vendored
2
target/classes/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
/META-INF/
|
|
||||||
/co/
|
|
@ -1,6 +1,6 @@
|
|||||||
#Generated by Maven Integration for Eclipse
|
#Generated by Maven Integration for Eclipse
|
||||||
#Wed May 14 11:48:45 JST 2025
|
#Wed May 14 17:49:21 JST 2025
|
||||||
m2e.projectLocation=C\:\\Users\\ichbi\\OneDrive\\\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7\\dog-1
|
m2e.projectLocation=C\:\\Users\\ichbi\\git\\Dog-1
|
||||||
m2e.projectName=dog-1
|
m2e.projectName=dog-1
|
||||||
groupId=co.jp.app
|
groupId=co.jp.app
|
||||||
artifactId=dog-2
|
artifactId=dog-2
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user