|
@@ -487,7 +487,7 @@ namespace GxPress.Repository.Implement
|
|
|
var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
|
|
|
var database = new Database(databaseType, _connectionString);
|
|
|
var connection = database.GetConnection();
|
|
|
- var result = await connection.QueryAsync<Entity.Group>(sql);
|
|
|
+ var result = await connection.QueryAsync<SearchGroupDetailResult>(sql);
|
|
|
//return await _repository.GetAllAsync(Q.Where(nameof(Entity.Group.GroupCategroyId), categoryId));
|
|
|
return result;
|
|
|
}
|