| | |
| | | public Object countEndCase() { |
| | | try { |
| | | Map<String, Object> terms = Maps.newHashMap(); |
| | | terms.put("EndProcess", "EndProcess"); |
| | | terms.put("endProcess", "endProcess"); |
| | | return ReturnSucUtils.getRepInfo(caseInfoService.countTerms(terms)); |
| | | } catch (Exception e) { |
| | | log.error("[SyncCustController.countEndCase]请求失败,异常信息:"+e, e); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 数据割接-统计进行中的纠纷案件信息 |
| | | * @url {ctx}/api/client/syncCase/countTodoCase |
| | | * @return |
| | | */ |
| | | @GetMapping("/countTodoCase") |
| | | public Object countTodoCase() { |
| | | try { |
| | | Map<String, Object> terms = Maps.newHashMap(); |
| | | terms.put("todoProcess", "todoProcess"); |
| | | return ReturnSucUtils.getRepInfo(caseInfoService.countTerms(terms)); |
| | | } catch (Exception e) { |
| | | log.error("[SyncCustController.countTodoCase]请求失败,异常信息:"+e, e); |
| | | return ReturnFailUtils.getRepInfo(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 数据割接-进行中的纠纷案件信息 |
| | | * @url {ctx}/api/client/syncCase/byToGzTodoCase |
| | | * @param page |
| | | * @param size |
| | | * @return |
| | | */ |
| | | @GetMapping("/byToGzTodoCase") |
| | | public Object byToGzTodoCase(@RequestParam(value = "page") int page, @RequestParam(value = "size") int size) { |
| | | try { |
| | | List<GZCaseDTO> gzCaseDTOList = caseInfoService.byToGzTodoCase(page, size); |
| | | return ReturnSucUtils.getRepInfo(gzCaseDTOList); |
| | | } catch (Exception e) { |
| | | log.error("[SyncCustController.byToGzTodoCase]请求失败,异常信息:"+e, e); |
| | | return ReturnFailUtils.getRepInfo(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | } |