|
@@ -45,7 +45,8 @@ public class WeCommunityH5Controller extends BaseController {
|
|
|
@GetMapping("/scope/{taskId}")
|
|
|
public AjaxResult getTaskScopeList(@PathVariable("taskId") Long taskId, @RequestParam(value = "type") Integer type) {
|
|
|
if (type.equals(MessageNoticeType.TAG.getType())) {
|
|
|
- return AjaxResult.success(iWePresTagGroupTaskService.getScopeListByTaskId(taskId));
|
|
|
+// return AjaxResult.success(iWePresTagGroupTaskService.getScopeListByTaskId(taskId));
|
|
|
+ return AjaxResult.success();
|
|
|
} else {
|
|
|
return AjaxResult.success(iWeGroupSopService.getScopeListByRuleId(taskId));
|
|
|
}
|
|
@@ -64,8 +65,8 @@ public class WeCommunityH5Controller extends BaseController {
|
|
|
WeEmplTaskVo weEmplTaskVo=new WeEmplTaskVo();
|
|
|
if (type.equals(MessageNoticeType.TAG.getType())) {
|
|
|
// 老客标签建群数据
|
|
|
- weEmplTaskVo.setDone(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 1));
|
|
|
- weEmplTaskVo.setTodo(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 0));
|
|
|
+// weEmplTaskVo.setDone(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 1));
|
|
|
+// weEmplTaskVo.setTodo(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 0));
|
|
|
} else if (type.equals(MessageNoticeType.SOP.getType())) {
|
|
|
// 群SOP数据
|
|
|
weEmplTaskVo.setTodo(iWeGroupSopService.getEmplTaskList(emplId, false));
|
|
@@ -74,10 +75,10 @@ public class WeCommunityH5Controller extends BaseController {
|
|
|
// 全部数据
|
|
|
List todoList = new ArrayList();
|
|
|
List doneList = new ArrayList();
|
|
|
- todoList.addAll(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 0));
|
|
|
+// todoList.addAll(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 0));
|
|
|
todoList.addAll(iWeGroupSopService.getEmplTaskList(emplId, false));
|
|
|
weEmplTaskVo.setTodo(todoList);
|
|
|
- doneList.addAll(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 1));
|
|
|
+// doneList.addAll(iWePresTagGroupTaskService.getFollowerTaskList(emplId, 1));
|
|
|
doneList.addAll(iWeGroupSopService.getEmplTaskList(emplId, true));
|
|
|
weEmplTaskVo.setDone(doneList);
|
|
|
}
|
|
@@ -97,8 +98,8 @@ public class WeCommunityH5Controller extends BaseController {
|
|
|
@GetMapping("/changeStatus")
|
|
|
public AjaxResult changeStatus(@RequestParam("taskId") Long taskId, @RequestParam("emplId") String emplId, @RequestParam("type") Integer type) {
|
|
|
if (type.equals(0)) {
|
|
|
-
|
|
|
- return toAjax(iWePresTagGroupTaskService.updateFollowerTaskStatus(taskId, emplId));
|
|
|
+ return null;
|
|
|
+// return toAjax(iWePresTagGroupTaskService.updateFollowerTaskStatus(taskId, emplId));
|
|
|
} else {
|
|
|
return toAjax(iWeGroupSopService.updateChatSopStatus(taskId, emplId));
|
|
|
}
|
|
@@ -114,7 +115,8 @@ public class WeCommunityH5Controller extends BaseController {
|
|
|
@GetMapping(path = "/filter")
|
|
|
public TableDataInfo filter(@RequestParam("taskNameOrKeys") String word) {
|
|
|
startPage();
|
|
|
- List<WeKeywordGroupTask> taskList = keywordToGroupService.filterByNameOrKeyword(word);
|
|
|
+ List<WeKeywordGroupTask> taskList=new ArrayList<>();
|
|
|
+// List<WeKeywordGroupTask> taskList = keywordToGroupService.filterByNameOrKeyword(word);
|
|
|
return getDataTable(taskList);
|
|
|
}
|
|
|
|