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