| | |
| | | String APPLICATIONENDTIME = spFinancialExpensesIn.getAPPLICATIONENDTIME(); |
| | | Integer CHECKFLAG = spFinancialExpensesIn.getCHECKFLAG(); |
| | | Integer APPLYTYPE = spFinancialExpensesIn.getAPPLYTYPE(); |
| | | Integer checkstatus = spFinancialExpensesIn.getCheckstatus(); |
| | | Integer pageNum = spFinancialExpensesIn.getPageNum(); |
| | | Integer pageSize = spFinancialExpensesIn.getPageSize(); |
| | | |
| | |
| | | APPLICATIONENDTIME = ""; |
| | | } |
| | | //startPage(); |
| | | List<SpFinancialExpensesReimbursementOut> list = serviceReimbursementService.getListBypower(loginUser.getUsername(), 1, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE); |
| | | List<SpFinancialExpensesReimbursementOut> list = serviceReimbursementService.getListBypower(loginUser.getUsername(), 1, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE,checkstatus); |
| | | //根据经办人筛选 |
| | | if (StringUtils.isNotBlank(spFinancialExpensesIn.getUsername())) { |
| | | list = list.stream().filter(reimbursementOut -> reimbursementOut.getUsername().contains(spFinancialExpensesIn.getUsername())).collect(Collectors.toList()); // 按name字段过滤 |
| | |
| | | @RepeatSubmit |
| | | @Options(useGeneratedKeys = true, keyProperty = "id") |
| | | public AjaxResult add(@RequestBody ServiceReimbursement serviceReimbursement) { |
| | | |
| | | boolean b = serviceReimbursementService.save(serviceReimbursement); |
| | | // if (b) { |
| | | // addReiSharedDatd(serviceReimbursement, 1); |
| | | // } |
| | | Long id = serviceReimbursement.getId(); |
| | | return AjaxResult.success(id); |
| | | if (!Objects.isNull(serviceReimbursement)) { |
| | | serviceReimbursement.setCheckstatus(serviceReimbursement.getCheckstatus() == null ? 1 : serviceReimbursement.getCheckstatus()); |
| | | boolean b = serviceReimbursementService.save(serviceReimbursement); |
| | | Long id = serviceReimbursement.getId(); |
| | | return AjaxResult.success(id); |
| | | } |
| | | return error(); |
| | | } |
| | | |
| | | // public int addReiSharedDatd(ServiceReimbursement serviceReimbursement, int nType) { |