Skip to content

Commit ce9f710

Browse files
authored
Merge pull request #208 from wanyaoqi/fix/convert-compound-column-from-string-value
fix: convert compound column check is string value
2 parents f74b83f + 44a5712 commit ce9f710

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

column.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,5 +423,8 @@ func (c *SBaseCompoundColumn) ConvertFromValue(val interface{}) interface{} {
423423
if ok && bVal != nil {
424424
return bVal.String()
425425
}
426+
if _, ok := val.(string); ok {
427+
return val
428+
}
426429
return jsonutils.Marshal(val).String()
427430
}

0 commit comments

Comments
 (0)