| | |
| | | @Log(title = "语音任务", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody ServiceTask ServiceTask) { |
| | | public AjaxResult add(@RequestBody ServiceTask serviceTask) { |
| | | SysUser user = getLoginUser().getUser(); |
| | | ServiceTask.setOrgid(user.getOrgid()); |
| | | return toAjax(serviceTaskService.insertServiceTask(ServiceTask)); |
| | | serviceTask.setOrgid(user.getOrgid()); |
| | | serviceTask.setCampusid(user.getCampusid()); |
| | | return toAjax(serviceTaskService.insertServiceTask(serviceTask)); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | log.info("tid和pid的值为:{},{}", tid, pid); |
| | | if (StringUtils.isEmpty(serviceTaskScriptQues.getPatfrom())) serviceTaskScriptQues.setPatfrom("0"); |
| | | return success(serviceTaskService.getScriptInfoByCondition(tid, pid, true, serviceTaskScriptQues.getPatfrom())); |
| | | return success(serviceTaskService.getScriptInfoByCondition(tid, pid, true, serviceTaskScriptQues.getPatfrom(),null)); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | log.info("tid和pid的值为:{},{}", tid, pid); |
| | | if (StringUtils.isEmpty(serviceTaskScriptQues.getPatfrom())) serviceTaskScriptQues.setPatfrom("0"); |
| | | return success(serviceTaskService.getScriptInfoByCondition(tid, pid, true, serviceTaskScriptQues.getPatfrom())); |
| | | return success(serviceTaskService.getScriptInfoByCondition(tid, pid, true, serviceTaskScriptQues.getPatfrom(),null)); |
| | | } |
| | | |
| | | |