Commit 9d7b3e78 by lcx

数据提取更换删除数据位置

parent a97208f5
...@@ -80,6 +80,9 @@ public string Main(int allotId, int hospitalId, string email, string groupName, ...@@ -80,6 +80,9 @@ public string Main(int allotId, int hospitalId, string email, string groupName,
var dict = new Dictionary<ExDataDict, object>(); var dict = new Dictionary<ExDataDict, object>();
logService.ReturnTheLog(allotId, groupName, 3, "", 5, 1, isSingle); logService.ReturnTheLog(allotId, groupName, 3, "", 5, 1, isSingle);
queryService.ClearHistoryData(allot.ID, groupName, isSingle);
dictionaryService.Handler(hospitalId, allot, groupName, isSingle); dictionaryService.Handler(hospitalId, allot, groupName, isSingle);
var data = queryService.Handler(hospitalId, allot, groupName, isSingle, ref dict); var data = queryService.Handler(hospitalId, allot, groupName, isSingle, ref dict);
var standData = StandDataFormat(hospitalId, data); var standData = StandDataFormat(hospitalId, data);
......
...@@ -77,8 +77,6 @@ public List<ex_result> Handler(int hospitalId, per_allot allot, string groupName ...@@ -77,8 +77,6 @@ public List<ex_result> Handler(int hospitalId, per_allot allot, string groupName
}; };
var extypeIds = GetQueryScriptIds(hospitalId, ref dict); var extypeIds = GetQueryScriptIds(hospitalId, ref dict);
ClearHistoryData(allot.ID, groupName, isSingle);
var data = new List<ex_result>(); var data = new List<ex_result>();
logService.ReturnTheLog(allot.ID, groupName, 2, "提取数据", $"开始提取数据", isSingle: isSingle); logService.ReturnTheLog(allot.ID, groupName, 2, "提取数据", $"开始提取数据", isSingle: isSingle);
...@@ -157,7 +155,7 @@ private List<int> GetQueryScriptIds(int hospitalId, ref Dictionary<ExDataDict, o ...@@ -157,7 +155,7 @@ private List<int> GetQueryScriptIds(int hospitalId, ref Dictionary<ExDataDict, o
/// 清除历史抽取数据 /// 清除历史抽取数据
/// </summary> /// </summary>
/// <param name="allotId"></param> /// <param name="allotId"></param>
private void ClearHistoryData(int allotId, string groupName, bool isSingle) public void ClearHistoryData(int allotId, string groupName, bool isSingle)
{ {
logService.ReturnTheLog(allotId, groupName, 2, "清除数据", $"开始清除历史提取数据", 1, isSingle); logService.ReturnTheLog(allotId, groupName, 2, "清除数据", $"开始清除历史提取数据", 1, isSingle);
perallotRepository.ClearResultData(allotId); perallotRepository.ClearResultData(allotId);
......
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