添加公司条件
This commit is contained in:
parent
bdd278d786
commit
6be7091e2a
|
@ -148,6 +148,7 @@ public class AxServiceImpl extends BaseService<ArchivesEntity, String> implement
|
|||
ArchivesEntity archivesEntity = new ArchivesEntity();
|
||||
archivesEntity.setArchivesType(ass.getChecktypecode());
|
||||
archivesEntity.setLeftCode(ass.getCheckvaluecode());
|
||||
archivesEntity.setLeftOrg(voucher.getPk_corp());
|
||||
List<ArchivesEntity> archivesEntities = axDao.queryArchivesData(archivesEntity);
|
||||
if(archivesEntities != null && archivesEntities.size() > 0){
|
||||
ass.setCheckvaluecode(archivesEntities.get(0).getRightCode());
|
||||
|
@ -180,10 +181,11 @@ 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());
|
||||
//}
|
||||
archivesEntity.setLeftOrg(voucher.getPk_corp());
|
||||
List<ArchivesEntity> archivesEntities = axDao.queryArchivesData(archivesEntity);
|
||||
if(archivesEntities != null && archivesEntities.size() > 0){
|
||||
ass.setCheckvaluecode(archivesEntities.get(0).getRightCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue