jihs преди 3 години
родител
ревизия
7ef210ce3d
променени са 1 файла, в които са добавени 18 реда и са изтрити 2 реда
  1. 18 2
      jeecg-boot/jeecg-boot-module-activiti/src/main/java/org/jeecg/modules/activiti/web/ActBusinessController.java

+ 18 - 2
jeecg-boot/jeecg-boot-module-activiti/src/main/java/org/jeecg/modules/activiti/web/ActBusinessController.java

@@ -4,6 +4,7 @@ import cn.hutool.core.map.MapUtil;
 import cn.hutool.core.util.IdUtil;
 import cn.hutool.core.util.StrUtil;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.google.common.collect.Maps;
 import lombok.extern.slf4j.Slf4j;
 import org.activiti.engine.RuntimeService;
 import org.activiti.engine.TaskService;
@@ -23,14 +24,14 @@ import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.ResponseBody;
 import org.springframework.web.bind.annotation.RestController;
-
 import javax.servlet.http.HttpServletRequest;
 import java.io.IOException;
+import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 import java.util.Map;
-import java.util.stream.Collectors;
 
 /**
  *
@@ -211,4 +212,19 @@ public class ActBusinessController {
         });
         return Result.ok(actBusinessList);
     }
+
+
+    @RequestMapping(value = "/getTableInfoList")
+    @ResponseBody
+    public Result<Object> listData(){
+        List<Map> list = new ArrayList();
+        Map map = Maps.newHashMap();
+        map.put("text", "实例表单1");
+        map.put("routeName", 1);
+        map.put("businessTable", "test_demo1");
+        list.add(map);
+        return Result.ok(list);
+    }
+
+
 }