diff --git a/ant-design-vue-jeecg/src/views/taskSkill/TaskSkillList.vue b/ant-design-vue-jeecg/src/views/taskSkill/TaskSkillList.vue
index c048e72..26108be 100644
--- a/ant-design-vue-jeecg/src/views/taskSkill/TaskSkillList.vue
+++ b/ant-design-vue-jeecg/src/views/taskSkill/TaskSkillList.vue
@@ -9,11 +9,11 @@
-
-
-
-
-
+
+
+
+
+
查询
@@ -142,7 +142,7 @@
dataIndex: 'taskType_dictText'
},
{
- title:'任务',
+ title:'任务名称',
align:"center",
dataIndex: 'taskId'
},
diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/taskSkill/controller/TaskSkillController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/taskSkill/controller/TaskSkillController.java
index 4a88ea0..a2b9da8 100644
--- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/taskSkill/controller/TaskSkillController.java
+++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/taskSkill/controller/TaskSkillController.java
@@ -1,5 +1,6 @@
package org.jeecg.modules.taskSkill.controller;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
@@ -83,7 +84,38 @@ public class TaskSkillController extends JeecgController strings = new ArrayList<>();
+ if (taskSkill.getTaskId() != null){
+ List projectlist = projectxService.list(new QueryWrapper().lambda().like(Projectx::getProjectName, taskSkill.getTaskId()));
+ List modulelist = modulexService.list(new QueryWrapper().lambda().like(Modulex::getModuleName, taskSkill.getTaskId()));
+ List functionlist = functionxService.list(new QueryWrapper().lambda().like(Functionx::getFunctionName, taskSkill.getTaskId()));
+ List rulelist = rulexService.list(new QueryWrapper().lambda().like(Rulex::getRuleCode, taskSkill.getTaskId()));
+ if (!projectlist.isEmpty()){
+ for (Projectx projectx : projectlist){
+ strings.add(projectx.getId());
+ }
+ }
+ if (!modulelist.isEmpty()){
+ for (Modulex modulex : modulelist){
+ strings.add(modulex.getId());
+ }
+ }
+ if (!functionlist.isEmpty()){
+ for (Functionx functionx : functionlist){
+ strings.add(functionx.getId());
+ }
+ }
+ if (!rulelist.isEmpty()){
+ for (Rulex rulex : rulelist){
+ strings.add(rulex.getId());
+ }
+ }
+ taskSkill.setTaskId(null);
+ }
QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(taskSkill, req.getParameterMap());
+ if (!strings.isEmpty()){
+ queryWrapper.in("task_id",strings);
+ }
Page page = new Page(pageNo, pageSize);
IPage pageList = taskSkillService.page(page, queryWrapper);
for (TaskSkill taskSkill1 : pageList.getRecords()){