|
@@ -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;
|
|
|
|
|
|
/**
|
|
|
*
|
|
@@ -212,4 +213,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);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|