| | |
| | | } |
| | | |
| | | /** |
| | | * 获取随访及时率 |
| | | */ |
| | | @ApiOperation("获取随访及时率") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ServiceTask:add')") |
| | | @Log(title = "获取随访及时率", businessType = BusinessType.INSERT) |
| | | @PostMapping("/selectTimelyRate") |
| | | public AjaxResult selectTimelyRate(@RequestBody ServiceSubtask serviceSubtask) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | serviceSubtask.setOrgid(user.getOrgid()); |
| | | return success(serviceTaskService.selectTimelyRate(serviceSubtask)); |
| | | } |
| | | |
| | | /** |
| | | * 修改语音任务 |
| | | */ |
| | | @ApiOperation("修改任务") |
| | |
| | | public AjaxResult getScriptInfoByCondition(@RequestBody ServiceTaskScriptQues serviceTaskScriptQues) { |
| | | Long tid = null; |
| | | Long pid = null; |
| | | log.error("getScriptInfoByCondition入参为:{}", serviceTaskScriptQues); |
| | | log.info("getScriptInfoByCondition入参为:{}", serviceTaskScriptQues); |
| | | try { |
| | | tid = Long.valueOf(rsaPublicKeyExample.decryptedData(serviceTaskScriptQues.getParam1(), pri_key)); |
| | | pid = Long.valueOf(rsaPublicKeyExample.decryptedData(serviceTaskScriptQues.getParam2(), pri_key)); |
| | |
| | | log.error("getScriptInfoByCondition报错了:{}", e.getMessage()); |
| | | } |
| | | |
| | | log.error("tid和pid的值为:{},{}", tid, pid); |
| | | log.info("tid和pid的值为:{},{}", tid, pid); |
| | | if (StringUtils.isEmpty(serviceTaskScriptQues.getPatfrom())) serviceTaskScriptQues.setPatfrom("0"); |
| | | return success(serviceTaskService.getScriptInfoByCondition(tid, pid, true, serviceTaskScriptQues.getPatfrom())); |
| | | } |
| | |
| | | log.error("getScriptInfoByCondition报错了:{}", e.getMessage()); |
| | | } |
| | | |
| | | log.error("tid和pid的值为:{},{}", tid, pid); |
| | | log.info("tid和pid的值为:{},{}", tid, pid); |
| | | if (StringUtils.isEmpty(serviceTaskScriptQues.getPatfrom())) serviceTaskScriptQues.setPatfrom("0"); |
| | | return success(serviceTaskService.getScriptInfoByCondition(tid, pid, true, serviceTaskScriptQues.getPatfrom())); |
| | | } |