Beispiel #1
0
 /// <summary>
 /// ���ص�λ����
 /// </summary>
 /// <returns></returns>
 public DataTable GetUnitInfo(string unitCodeList)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
     {
         DownUnitDao dao = new DownUnitDao();
         dao.SetPersistentManager(dbPm);
         return dao.GetUnitInfo(unitCodeList);
     }
 }
Beispiel #2
0
 /// <summary>
 /// ���ؼ�����λϵ�б��
 /// </summary>
 /// <returns></returns>
 public DataTable GetBrandUlist(string ulistCodeList)
 {
     using (PersistentManager pm = new PersistentManager("YXConnection"))
     {
         DownUnitDao dao = new DownUnitDao();
         dao.SetPersistentManager(pm);
         return dao.GetBrandUlistInfo(ulistCodeList);
     }
 }
Beispiel #3
0
 /// <summary>
 /// �ѵ�λ������ӵ����ݿ�
 /// </summary>
 /// <param name="ds"></param>
 public void InsertUlist(DataTable ulistCodeTable)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         dao.SetPersistentManager(pm);
         dao.InsertUlist(ulistCodeTable);
     }
 }
Beispiel #4
0
 /// <summary>
 /// �ѵ�λ������ӵ����ݿ�
 /// </summary>
 /// <param name="ds"></param>
 public void Insert(DataSet unitCodeDs)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         dao.SetPersistentManager(pm);
         if (unitCodeDs.Tables["WMS_UNIT_INSERT"].Rows.Count > 0)
         {
             dao.InsertUnit(unitCodeDs.Tables["WMS_UNIT_INSERT"]);
         }
     }
 }
Beispiel #5
0
 /// <summary>
 /// ��ѯ������λϵ�б��
 /// </summary>
 /// <returns></returns>
 public DataTable GetUlistCode()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         dao.SetPersistentManager(pm);
         return dao.GetUlistCode();
     }
 }