Example #1
0
        public static void BranchMeterCreate(int PID)
        {
            var result = getBranchesAndBranchMeter(PID);

            //清空BranchMeter表
            BranchMeterDAL.DeleteByPID(PID);
            CommonDAL.CreateMultiple(result.branchMeters);
        }
Example #2
0
 private static void BranchMeterCreate(int PID, List <BranchMeter> branchMeters)
 {
     //清空BranchMeter表
     BranchMeterDAL.DeleteByPID(PID);
     CommonDAL.CreateMultiple(branchMeters);
 }