fixed
This commit is contained in:
parent
0a4c589d7d
commit
512f28d9ed
|
@ -12,6 +12,6 @@ import java.util.List;
|
||||||
* Created by root on 17. 6. 5.
|
* Created by root on 17. 6. 5.
|
||||||
*/
|
*/
|
||||||
public interface TargetDAO extends JpaRepository<Target, Long> {
|
public interface TargetDAO extends JpaRepository<Target, Long> {
|
||||||
@Query("SELECT m FROM TARGET m WHERE m.probeId = :probeId")
|
// @Query("SELECT m FROM TARGET m WHERE m.probeId = :probeId")
|
||||||
List<Target> findAllByProbe(Probe probe);
|
// List<Target> findAllByProbe(Probe probe);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class Target {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Basic
|
|
||||||
@Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false)
|
@Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false)
|
||||||
public Timestamp getCreateDate() {
|
public Timestamp getCreateDate() {
|
||||||
return createDate;
|
return createDate;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user