first pass of creating report
This commit is contained in:
14
EnvelopeGenerator.Common/Models/ReportModel.vb
Normal file
14
EnvelopeGenerator.Common/Models/ReportModel.vb
Normal file
@@ -0,0 +1,14 @@
|
||||
Public Class ReportModel
|
||||
Inherits BaseModel
|
||||
|
||||
Public Sub New(pState As State)
|
||||
MyBase.New(pState)
|
||||
End Sub
|
||||
|
||||
Public Function List(pEnvelopeId As Integer) As DataTable
|
||||
Dim oSql As String = $"SELECT * FROM VWSIG_ENVELOPE_REPORT WHERE ENVELOPE_ID = {pEnvelopeId}"
|
||||
Dim oTable As DataTable = Database.GetDatatable(oSql)
|
||||
|
||||
Return oTable
|
||||
End Function
|
||||
End Class
|
||||
Reference in New Issue
Block a user