Merged.
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
(map clj->db )
|
(map clj->db )
|
||||||
(map (apply juxt k))))]]
|
(map (apply juxt k))))]]
|
||||||
:insert-into [[:invoices k]
|
:insert-into [[:invoices k]
|
||||||
{:select [:v.company-id :v.vendor-id :v.invoice-number :v.total (sql/raw "cast(v.date as timestamp)") :v.imported :v.status :v.outstanding-balance :v.default-location :v.default-expense-account]
|
{:select [:v.company-id :v.vendor-id :v.invoice-number :v.total (sql/raw "cast(v.date as timestamp)") :v.imported :v.status :v.outstanding-balance :v.default-location (sql/raw "cast(v.default_expense_account as INT)")]
|
||||||
:from [:v]
|
:from [:v]
|
||||||
:left-join [[:invoices :exist]
|
:left-join [[:invoices :exist]
|
||||||
[:and
|
[:and
|
||||||
|
|||||||
Reference in New Issue
Block a user