예제 #1
0
        private string AddBackOutput(DataTable dt)
        {
            BackOutput bill = DataTableToEntites.GetEntity <BackOutput>(dt.Rows[0]);

            bill.Record = HandleRecords(dt);
            BackOutputService Service = new BackOutputService();

            Service.SaveData(bill);
            return(bill.BillCode);
        }
예제 #2
0
        private string AddGiveBill(DataTable dt)
        {
            GiveBill bill = DataTableToEntites.GetEntity <GiveBill>(dt.Rows[0]);

            bill.Record = HandleRecords(dt);
            GiveBillService Service = new GiveBillService();

            Service.SaveData(bill);
            return(bill.BillCode);
        }