コード例 #1
0
 public void findDocument() {
   ReadDocumentEvent<ReqDocumentEntity> readDocumentEvent =
       transactionHandler.readDocumentList(
           new RequestReadDocumentEvent<ReqDocumentEntity>(
               documentSearchCriteria,
               sessionInfoHelper.currentOrganization(),
               sessionInfoHelper.currentFiscalYear()));
   documentSearchResultList = readDocumentEvent.getDocumentList();
 }
コード例 #2
0
 @PostConstruct
 private void init() {
   DefTaskEntity purchaseTaskList =
       taskRepository
           .getTaskList(sessionInfoHelper.currentOrganization(), EnumList.DefTypeEnum.REQ_IO_P)
           .get(0);
   documentSearchCriteria = new TraDocumentSearchCriteria();
   documentSearchCriteria.setDocType(EnumList.DefTypeEnum.REQ_IO);
   documentSearchCriteria.setDocTask(purchaseTaskList);
 }