|
@@ -1,4 +1,5 @@
|
|
|
using AutoMapper;
|
|
|
+using EyeSoft.Extensions;
|
|
|
using MathNet.Numerics.Statistics.Mcmc;
|
|
|
using NPOI.SS.Formula.Functions;
|
|
|
using OASystem.Domain;
|
|
@@ -345,6 +346,7 @@ namespace OASystem.Infrastructure.Repositories.Financial
|
|
|
var expressionWhere = Expressionable.Create<Grp_DelegationInfo>()
|
|
|
.And(x => x.IsDel == 0 && x.TeamName != "")
|
|
|
.AndIF(userInfos.Count > 0, x => x.JietuanOperator == dto.CurrUserId)
|
|
|
+ .AndIF(!dto.SearchValue.IsNullOrWhiteSpace(),x=> x.TeamName.Contains(dto.SearchValue))
|
|
|
.ToExpression();
|
|
|
|
|
|
var totalNumber = 0;
|