///<summary></summary> public static List <ClaimTracking> RefreshForClaim(ClaimTrackingType type, long claimNum) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { return(Meth.GetObject <List <ClaimTracking> >(MethodBase.GetCurrentMethod(), type, claimNum)); } if (claimNum == 0) { return(new List <ClaimTracking>()); } string command = "SELECT * FROM claimtracking WHERE TrackingType='" + POut.String(type.ToString()) + "' " + "AND ClaimNum=" + POut.Long(claimNum); return(Crud.ClaimTrackingCrud.SelectMany(command)); }
///<summary></summary> public static List <ClaimTracking> RefreshForUsers(ClaimTrackingType type, List <long> listUserNums) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { return(Meth.GetObject <List <ClaimTracking> >(MethodBase.GetCurrentMethod(), type, listUserNums)); } if (listUserNums == null || listUserNums.Count == 0) { return(new List <ClaimTracking>()); } string command = "SELECT * FROM claimtracking WHERE TrackingType='" + POut.String(type.ToString()) + "' " + "AND UserNum IN (" + String.Join(",", listUserNums) + ")"; return(Crud.ClaimTrackingCrud.SelectMany(command)); }