|
@@ -336,6 +336,7 @@ open class InvoiceService( |
|
|
val sql = StringBuilder( |
|
|
val sql = StringBuilder( |
|
|
" select i.id, i.invoiceNo, i.projectCode, " + |
|
|
" select i.id, i.invoiceNo, i.projectCode, " + |
|
|
" p.name as projectName, t.code as team, i.invoiceDate, " + |
|
|
" p.name as projectName, t.code as team, i.invoiceDate, " + |
|
|
|
|
|
" t.id as teamId, " + |
|
|
" concat(t.code, ' - ', t.name) as teamCodeName, " + |
|
|
" concat(t.code, ' - ', t.name) as teamCodeName, " + |
|
|
" i.receiptDate, i.issueAmount , i.paidAmount " + |
|
|
" i.receiptDate, i.issueAmount , i.paidAmount " + |
|
|
" from invoice i " + |
|
|
" from invoice i " + |
|
|