在TaxReporting
报告中,有一个方法叫做printUndeclaredTaxPeriods
,代码如下:
/// <summary>
/// This method will retrieve if there are any transactions that happened outside
/// the date range specified for the report.
/// </summary>
void printUndeclaredTaxPeriods()
{
TaxReportPeriod taxReportPeriod;
TaxTrans taxTrans_local;
;
while select taxReportPeriod
where taxReportPeriod.FromDate < fromDate
exists join taxTrans_local
where taxTrans_local.TransDate >= taxReportPeriod.FromDate
&& taxTrans_local.TransDate <= taxReportPeriod.ToDate
&& taxTrans_local.TaxPeriod == taxReportPeriod.TaxPeriod
&& taxTrans_local.TaxRepCounter == taxReportPeriod.VersionNum
{
//element.send(taxReportPeriod);
}
}
每次运行此报告时,AOS 都会崩溃。
当我调试时,我发现我评论的那行导致崩溃。
我怎样才能避免这个过程或者对这种情况的任何解释,所以我知道我应该怎么做 AOS 崩溃?