|
|
@@ -362,7 +362,7 @@ func QueryUserStaticDataByTableName(start int, pageSize int, tableName string, q |
|
|
|
var cond = builder.NewCond() |
|
|
|
if len(userName) > 0 { |
|
|
|
cond = cond.And( |
|
|
|
builder.Like{"name", userName}, |
|
|
|
builder.Like{"lower(name)", userName}, |
|
|
|
) |
|
|
|
} |
|
|
|
allCount, err := statictisSess.Where(cond).Count(queryObj) |
|
|
|