Beispiel #1
0
 /// <summary>
 /// 查询本地配送编码
 /// </summary>
 /// <returns></returns>
 public DataTable GetDistStationCode()
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownDistStationBao dao = new DownDistStationBao();
        return dao.GetDistStationCode();
        }
 }
 public void Insert(DataSet ds)
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownDistStationBao dao = new DownDistStationBao();
        dao.Insert(ds);
        }
 }
Beispiel #3
0
 /// <summary>
 /// 下载配送信息
 /// </summary>
 /// <param name="routeCodeList"></param>
 /// <returns></returns>
 public DataTable GetDistInfo(string routeCodeList)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
        {
        DownDistStationBao dao = new DownDistStationBao();
        dao.SetPersistentManager(dbPm);
        return dao.GetDistStationInfo(routeCodeList);
        }
 }