示例#1
0
        public C_SKU_AQL GetDataObject()
        {
            C_SKU_AQL DataObject = new C_SKU_AQL();

            DataObject.EDIT_TIME   = this.EDIT_TIME;
            DataObject.EDIT_EMP    = this.EDIT_EMP;
            DataObject.DEFAULLEVEL = this.DEFAULLEVEL;
            DataObject.SKUNO       = this.SKUNO;
            DataObject.AQLTYPE     = this.AQLTYPE;
            DataObject.ID          = this.ID;
            return(DataObject);
        }
示例#2
0
        public C_SKU_AQL GetSkuAql(OleExec DB, string Skuno)
        {
            C_SKU_AQL res    = new C_SKU_AQL();
            string    strSql = $@" select * from C_SKU_AQL where skuno='{Skuno}' ";
            DataSet   ds     = DB.ExecSelect(strSql);

            foreach (DataRow item in ds.Tables[0].Rows)
            {
                Row_C_SKU_AQL r = (Row_C_SKU_AQL)this.NewRow();
                r.loadData(item);
                res = r.GetDataObject();
            }
            return(res);
        }