awaiting-disposition-header-attachment-id
This commit is contained in:
@ -169,6 +169,7 @@ public class InfinityQSV4Repository : IInfinityQSV4Repository
|
||||
private static StringBuilder GetForJsonPath(IDbConnectionFactory dbConnectionFactory, string commandText, bool useIqsConnection)
|
||||
{
|
||||
StringBuilder stringBuilder = new();
|
||||
File.WriteAllText("../../.sql", commandText);
|
||||
using DbConnection dbConnection = dbConnectionFactory.GetDbConnection(useIqsConnection);
|
||||
DbCommand dbCommand = dbConnection.CreateCommand();
|
||||
dbCommand.CommandText = commandText;
|
||||
@ -184,6 +185,7 @@ public class InfinityQSV4Repository : IInfinityQSV4Repository
|
||||
if (string.IsNullOrEmpty(infinityQSV4.Part))
|
||||
throw new ArgumentException(nameof(infinityQSV4.Part));
|
||||
string json = infinityQSV4Repository.GetProductionSpecification(infinityQSV4.Part);
|
||||
File.WriteAllText("../../.json", json);
|
||||
ProdSpecRoot? prodSpec = JsonSerializer.Deserialize(json, ProdSpecRootSourceGenerationContext.Default.ProdSpecRoot);
|
||||
if (prodSpec is null)
|
||||
{
|
||||
@ -415,7 +417,7 @@ public class InfinityQSV4Repository : IInfinityQSV4Repository
|
||||
results.Add(" join [spcepiworld].[dbo].[part_dat] pd ");
|
||||
results.Add(" on se.f_part = pd.f_part ");
|
||||
results.Add(" where se.f_flag = 0 ");
|
||||
results.Add($" and pr.f_name in ({string.Join(',', eppReactorNumbers)} ");
|
||||
results.Add($" and pr.f_name in ({string.Join(',', eppReactorNumbers)}) ");
|
||||
results.Add(" and pd.f_name = '1090 - Full Load' ");
|
||||
results.Add(" and se.f_test in (1104769646, 1312288843) ");
|
||||
results.Add(" group by se.f_test, ");
|
||||
|
Reference in New Issue
Block a user