/// <summary> /// 查询数字仓储4天内入库单 /// </summary> /// <returns></returns> public DataTable GetInBillNo() { using (PersistentManager pm = new PersistentManager()) { DownInBillDao dao = new DownInBillDao(); return(dao.GetBillNo()); } }
/// <summary> /// 分页查询营销系统数据入库单据主表 /// </summary> /// <param name="pageIndex"></param> /// <param name="pageSize"></param> /// <returns></returns> public DataTable GetInBillMaster(int pageIndex, int pageSize) { using (PersistentManager pm = new PersistentManager()) { using (PersistentManager dbpm = new PersistentManager("YXConnection")) { DownInBillDao masterdao = new DownInBillDao(); masterdao.SetPersistentManager(pm); DownInBillDao dao = new DownInBillDao(); dao.SetPersistentManager(dbpm); DataTable billnodt = masterdao.GetBillNo(); string billnolist = UtinString.StringMake(billnodt, "BILLNO"); billnolist = UtinString.StringMake(billnolist); return(dao.GetInBillMasterByBillNo(billnolist)); } } }