凭证对照打开对照

This commit is contained in:
lvleigang 2024-10-21 09:18:00 +08:00
parent 861dbc1a5a
commit 14e35993ee
1 changed files with 4 additions and 4 deletions

View File

@ -148,10 +148,10 @@ public class AxServiceImpl extends BaseService<ArchivesEntity, String> implement
ArchivesEntity archivesEntity = new ArchivesEntity();
archivesEntity.setArchivesType(ass.getChecktypecode());
archivesEntity.setLeftCode(ass.getCheckvaluecode());
//List<ArchivesEntity> archivesEntities = axDao.queryArchivesData(archivesEntity);
//if(archivesEntities != null && archivesEntities.size() > 0){
// ass.setCheckvaluecode(archivesEntities.get(0).getRightCode());
//}
List<ArchivesEntity> archivesEntities = axDao.queryArchivesData(archivesEntity);
if(archivesEntities != null && archivesEntities.size() > 0){
ass.setCheckvaluecode(archivesEntities.get(0).getRightCode());
}
}
}
}