/// <summary> /// 增加一行账单 /// </summary> /// <param name="goods"></param> /// <param name="errorMessage"></param> /// <returns></returns> public DataTable addBills(Goods goods, out string errorMessage) { errorMessage = ""; ISheet sheet = ExcelTool.getWorkBook(filePath + fileName).GetSheetAt((int)TableId.GoodsTypeForExcel); ExcelTool.createRow <Goods>(ref sheet, goods); return(new DataTable()); }