fix bug
This commit is contained in:
		
							parent
							
								
									04f8798a85
								
							
						
					
					
						commit
						c042bb8755
					
				@ -240,8 +240,9 @@ func ConvertToAssignments(stmt *gorm.Statement) (set clause.Set) {
 | 
			
		||||
							}
 | 
			
		||||
							isZero = false
 | 
			
		||||
						} else if isZero {
 | 
			
		||||
							_, isZero = field.TagSettings["ALWAYSUPDATE"]
 | 
			
		||||
							isZero = !isZero
 | 
			
		||||
							if _, exist := field.TagSettings["ALWAYSUPDATE"]; exist {
 | 
			
		||||
								isZero = false
 | 
			
		||||
							}
 | 
			
		||||
						}
 | 
			
		||||
 | 
			
		||||
						if ok || !isZero {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user