diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
new file mode 100644
index 0000000..e96534f
--- /dev/null
+++ b/.idea/uiDesigner.xml
@@ -0,0 +1,124 @@
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+
\ No newline at end of file
diff --git a/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/controller/AutoStartProcessController.java b/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/controller/AutoStartProcessController.java
index f988ec5..b2f8e0b 100644
--- a/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/controller/AutoStartProcessController.java
+++ b/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/controller/AutoStartProcessController.java
@@ -10,9 +10,11 @@ import org.springblade.core.mp.support.Condition;
import org.springblade.core.mp.support.Query;
import org.springblade.core.tenant.annotation.NonDS;
import org.springblade.core.tool.api.R;
-import org.springblade.system.entity.AuthClient;
+import org.springblade.plugin.workbench.entity.AutoStartModel;
+import org.springblade.plugin.workbench.service.IAutoStartModelService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
@@ -27,16 +29,25 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/autoProcess")
@Api(value = "自动启动的工作流的原型信息", tags = "自动启动的工作流的原型信息")
public class AutoStartProcessController extends BladeController {
+ private final IAutoStartModelService autoStartModelService;
-// /**
-// * 分页
-// */
-// @GetMapping("/list")
-// @ApiOperationSupport(order = 1)
-// @ApiOperation(value = "分页", notes = "传入autoStartModel")
-// public R> list(AuthClient authClient, Query query) {
-// IPage pages = clientService.page(Condition.getPage(query), Condition.getQueryWrapper(authClient));
-// return R.data(pages);
-// }
+ /**
+ * 分页
+ */
+ @GetMapping("/list")
+ @ApiOperationSupport(order = 1)
+ @ApiOperation(value = "分页", notes = "传入autoStartModel")
+ public R> list(AutoStartModel model, Query query) {
+ IPage page = autoStartModelService.page(Condition.getPage(query), Condition.getQueryWrapper(model));
+ return R.data(page);
+ }
+
+ @GetMapping("/detail")
+ @ApiOperationSupport(order = 2)
+ @ApiOperation(value = "详情", notes = "详情")
+ public R detail(@RequestParam String id){
+
+ return null;
+ }
}
diff --git a/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/service/IAutoStartModelService.java b/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/service/IAutoStartModelService.java
index ef9bf62..d8bc23b 100644
--- a/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/service/IAutoStartModelService.java
+++ b/lab-plugin/lab-workflow/src/main/java/org/springblade/plugin/workbench/service/IAutoStartModelService.java
@@ -1,6 +1,7 @@
package org.springblade.plugin.workbench.service;
import com.baomidou.mybatisplus.extension.service.IService;
+import org.springblade.core.tool.api.R;
import org.springblade.plugin.workbench.entity.AutoStartModel;
import java.util.List;
@@ -13,4 +14,6 @@ import java.util.Map;
*/
public interface IAutoStartModelService extends IService {
List