//public BillFile[] Bill2Server(DateTime searchDate, List<BillFile> billFiles) //{ // BillFile[] bfs = billFiles.ToArray(); // return bos.Bill2Server(searchDate, bfs); //} /// <summary> ///今日 对账单 /// </summary> /// <param name="bills"></param> /// <returns></returns> public ObservableCollection <BillFileCheck> SelectsTodayBill(BillFileCheck bill) { ObservableCollection <BillFileCheck> temp = new ObservableCollection <BillFileCheck>(); service.SelectsTodayBill(bill).ToList <BillFileCheck>().ForEach(p => temp.Add(p)); return(temp); }
/// <summary> /// 刷新方法 /// </summary> public override void FlushExecute() { BillFileCheck bfc = new BillFileCheck(); bfc.Time = DateTime.Parse(DateTime.Now.ToShortDateString()); this.Models = client.SelectsTodayBill(bfc); //XYBH = string.Empty; //CKZH = string.Empty; }
public BillstrPad(BillFileCheck bfc) { OrderSequence = new Dictionary <int, string>(); DataLength = new Dictionary <string, int>(); DataValue = new Dictionary <string, string>(); OrderSequence.Add(1, "BussinessCode"); OrderSequence.Add(2, "CertificateNum"); OrderSequence.Add(3, "RegulatoryAccount"); OrderSequence.Add(4, "FirmName"); OrderSequence.Add(5, "TradeType"); OrderSequence.Add(6, "TradeFundAmount"); OrderSequence.Add(7, "TradeObject"); OrderSequence.Add(8, "TradeMark"); OrderSequence.Add(9, "ProjectCode"); DataLength.Add("BussinessCode", 2); DataLength.Add("CertificateNum", 10); DataLength.Add("RegulatoryAccount", 30); DataLength.Add("FirmName", 100); DataLength.Add("TradeType", 2); DataLength.Add("TradeFundAmount", 18); DataLength.Add("TradeObject", 100); DataLength.Add("TradeMark", 30); DataLength.Add("ProjectCode", 10); DataValue.Add("BussinessCode", bfc.BussinessCode); DataValue.Add("CertificateNum", bfc.CertificateNum); DataValue.Add("RegulatoryAccount", bfc.RegulatoryAccount); DataValue.Add("FirmName", bfc.FirmName); DataValue.Add("TradeType", bfc.TradeType); DataValue.Add("TradeFundAmount", bfc.TradeFundAmount.ToString()); DataValue.Add("TradeObject", bfc.TradeObject); DataValue.Add("TradeMark", bfc.TradeMark); DataValue.Add("ProjectCode", bfc.ProjectCode); }
/// <summary> /// 今日对账单信息 /// </summary> /// <param name="bills"></param> /// <returns></returns> public static List <BillFileCheck> SelectsTodayBill(BillFileCheck bfc) { return(SqlMap.QueryForList <BillFileCheck>("SelectsTodayBill", bfc).ToList <BillFileCheck>()); }
public List <BillFileCheck> SelectsTodayBill(BillFileCheck bfc) { return(BillOperateDao.SelectsTodayBill(bfc)); }