Commit 0af1d473 by 李承祥

禁用参数UseScheme

parent 4e8ad3d1
...@@ -226,15 +226,15 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r ...@@ -226,15 +226,15 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
var email = claim.GetUserClaim(JwtClaimTypes.Mail); var email = claim.GetUserClaim(JwtClaimTypes.Mail);
request.Email = email; request.Email = email;
if (request.UseScheme == (int)UseTemplate.Config) //if (request.UseScheme == (int)UseTemplate.Config)
{ //{
LogHelper.Information("请求路径:" + url.HttpPost + "/extract/extract", "提取绩效数据"); LogHelper.Information("请求路径:" + url.HttpPost + "/extract/extract", "提取绩效数据");
HttpHelper.HttpPostNoRequest(url.HttpPost + "/extract/extract", JsonHelper.Serialize(request), true); HttpHelper.HttpPostNoRequest(url.HttpPost + "/extract/extract", JsonHelper.Serialize(request), true);
} //}
else //else
{ //{
return new ApiResponse(ResponseType.Fail, "该功能暂未实现!"); // return new ApiResponse(ResponseType.Fail, "该功能暂未实现!");
} //}
return new ApiResponse(ResponseType.Error, "HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"); return new ApiResponse(ResponseType.Error, "HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!");
} }
catch (Exception ex) catch (Exception ex)
......
...@@ -551,7 +551,7 @@ private void WriteExpend(ISheet sheet, int hospitalId, IPerSheetDataRead sheetRe ...@@ -551,7 +551,7 @@ private void WriteExpend(ISheet sheet, int hospitalId, IPerSheetDataRead sheetRe
private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead sheetRead) private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead sheetRead)
{ {
LogHelper.Information($"填充人员信息", "提取绩效数据"); LogHelper.Information($"填充人员信息", "提取绩效数据");
var dictionary = new Dictionary<string, Func<im_employee, object>> var dictionary = new Dictionary<string, Func<im_employee, object>>
{ {
{ "核算单元", (t) => t.AccountingUnit }, { "核算单元", (t) => t.AccountingUnit },
...@@ -591,7 +591,7 @@ private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead shee ...@@ -591,7 +591,7 @@ private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead shee
private void WriteSpecialUnit(ISheet sheet, int hospitalId, per_allot allotLast, IPerSheetDataRead sheetRead) private void WriteSpecialUnit(ISheet sheet, int hospitalId, per_allot allotLast, IPerSheetDataRead sheetRead)
{ {
LogHelper.Information($"填充特殊核算单元绩效测算表", "提取绩效数据"); LogHelper.Information($"填充特殊核算单元绩效测算表", "提取绩效数据");
var dictionary = new Dictionary<string, Func<mod_special, List<im_specialunit>, object>> var dictionary = new Dictionary<string, Func<mod_special, List<im_specialunit>, object>>
{ {
{ "科室", (special,lastAllot) => special.Department }, { "科室", (special,lastAllot) => special.Department },
...@@ -671,7 +671,7 @@ private void WriteSpecialUnit(ISheet sheet, int hospitalId, per_allot allotLast, ...@@ -671,7 +671,7 @@ private void WriteSpecialUnit(ISheet sheet, int hospitalId, per_allot allotLast,
private void WriteAccountBasic(ISheet sheet, int allotLastId, IPerSheetDataRead sheetRead) private void WriteAccountBasic(ISheet sheet, int allotLastId, IPerSheetDataRead sheetRead)
{ {
LogHelper.Information($"填充临床科室医护绩效测算表", "提取绩效数据"); LogHelper.Information($"填充临床科室医护绩效测算表", "提取绩效数据");
var dictionary = new Dictionary<string, Func<im_accountbasic, object>> var dictionary = new Dictionary<string, Func<im_accountbasic, object>>
{ {
{ "核算单元类型", (t) => t.UnitType }, { "核算单元类型", (t) => t.UnitType },
......
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