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