| | |
| | | terms.put("auditResultName", auditResultName); |
| | | } |
| | | // 审核理由 |
| | | String audit_content = request.getParameter("audit_content"); |
| | | if (StringUtils.isNotBlank(audit_content)){ |
| | | terms.put("audit_content", audit_content); |
| | | String auditContent = request.getParameter("auditContent"); |
| | | if (StringUtils.isNotBlank(auditContent)){ |
| | | terms.put("auditContent", auditContent); |
| | | } |
| | | // 删除状态,0:未删除,1:已删除 |
| | | String deleteStatus = request.getParameter("deleteStatus"); |
| | |
| | | PageRequest pageRequest = PageRequest.of(page-1, size, sort); |
| | | Page<CaseAssistApply> caseAssistApplyPage = service.pageQuery(pageRequest, terms); |
| | | return ReturnSucUtils.getRepInfo( "处理成功", caseAssistApplyPage); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 根据编号查询单个 |
| | | * @url {ctx}/api/web/caseAssistApply/getById |
| | | * @param id 主键编号 |
| | | * @return Object |
| | | */ |
| | | @GetMapping("/getById") |
| | | public Object getById(@RequestParam(value = "id") String id) { |
| | | try { |
| | | return ReturnSucUtils.getRepInfo(service.getById(id)); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(); |
| | | } |
| | |
| | | |
| | | /** |
| | | * 根据案件编号查询联合处置申请 |
| | | * @url {ctx}/api/web/caseAssistApply/getByCaseId |
| | | * @param caseId 主键编号 |
| | | * @url {ctx}/api/web/caseAssistApply/getById |
| | | * @param id 主键编号 |
| | | * @return Object |
| | | */ |
| | | @GetMapping("/getByCaseId") |
| | | public Object getByCaseId(@RequestParam(value = "caseId") String caseId) { |
| | | @GetMapping("/getById") |
| | | public Object getByCaseId(@RequestParam(value = "id") String id) { |
| | | try { |
| | | return ReturnSucUtils.getRepInfo(service.caseAssistApplyByCaseId(caseId)); |
| | | return ReturnSucUtils.getRepInfo(service.caseAssistApplyById(id)); |
| | | } catch (Exception e) { |
| | | return ReturnFailUtils.getRepInfo(); |
| | | } |