Commit 2bbf19ad authored by sherlock's avatar sherlock

recover DataImportService

parent 36e42ede
......@@ -75,18 +75,18 @@ public class DataImportService extends BaseService {
//科目段
GlBalanceExample.Criteria c = example.createCriteria().andSegment1EqualTo(organization.getClientCode())
.andPeriodNameEqualTo(dateFormat.format(calendar.getTime()));
if(CollectionUtils.isNotEmpty(etCodeList)){
// if(CollectionUtils.isNotEmpty(etCodeList)){
c.andSegment3In(etCodeList);
}
// }
List<GlBalance> sg3List = glBalanceMapper.selectByExample(example);
GlBalanceExample example2 = new GlBalanceExample();
//明细段
GlBalanceExample.Criteria c2 = example2.createCriteria().andSegment1EqualTo(organization.getClientCode())
.andPeriodNameEqualTo(dateFormat.format(calendar.getTime()));
if(CollectionUtils.isNotEmpty(etCodeList)){
// if(CollectionUtils.isNotEmpty(etCodeList)){
c2.andSegment4In(etCodeList);
}
// }
List<GlBalance> sg4List = glBalanceMapper.selectByExample(example2);
for (StandardAccount standardAccount : stdAccountList) {
......
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