| | |
| | | @Override |
| | | public DataTableEntity getApplyDocument(FieldSetEntity fse) throws BaseException { |
| | | |
| | | String document_name = fse.getString("document_name"); |
| | | String filter="file_name like '%"+document_name+"'%"; |
| | | DataTableEntity product_oa_document = baseDao.listTable("product_oa_document",filter); |
| | | DataTableEntity product_oa_document; |
| | | if(ObjectUtil.isNotEmpty(fse.getString("document_name"))){ |
| | | String document_name = fse.getString("document_name"); |
| | | String filter="file_name like '%"+document_name+"'%"; |
| | | product_oa_document = baseDao.listTable("product_oa_document",filter); |
| | | }else { |
| | | product_oa_document = baseDao.listTable("product_oa_document"); |
| | | } |
| | | |
| | | |
| | | return product_oa_document; |
| | | } |
| | |
| | | DataTableEntity dataTableEntity = baseDao.listTable(sb.toString()); |
| | | return dataTableEntity; |
| | | } |
| | | |
| | | @Override |
| | | public FieldSetEntity getApplayInfo(FieldSetEntity fes) throws BaseException { |
| | | String uuid = fes.getString("uuid"); |
| | | FieldSetEntity product_oa_document_borrow = baseDao.getFieldSetEntity("product_oa_document_borrow", uuid, false); |
| | | return product_oa_document_borrow; |
| | | } |
| | | } |