Ejemplo n.º 1
0
 /// <summary>
 /// 查询已下载过的配车单编码
 /// </summary>
 /// <returns></returns>
 public DataTable QueryOrgDistCode()
 {
     using (PersistentManager dbpm = new PersistentManager())
     {
         DownOrdDistDao dao = new DownOrdDistDao();
         return(dao.QueryOrgDistCode());
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 把下载的数据插入数据库
 /// </summary>
 /// <param name="orgDistBillTable"></param>
 public void Insert(DataTable bistBillMasterTable)
 {
     using (PersistentManager dbpm = new PersistentManager())
     {
         DownOrdDistDao dao = new DownOrdDistDao();
         dao.Insert(bistBillMasterTable);
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 下载配车单细单信息
 /// </summary>
 /// <returns></returns>
 public DataTable GetDistBillDetail(string bistDetail)
 {
     using (PersistentManager dbpm = new PersistentManager("YXConnection"))
     {
         DownOrdDistDao dao = new DownOrdDistDao();
         dao.SetPersistentManager(dbpm);
         return(dao.GetDistBillDetail(bistDetail));
     }
 }