示例#1
0
 /// <summary>
 /// 返回编码列表
 /// </summary>
 /// <param name="_orderid">工单单号</param>
 /// <param name="_type">条码类型</param>
 /// <param name="_Barcode_State">条码状态</param>
 /// <returns></returns>
 public ArrayList Get_SN_List(string _orderid, Maticsoft.Model.E_SerialNumber_Type _type, Maticsoft.Model.E_Barcode_State _Barcode_State)
 {
     return(dal.Get_SN_List(_orderid, _type, _Barcode_State));
 }
示例#2
0
 /// <summary>
 /// 返回编码列表
 /// </summary>
 /// <param name="_orderid">工单单号</param>
 /// <param name="_type">条码类型</param>
 /// <param name="_Barcode_State">条码状态</param>
 /// <returns></returns>
 public ArrayList Get_SN_List(Maticsoft.Model.PackBatch _PackBatch, Maticsoft.Model.E_SerialNumber_Type _type, Maticsoft.Model.E_Barcode_State _Barcode_State)
 {
     return(dal.Get_SN_List(_PackBatch, _type, _Barcode_State));
 }
示例#3
0
        /// <summary>
        /// 返回编码列表
        /// </summary>
        /// <param name="_orderid">工单单号</param>
        /// <param name="_type">条码类型</param>
        /// <param name="_Barcode_State">条码状态</param>
        /// <returns></returns>
        public ArrayList Get_SN_List(string _orderid, Maticsoft.Model.E_SerialNumber_Type _type, Maticsoft.Model.E_Barcode_State _Barcode_State)
        {
            string    strSql  = "SELECT SN  FROM tb_SerialNumber  WHERE (OrderID = '" + _orderid + "') AND (Type = '" + _type + "') AND (State = '" + _Barcode_State + "')";
            DataSet   ds      = dbs.Query(strSql);
            ArrayList temList = new ArrayList();

            foreach (DataRow dt in ds.Tables[0].Rows)
            {
                temList.Add(dt["SN"].ToString());
            }
            return(temList);
        }