调整

parent 131e00f0
...@@ -194,6 +194,21 @@ public ApiResponse ExtractData([CustomizeValidator(RuleSet = "Template"), FromBo ...@@ -194,6 +194,21 @@ public ApiResponse ExtractData([CustomizeValidator(RuleSet = "Template"), FromBo
} }
#endregion #endregion
#region 老版提取
/// <summary>
/// 提取绩效数据
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[Route("NewExtractData")]
[HttpPost]
public void NewExtractData([CustomizeValidator, FromBody]ExtractRequest request)
{
}
#endregion
/// <summary> /// <summary>
/// 从WebAPI下载文件 /// 从WebAPI下载文件
/// </summary> /// </summary>
......
...@@ -78,7 +78,7 @@ public class NewExtractService : IAutoInjection ...@@ -78,7 +78,7 @@ public class NewExtractService : IAutoInjection
#region 改版抽取 #region 改版抽取
public string ExtractData(int allotId, string email, int hospitalId, UseTemplate useTemplate) public string ExtractData(int allotId, string email, int hospitalId)
{ {
// 获取医院信息 // 获取医院信息
var allot = perforPerallotRepository.GetEntity(t => t.ID == allotId); var allot = perforPerallotRepository.GetEntity(t => t.ID == allotId);
......
...@@ -102,7 +102,7 @@ public PerSheet OnceCompute(PerSheet sheet, List<CofDrugProp> confs = null) ...@@ -102,7 +102,7 @@ public PerSheet OnceCompute(PerSheet sheet, List<CofDrugProp> confs = null)
{ {
//获取最大列坐标位置 //获取最大列坐标位置
int thiscell = sheet.PerHeader.OrderByDescending(t => t.PointCell).FirstOrDefault().PointCell + 1; int thiscell = sheet.PerHeader.OrderByDescending(t => t.PointCell).FirstOrDefault().PointCell + 1;
PerHeader perHead = new PerHeader(0, thiscell, "工作量绩效合计", 0, 2, 1, new List<PerHeader>(), 1); PerHeader perHead = new PerHeader(0, thiscell, "工作量绩效合计", 0, 1, 1, new List<PerHeader>(), 1);
var dataList = sheet.PerData.Select(t => (PerData)t); var dataList = sheet.PerData.Select(t => (PerData)t);
......
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