public static string getOrderInfo(DateTime startTime, DateTime endTime, int dayCnt, int type, string person) { Dictionary <string, object> list = new Dictionary <string, object>(); List <dynamic> ds = CustomerCareBLL.getOrderInfo(startTime, endTime, dayCnt, type, person); if (ds != null && ds.Count > 0) { string jsonDt = SetPaymentData(ds, type, person, startTime, endTime); return(jsonDt); } else { return("[]"); } }