Commit 75c4a42d authored by chase's avatar chase

fix bug

parent 03b716e9
......@@ -322,6 +322,9 @@ public class ReportServiceImpl extends BaseService {
lastPeriod = lastProject.getYear() + "12";
}
}
TrialBalanceFinalExample example = new TrialBalanceFinalExample();
example.createCriteria().andProjectIdEqualTo(projectId).andPeriodEqualTo(Integer.valueOf(queryPeriod));
trialBalanceFinalMapper.deleteByExample(example);
trialBalanceFinalMapper.generateFinalData(projectId,Integer.valueOf(queryPeriod),lastProject==null?"0":lastProject.getId(),Integer.valueOf(lastPeriod));
}
public void assembleInvoiceRecord(String projectId,Integer period){
......
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