我设计一个资产负债表,在某个单元格需要进行运算。例如:固定资产,其数值应该是固定资产科目余额-累计折旧科目余额,其计算的结果填入到单元格中。 计算的数据查询如下: select acct.FNumber,acct.FName,FBeginBalance,FDebit,FCredit,FEndBalance from t_balance bal left join t_account acct on bal.FAccountID=acct.FAccountID where FYear=${year} and FPeriod=${period} and bal.FCurrencyID=0 and bal.FDetailID=0 and acct.FLevel=1 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|