| | |
| | | } |
| | | |
| | | @ApiOperation("查询已部署工作流列表") |
| | | @RequestMapping(value = "/getprocesslists", method = RequestMethod.POST) |
| | | @GetMapping(value = "/getprocesslists") |
| | | @ResponseBody |
| | | public TableDataInfo getlist(@RequestParam(required = false) String key, @RequestParam(required = false) String name, |
| | | @RequestParam(required = false) Boolean latest, Integer pageSize, Integer pageNum) { |
| | | @RequestParam(required = true) Boolean latest, Integer pageSize, Integer pageNum) { |
| | | ProcessDefinitionQuery queryCondition = repositoryService.createProcessDefinitionQuery(); |
| | | if (StringUtils.isNotEmpty(key)) { |
| | | queryCondition.processDefinitionKey(key); |
| | |
| | | |
| | | |
| | | @ApiOperation("查询所有模型") |
| | | @RequestMapping(value = "/modelLists", method = RequestMethod.POST) |
| | | @GetMapping(value = "/modelLists") |
| | | @ResponseBody |
| | | public TableDataInfo modelLists(@RequestParam(required = false) String key, @RequestParam(required = false) String name, |
| | | Integer pageSize, Integer pageNum) { |
| | |
| | | |
| | | |
| | | |
| | | # 工作流 Flowable 配置 |
| | | # 工作流 Flowable 配置,flowable完整的配置,参见:@see https://www.flowable.com/open-source/docs/bpmn/ch05a-Spring-Boot/#flowable-application-properties |
| | | flowable: |
| | | database-schema: project_management |
| | | database-schema-update: true # 自动更新flowable表结构,第一次连接数据库时可以设置为true |
| | | # 关闭各个模块生成表,目前只使用工作流基础表 |
| | | idm: |
| | | idm: # idm是flowable的身份管理模块:即用户、认证、权限等 |
| | | enabled: false |
| | | cmmn: |
| | | cmmn: # cmmn是flowable的案例管理模块,体现在flowable-ui中的:流程建模器、UI,@see https://www.flowable.com/open-source/docs/cmmn/ch06-cmmn |
| | | enabled: false |
| | | dmn: |
| | | dmn: # dmn是flowable的决策模型,体现在flowable-ui中的决策表 @see https://www.flowable.com/open-source/docs/dmn/ch06-DMN-Introduction |
| | | enabled: false |
| | | app: |
| | | enabled: false |
| | | app: # app的功能是为flowable在spring中高效运行而提供了很多bean,与flowable本身的内容无关 |
| | | enabled: true |