Пример #1
0
        private T_Report_Product toReportProduct()
        {
            var rp = new T_Report_Product();

            rp.Code        = this.Code;
            rp.Num         = this.Num;
            rp.SpecNum     = this.SpecNum;
            rp.VolNum      = this.VolNum;
            rp.Appearance  = this.Appearance;
            rp.CheckResult = this.CheckResult;
            rp.InputDate   = this.InputDate;
            rp.Supplier    = this.Supplier;
            return(rp);
        }
Пример #2
0
 public void updateReportProduct(T_Report_Product rp)
 {
     if (rp == null)
     {
         return;
     }
     this.Code        = rp.Code;
     this.SpecNum     = rp.SpecNum;
     this.VolNum      = rp.VolNum;
     this.Num         = rp.Num;
     this.Appearance  = rp.Appearance;
     this.CheckResult = rp.CheckResult;
     this.InputDate   = rp.InputDate;
     this.Supplier    = rp.Supplier;
     this.Id          = rp.Id;
 }