Commit b71df7c9 by 李承祥

列头、特殊科室

parent ca1235ce
......@@ -233,7 +233,7 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
}
else
{
return new ApiResponse(ResponseType.Fail, "该功能暂未实现!");
}
return new ApiResponse(ResponseType.Error, "HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!");
}
......
......@@ -50,13 +50,19 @@ public static ICellStyle CreateCellStyle(IWorkbook wb, StyleType type = StyleTyp
cellStyle.SetFont(font);
//居中
cellStyle.Alignment = HorizontalAlignment.Center;//水平居中
cellStyle.VerticalAlignment = VerticalAlignment.Center;//垂直居中
switch (type)
{
case StyleType.列头:
cellStyle.FillForegroundColor = HSSFColor.Orange.Index;
cellStyle.FillForegroundColor = HSSFColor.Gold.Index;
cellStyle.FillPattern = FillPattern.SolidForeground;
break;
case StyleType.系数:
cellStyle.FillForegroundColor = HSSFColor.Green.Index;
cellStyle.FillPattern = FillPattern.SolidForeground;
break;
case StyleType.默认:
cellStyle.SetFont(font);
......
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