| 
														
															@@ -7,6 +7,7 @@ import lombok.NoArgsConstructor; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import lombok.Setter; 
														 | 
														
														 | 
														
															 import lombok.Setter; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.hibernate.annotations.Formula; 
														 | 
														
														 | 
														
															 import org.hibernate.annotations.Formula; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.hibernate.annotations.Type; 
														 | 
														
														 | 
														
															 import org.hibernate.annotations.Type; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import org.springframework.data.domain.Persistable; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import javax.persistence.*; 
														 | 
														
														 | 
														
															 import javax.persistence.*; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.sql.SQLException; 
														 | 
														
														 | 
														
															 import java.sql.SQLException; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -18,7 +19,12 @@ import java.time.Instant; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 @Table(name = "yysz_address_qp") 
														 | 
														
														 | 
														
															 @Table(name = "yysz_address_qp") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 @AllArgsConstructor 
														 | 
														
														 | 
														
															 @AllArgsConstructor 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 @NoArgsConstructor 
														 | 
														
														 | 
														
															 @NoArgsConstructor 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-public class YyszAddressQp { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+public class YyszAddressQp implements Persistable<Integer> { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    public boolean isNew() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return true; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Id 
														 | 
														
														 | 
														
															     @Id 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Column(name = "oid", nullable = false) 
														 | 
														
														 | 
														
															     @Column(name = "oid", nullable = false) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     private Integer id; 
														 | 
														
														 | 
														
															     private Integer id; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -213,8 +219,4 @@ public class YyszAddressQp { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Column(name = "tydz_jc", length = 50) 
														 | 
														
														 | 
														
															     @Column(name = "tydz_jc", length = 50) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     private String tydzJc; 
														 | 
														
														 | 
														
															     private String tydzJc; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PostPersist 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PostUpdate 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    public void setGeomFromWkt() throws SQLException { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |