| | |
| | | } |
| | | }); |
| | | return getDataTable2(total, list); |
| | | // return getDataTable(serviceSubtaskService.patItem(ivrTaskcall)); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | ExcelUtil<ServiceSubtaskExprot> util = new ExcelUtil<ServiceSubtaskExprot>(ServiceSubtaskExprot.class); |
| | | util.exportExcel(response, serviceSubtaskExprots, "患者随访信息表单"); |
| | | } |
| | |
| | | List<ServiceSubtask> list = serviceSubtaskService.selectServiceSubtaskList(serviceSubtaskVO); |
| | | ExcelUtil<ServiceSubtask> util = new ExcelUtil<ServiceSubtask>(ServiceSubtask.class); |
| | | util.exportExcel(response, list, "单一任务(随访)数据"); |
| | | } |
| | | |
| | | /** |
| | | * 随访数据查询 |
| | | */ |
| | | @Log(title = "随访数据查询", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/querySubtaskList") |
| | | public AjaxResult querySubtaskList(@RequestBody ServiceSubtaskVO serviceSubtaskVO) { |
| | | PageUtils.startPageByPost(serviceSubtaskVO.getPageNum(), serviceSubtaskVO.getPageSize()); |
| | | serviceSubtaskService.selectServiceSubtaskList(serviceSubtaskVO); |
| | | return success(serviceSubtaskService.selectServiceSubtaskList(serviceSubtaskVO)); |
| | | } |
| | | |
| | | |
| | |
| | | @PostMapping("/phoneCallBackYQ") |
| | | public PhoneCallBackYQVO phoneCallBackYQ(@RequestBody PhoneCallReqYQVO phoneCallReqYQVO) { |
| | | log.info("电话ASR通话回调(雨绮) ?{}", phoneCallReqYQVO); |
| | | // SysUser user = getLoginUser().getUser(); |
| | | // phoneCallReqYQVO.setOrgid(user.getOrgid()); |
| | | PhoneCallBackYQVO phoneCallBackYQVO = serviceSubtaskService.phoneCallBackYQ(phoneCallReqYQVO); |
| | | return phoneCallBackYQVO; |
| | | } |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取随访统计比例 |
| | | */ |
| | | @ApiOperation("获取随访满意度统计") |
| | | @PostMapping("/getSfStatisticsJoy") |
| | | public AjaxResult getSfStatisticsJoy(@RequestBody ServiceSubtaskCountReq serviceSubtaskCountReq) { |
| | | if (CollectionUtils.isEmpty(serviceSubtaskCountReq.getServiceType())) { |
| | | return error("服务类型不能为空"); |
| | | } |
| | | return success(serviceSubtaskService.getSfStatisticsJoy(serviceSubtaskCountReq)); |
| | | } |
| | | |
| | | /** |
| | | * 随访统计导出 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:taskcall:export')") |
| | |
| | | util.exportExcel(response, sfStatistics, "随访统计导出"); |
| | | } |
| | | |
| | | /** |
| | | * 随访统计导出 |
| | | */ |
| | | @ApiOperation("服务统计查询-按时间维度统计出院/门诊随访数据") |
| | | @PostMapping("/getServiceStatistics") |
| | | public AjaxResult getServiceStatistics(@RequestBody ServiceStatisticsRequest serviceStatisticsRequest) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | serviceStatisticsRequest.setOrgid(user.getOrgid()); |
| | | List<ServiceStatisticsResponse> serviceStatistics = serviceSubtaskService.getServiceStatistics(serviceStatisticsRequest); |
| | | return success(serviceStatistics); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取随访统计比例 |
| | | */ |
| | | @ApiOperation("获取随访满意度明细") |
| | | @PostMapping("/getSfStatisticsJoydetails") |
| | | public AjaxResult getSfStatisticsJoydetails(@RequestBody ServiceSubtaskCountReq serviceSubtaskCountReq) { |
| | | if (serviceSubtaskCountReq.getLeavehospitaldistrictcodes().size()==0&& |
| | | serviceSubtaskCountReq.getDeptcodes().size()==0) { |
| | | return error("科室或病区不能为空"); |
| | | } |
| | | return success(serviceSubtaskService.getSfStatisticsJoydetails(serviceSubtaskCountReq)); |
| | | } |
| | | |
| | | } |