@@ -1374,14 +1381,24 @@ public void SaveGatherHands(int allotId, SaveGatherData request)
...
@@ -1374,14 +1381,24 @@ public void SaveGatherHands(int allotId, SaveGatherData request)
data.Source=request.Source;
data.Source=request.Source;
data.Category=request.Category;
data.Category=request.Category;
data.AllotId=allotId;
data.AllotId=allotId;
data.Submitter=request.UserId;
data.CreateTime=timeNow;
data.CreateTime=timeNow;
depts.Add(data);
depts.Add(data);
}
}
deptData.Add(data.Department);
}
}
exresultgatherRepository.Execute($@"delete from ex_result_gather where allotid = @allotid and source like '%{request.Source}%' and category = '{request.Category}' ",new{allotId});
//exresultgatherRepository.Execute($@"delete from ex_result_gather where allotid = @allotid and department like '%{request.Department}%'and source like '%{request.Source}%' and category like '%{request.Category}%' ", new { allotId });
//exresultgatherRepository.Execute($@"delete from ex_result_gather where allotid = @allotid and department like '%{request.Department}%'and source like '%{request.Source}%' and category like '%{request.Category}%' ", new { allotId });