| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Collections; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.*; |
| | | |
| | | /** |
| | | * 语音任务结果明细Controller |
| | |
| | | serviceSubtask.setSendstate(6L); |
| | | serviceSubtask.setId(serviceSubTaskDetailReq.getSubId()); |
| | | serviceSubtask.setRemark("数据补充完成"); |
| | | serviceSubtask.setUpdateTime(new Date()); |
| | | serviceSubtask.setFinishtime(new Date()); |
| | | serviceSubtask.setPreachform("1"); |
| | | serviceSubtask.setResult("success"); |
| | | aBoolean = serviceSubtaskService.updateServiceSubtask(serviceSubtask); |
| | | } |
| | |
| | | return toAjax(ServiceSubtaskDetailService.deleteServiceSubtaskDetailByCalldetailids(calldetailids)); |
| | | } |
| | | |
| | | /** |
| | | * 指标统计 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ServiceSubtaskDetail:add')") |
| | | @ApiOperation("指标统计") |
| | | @GetMapping(value = "/countPatByTarget/{targetid}") |
| | | public AjaxResult countPatByTarget(@PathVariable("targetid") Long targetid) { |
| | | return success(ServiceSubtaskDetailService.countPatByTarget(targetid)); |
| | | } |
| | | |
| | | } |