Commit bc32742a by lcx

特殊科室取值修改

parent 5657a64c
...@@ -53,8 +53,8 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader) ...@@ -53,8 +53,8 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
//AccountingUnit = accountingUnit, //AccountingUnit = accountingUnit,
//Department = accountingUnit, //Department = accountingUnit,
QuantitativeIndicators = row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "量化指标").PointCell)?.StringCellValue, QuantitativeIndicators = row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "量化指标").PointCell)?.StringCellValue,
Quantity = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "数量").PointCell)?.NumericCellValue), Quantity = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "数量").PointCell)),
QuantitativeIndicatorsValue = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "量化指标绩效分值").PointCell)?.NumericCellValue), QuantitativeIndicatorsValue = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "量化指标绩效分值").PointCell)),
}; };
var cell = row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "科室").PointCell);//?.ToString(); var cell = row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "科室").PointCell);//?.ToString();
var accountingUnit = NopiSevice.GetCellStringValue(cell); var accountingUnit = NopiSevice.GetCellStringValue(cell);
...@@ -72,11 +72,11 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader) ...@@ -72,11 +72,11 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
specialUnit.AccountingUnit = accountingUnit; specialUnit.AccountingUnit = accountingUnit;
specialUnit.Department = accountingUnit; specialUnit.Department = accountingUnit;
specialUnit.Number = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "人数").PointCell)?.NumericCellValue); specialUnit.Number = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "人数").PointCell));
specialUnit.ScoringAverage = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "考核得分率").PointCell)?.NumericCellValue); specialUnit.ScoringAverage = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "考核得分率").PointCell));
specialUnit.OtherPerfor = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "其他绩效").PointCell)?.NumericCellValue); specialUnit.OtherPerfor = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "其他绩效").PointCell));
specialUnit.Punishment = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "医院奖罚").PointCell)?.NumericCellValue); specialUnit.Punishment = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "医院奖罚").PointCell));
specialUnit.Adjust = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "调节系数").PointCell)?.NumericCellValue); specialUnit.Adjust = NopiSevice.GetCellValue(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "调节系数").PointCell));
//} //}
if (!string.IsNullOrEmpty(specialUnit.QuantitativeIndicators) && specialUnit.QuantitativeIndicatorsValue != null) if (!string.IsNullOrEmpty(specialUnit.QuantitativeIndicators) && specialUnit.QuantitativeIndicatorsValue != null)
dataList.Add(specialUnit); dataList.Add(specialUnit);
......
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