Allow update created field if indicated on Cols #1513
|
@ -247,7 +247,7 @@ func (statement *Statement) buildUpdates(bean interface{},
|
|||
if !includeVersion && col.IsVersion {
|
||||
continue
|
||||
}
|
||||
if col.IsCreated {
|
||||
if col.IsCreated && !columnMap.contain(col.Name) {
|
||||
continue
|
||||
}
|
||||
if !includeUpdated && col.IsUpdated {
|
||||
|
|
Loading…
Reference in New Issue
Block a user