private IComment AddCompareResultComment(IDrawing patr, ICell cell, IRow headerRow, string prevValue, string changeValue, bool isAdd = false) { var text = "上次测算:\n" + prevValue + "\n"; text += isAdd ? "增加:\n" : "减少:\n"; text += changeValue; var comment = ExcelUtils.AddComment(patr, cell, headerRow, text); return(comment); }