Beispiel #1
0
 public void bbbbbbbbbbbb()
 {
     try
     {
         ReportForm t = new ReportForm();
         //  List<DataTable> dts = t.Get("010200000000129", "20171201");
         //  List<DataTable> dts = t.Get("010100000000122", "20171201");
         List <YHDZJL> list = t.GetYHDZJL("010100000000122", "20171201");
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
Beispiel #2
0
        public void InsertYHDZJL(string shbh, string date)
        {
            ReportForm t = new ReportForm();

            List <YHDZJL> list = t.GetYHDZJL(shbh, date);

            Log.Info("list", list);

            using (var tran = DbHelper.BeginTransaction())
            {
                list.ForEach(l => DbHelper.Insert(l));
                tran.Commit();
            }
        }