/// <summary> /// 取字段总和 /// </summary> public decimal GetAllSum(SqlTransaction trans) { StringBuilder LeftJoin = new StringBuilder(); StringBuilder SqlQuery = new StringBuilder(); List <SqlParameter> listParams = new List <SqlParameter>(); return(linDAL.GetAllSum(trans, LeftJoin, SqlQuery, listParams, "a.LinkId")); }