small fixes

This commit is contained in:
Jonathan Jenne
2023-12-04 15:30:35 +01:00
parent 562935e07e
commit 15e163bd60
6 changed files with 21 additions and 8 deletions

View File

@@ -15,7 +15,8 @@ Public Class CertificateDocumentJob
Dim JobId = pContext.JobDetail.Key
oLogger.Info("Starting job {0}", JobId)
Dim oSql = $"SELECT * FROM TBSIG_ENVELOPE WHERE STATUS = {Constants.EnvelopeStatus.EnvelopeCompletelySigned}"
Dim oCompleteStatus As Integer = Constants.EnvelopeStatus.EnvelopeCompletelySigned
Dim oSql = $"SELECT * FROM TBSIG_ENVELOPE WHERE STATUS = {oCompleteStatus}"
Dim oTable = oDatabase.GetDatatable(oSql)
oLogger.Info("Found [{0}] completed envelopes.", oTable.Rows.Count)