Exemplo n.º 1
0
 /// <summary>
 /// ��ȡ��λϵͳ���ֶ�
 /// </summary>
 /// <returns></returns>
 public DataTable GetUnitProduct()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         return dao.GetUnitProduct();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// ���ݾ��̱����ѯ������λ��Ϣ
 /// </summary>
 /// <param name="product"></param>
 /// <returns></returns>
 public DataTable FindUnitListCode(string product)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         return dao.FindUnitListCOde(product);
     }
 }
Exemplo n.º 3
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);
     }
 }
Exemplo n.º 4
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);
     }
 }
Exemplo n.º 5
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);
     }
 }
Exemplo n.º 6
0
 /// <summary>
 /// ��λϵ�б��������
 /// </summary>
 /// <param name="ds"></param>
 public void InsertLcUnit(DataTable lcUnitTable)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         dao.InsertLcUnit(lcUnitTable);
     }
 }
Exemplo n.º 7
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"]);
         }
     }
 }
Exemplo n.º 8
0
 /// <summary>
 /// ��ѯ������λϵ�б��
 /// </summary>
 /// <returns></returns>
 public DataTable GetUlistCode()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownUnitDao dao = new DownUnitDao();
         dao.SetPersistentManager(pm);
         return dao.GetUlistCode();
     }
 }