Commit 6a0b4c60 authored by neo's avatar neo

[bugfix] fix company balance inport sql missed cloum

parent 30ae82fd
......@@ -445,7 +445,16 @@
b.DebitBal,
b.CreditBal,
b.MonthId,
a.`Name` AS AccountName
b.YearDebitBal,
b.YearCreditBal,
IF (
ISNULL(a.ParentCode) || a.ParentCode = '',
'0',
a.ParentCode
) AS ParentCode,
a.`Name` AS AccountName,
a.AcctProp,
a.Direction
FROM
CompanyBalance b
LEFT JOIN EnterpriseAccount a ON b.AcctCode = a.AcctCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment