Commit aadf6e06 by 李承祥

临床科室医护绩效测算表,系数不为0

parent c7d8444c
...@@ -318,7 +318,7 @@ private bool WriteExcel(string newpath, string originalPath, List<PerSheet> shee ...@@ -318,7 +318,7 @@ private bool WriteExcel(string newpath, string originalPath, List<PerSheet> shee
if (headInfo != null) if (headInfo != null)
{ {
var value = (keyValues[item].Invoke(dataList[i]) ?? "").ToString(); var value = (keyValues[item].Invoke(dataList[i]) ?? "").ToString();
if (value != "0") if (Regex.Match(value.Trim(), @"(0*.0*)|0").ToString() != value.Trim())
importRow.CreateCell(headInfo.PointCell).SetCellValue(Verify(value)); importRow.CreateCell(headInfo.PointCell).SetCellValue(Verify(value));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment