|
|
|
@ -86,7 +86,7 @@ public class ChargeOrderService : BaseServices<ChargeOrder>
|
|
|
|
|
Expression<Func<ChargeOrder, bool>> condition2Expr = u => u.EndTime == chargeOrder.EndTime;
|
|
|
|
|
where = where == null ? condition2Expr : Expression.Lambda<Func<ChargeOrder, bool>>(Expression.AndAlso(where.Body, condition2Expr.Body), parameter);
|
|
|
|
|
}
|
|
|
|
|
if (!string.IsNullOrEmpty(chargeOrder.ChargeTimeCount))
|
|
|
|
|
if (chargeOrder.ChargeTimeCount!=0)
|
|
|
|
|
{
|
|
|
|
|
Expression<Func<ChargeOrder, bool>> condition2Expr = u => u.ChargeTimeCount == chargeOrder.ChargeTimeCount;
|
|
|
|
|
where = where == null ? condition2Expr : Expression.Lambda<Func<ChargeOrder, bool>>(Expression.AndAlso(where.Body, condition2Expr.Body), parameter);
|
|
|
|
|