mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 20:27:56 +08:00
-
This commit is contained in:
parent
4dd0c2e729
commit
b2109ce6ef
@ -401,6 +401,10 @@ namespace SqlSugar
|
||||
{
|
||||
var expression = this.SelectValue as Expression;
|
||||
var result = GetExpressionValue(expression, this.SelectType).GetResultString();
|
||||
if (result == null)
|
||||
{
|
||||
return "*";
|
||||
}
|
||||
if (result.Contains(".*") && this.IsSingle())
|
||||
{
|
||||
return "*";
|
||||
|
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
|
||||
namespace SqlSugar
|
||||
@ -35,10 +34,6 @@ namespace SqlSugar
|
||||
return result;
|
||||
}
|
||||
}
|
||||
private static Expression<Func<List<T>, Result>> FuncToExpression<Result>(Func<List<T>, Result> f)
|
||||
{
|
||||
return x => f(x);
|
||||
}
|
||||
public List<Result> GetListByPrimaryKeys<Result>(Func<T, double?> action) where Result : class, new()
|
||||
{
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user