db = db.Where("{{.ColumnName}} {{.FieldSearchType}} ?",{{ifeq.FieldSearchType"LIKE"}}"%"+ {{ end }}info.{{.FieldName}}{{ifeq.FieldSearchType"LIKE"}}+"%"{{ end }})
}
{{- else if eq .FieldType "bool" }}
if info.{{.FieldName}} != 0 {
if info.{{.FieldName}} != nil {
db = db.Where("{{.ColumnName}} {{.FieldSearchType}} ?",{{ifeq.FieldSearchType"LIKE"}}"%"+{{ end }}info.{{.FieldName}}{{ifeq.FieldSearchType"LIKE"}}+"%"{{ end }})