|
|
@@ -10,8 +10,11 @@ import com.fs.common.utils.poi.ExcelUtil;
|
|
|
import com.fs.framework.security.LoginUser;
|
|
|
import com.fs.framework.service.TokenService;
|
|
|
import com.fs.qw.domain.QwTag;
|
|
|
+import com.fs.qw.domain.QwTagGroup;
|
|
|
import com.fs.qw.param.QwTagParam;
|
|
|
import com.fs.qw.service.IQwTagService;
|
|
|
+import com.fs.qw.service.IQwTagGroupService;
|
|
|
+import com.fs.qw.vo.QwTagGroupListVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
@@ -31,6 +34,8 @@ public class QwTagController extends BaseController
|
|
|
@Autowired
|
|
|
private IQwTagService qwTagService;
|
|
|
@Autowired
|
|
|
+ private IQwTagGroupService qwTagGroupService;
|
|
|
+ @Autowired
|
|
|
private TokenService tokenService;
|
|
|
/**
|
|
|
* 查询企微客户标签列表
|
|
|
@@ -44,6 +49,18 @@ public class QwTagController extends BaseController
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询标签组列表(包含子标签)- 多级筛选
|
|
|
+ * 支持按标签组名称查询
|
|
|
+ */
|
|
|
+ @GetMapping("/tagGroupList")
|
|
|
+ public TableDataInfo tagGroupList(QwTagGroup qwTagGroup)
|
|
|
+ {
|
|
|
+ startPage();
|
|
|
+ List<QwTagGroupListVO> list = qwTagGroupService.selectQwTagGroupListVO(qwTagGroup);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/searchTags")
|
|
|
public TableDataInfo searchTags(@RequestBody QwTagParam tagParam)
|
|
|
{
|