一、该问题的重现步骤是什么?
我发起请假案例工作流和我自己创建的出差工作流,传入的参与一样,
但是act_ru_task表当中请假案例工作流的ASSIGNEE字段有数据,我创建的那个出差工作流没数据。
而且,请假案例的TASK_DEF_KEY字段的数据是hr,而我创建的这个工作流的TASK_DEF_KEY字段的数据却是sid-6DD897B8-08B5-4597-86CD-327305DDEB4D。不知道这个问题是不是这个原因造成的。
而且,在hr的待签事务的页面查不到代签的工作流,在代办事务页面只能查询到请假案例的工作流,查询不到我自己创建的出差的工作流。
请大佬帮忙看一下,我这个问题非常的关键,现在项目当中等着我开发很多的工作流。不知道为什么在搭建好平台之后一致都是这样,应该如何解决。
二、你期待的结果是什么?实际看到的又是什么?
1. 发起我自己创建的那个出差工作流之后,act_ru_task表当中的ASSIGNEE字段有对应的数据,在hrr的待签页面或者待办页面可以查询到这条数据,行进审批业务操作;
2.项目当中的这个请假流程的案例当中的人事审批、经理审批和老板审批是和hr、manager和boss这三个用户关联起来的。admin发起事务和提交了请假流程之后,就能够转到hr、manager和boss这三个用户的账号中我的事务-待签事务的下面;
3. 但是我新开发出来的这个流程,就无法实将发起的流程提交到这些用户系统当中。我新开发的这个出差审批流程,但是发起实务之后,不知道审批流提交给哪个用户了。在那几个用户登陆后台的当中都没有找到,我不知道这个审批流程和那几个用户如何关联上去。
4. 请问,这些流程当中的审批人如何在流程设计的过程当中与系统当中的hr、manager和boss这三个用户的账号关联起来。在admin用户发起了事务之后,就能够在流程扭转的各个阶段,在hr、manager和boss这三个用户的账号的我的事务-待签事务、我的事务-待办事务这两个菜单下面看到admin用户发起的流程单。
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
后台:BladeX-Boot-master
版本:2.5.1.RELEASE
bladexX-tool版本:2.5.1.RELEASE
前端:Saber-master
操作系统:win10
四、请提供详细的错误堆栈信息,这很重要。
没有错误堆栈信息,只有部分控制台日志信息
2020-08-21 14:22:55.868 INFO 22200 --- [ XNIO-1 task-15] o.s.core.boot.logger.RequestLogAspect :
================ Request Start ================
===> GET: /blade-system/tenant/info Parameters: {"domain":"http://localhost:1888"}
===Headers=== sec-fetch-mode : cors
===Headers=== referer : http://localhost:1888/
===Headers=== sec-fetch-site : same-origin
===Headers=== accept-language : zh-CN,zh;q=0.9
===Headers=== x-forwarded-proto : http
===Headers=== cookie : Idea-bf44f9f1=a0dc23bd-13f1-428b-995e-0e30476f8b48; _ga=GA1.1.1179226712.1596441438
===Headers=== x-forwarded-port : 1888
===Headers=== x-forwarded-for : 127.0.0.1
===Headers=== accept : application/json, text/plain, */*
===Headers=== authorization : Basic c2FiZXI6c2FiZXJfc2VjcmV0
===Headers=== x-forwarded-host : localhost:1888
===Headers=== host : localhost:2828
===Headers=== connection : close
===Headers=== accept-encoding : gzip, deflate, br
===Headers=== user-agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36
================ Request End ================
2020-08-21 14:22:55.878 DEBUG 22200 --- [ XNIO-1 task-15] o.s.core.tenant.BladeTenantSqlParser : Original SQL: SELECT id,tenant_id,tenant_name,domain,background_url,linkman,contact_number,address,account_number,expire_time,license_key,create_user,create_dept,create_time,update_user,update_time,status,is_deleted FROM blade_tenant
WHERE is_deleted=0
AND (domain = ?)
2020-08-21 14:22:55.879 DEBUG 22200 --- [ XNIO-1 task-15] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT id, tenant_id, tenant_name, domain, background_url, linkman, contact_number, address, account_number, expire_time, license_key, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_tenant WHERE is_deleted = 0 AND (domain = ?)
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.TenantMapper.selectOne
Execute SQL :SELECT id, tenant_id, tenant_name, domain, background_url, linkman, contact_number, address, account_number, expire_time, license_key, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_tenant WHERE is_deleted = 0 AND (domain = ?)
Execute Time:0 ms
============== Sql End ==============
2020-08-21 14:22:55.884 INFO 22200 --- [ XNIO-1 task-15] o.s.core.boot.logger.RequestLogAspect :
================ Response Start ================
===Result=== {"code":200,"success":true,"data":{},"msg":"操作成功"}
<=== GET: /blade-system/tenant/info (15 ms)
================ Response End ================
2020-08-21 14:23:20.725 DEBUG 22200 --- [ XNIO-1 task-17] o.s.core.tenant.BladeTenantSqlParser : Original SQL: SELECT id,tenant_id,tenant_name,domain,background_url,linkman,contact_number,address,account_number,expire_time,license_key,create_user,create_dept,create_time,update_user,update_time,status,is_deleted FROM blade_tenant
WHERE is_deleted=0
AND (tenant_id = ?)
2020-08-21 14:23:20.726 DEBUG 22200 --- [ XNIO-1 task-17] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT id, tenant_id, tenant_name, domain, background_url, linkman, contact_number, address, account_number, expire_time, license_key, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_tenant WHERE is_deleted = 0 AND (tenant_id = ?)
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.TenantMapper.selectOne
Execute SQL :SELECT id, tenant_id, tenant_name, domain, background_url, linkman, contact_number, address, account_number, expire_time, license_key, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_tenant WHERE is_deleted = 0 AND (tenant_id = ?)
Execute Time:2 ms
============== Sql End ==============
2020-08-21 14:23:20.734 DEBUG 22200 --- [ XNIO-1 task-17] o.s.core.tenant.BladeTenantSqlParser : Original SQL: SELECT
*
FROM
blade_user
WHERE
tenant_id = ? and account = ? and password = ? and is_deleted = 0
2020-08-21 14:23:20.737 DEBUG 22200 --- [ XNIO-1 task-17] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT * FROM blade_user WHERE tenant_id = ? AND account = ? AND password = ? AND is_deleted = 0
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.UserMapper.getUser
Execute SQL :SELECT * FROM blade_user WHERE tenant_id = ? AND account = ? AND password = ? AND is_deleted = 0
Execute Time:0 ms
============== Sql End ==============
2020-08-21 14:23:20.743 DEBUG 22200 --- [ XNIO-1 task-17] o.s.core.tenant.BladeTenantSqlParser : Original SQL: SELECT
role_alias
FROM
blade_role
WHERE
id IN
(
?
)
and is_deleted = 0
2020-08-21 14:23:20.744 DEBUG 22200 --- [ XNIO-1 task-17] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT role_alias FROM blade_role WHERE id IN (?) AND is_deleted = 0
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.RoleMapper.getRoleAliases
Execute SQL :SELECT role_alias FROM blade_role WHERE id IN (?) AND is_deleted = 0
Execute Time:0 ms
============== Sql End ==============
2020-08-21 14:23:20.748 INFO 22200 --- [ XNIO-1 task-17] c.g.e.p.modules.auth.utils.TokenUtil : **************************************************************
2020-08-21 14:23:20.749 INFO 22200 --- [ XNIO-1 task-17] c.g.e.p.modules.auth.utils.TokenUtil : token = eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc
2020-08-21 14:23:20.749 INFO 22200 --- [ XNIO-1 task-17] c.g.e.p.modules.auth.utils.TokenUtil : **************************************************************
2020-08-21 14:23:20.979 INFO 22200 --- [ XNIO-1 task-18] o.s.core.boot.logger.RequestLogAspect :
================ Request Start ================
===> GET: /blade-system/menu/top-menu Parameters: {"user":{"clientId":"saber","userId":1123598821738675201,"account":"admin","userName":"admin","nickName":"管理员","tenantId":"000000","oauthId":"","deptId":"1123598813738675201","postId":"1123598817738675201","roleId":"1123598816738675201","roleName":"administrator"}}
===Headers=== sec-fetch-mode : cors
===Headers=== referer : http://localhost:1888/
===Headers=== sec-fetch-site : same-origin
===Headers=== blade-auth : bearer eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc
===Headers=== accept-language : zh-CN,zh;q=0.9
===Headers=== x-forwarded-proto : http
===Headers=== cookie : Idea-bf44f9f1=a0dc23bd-13f1-428b-995e-0e30476f8b48; _ga=GA1.1.1179226712.1596441438; saber-access-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc; saber-refresh-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInRva2VuX3R5cGUiOiJyZWZyZXNoX3Rva2VuIiwiY2xpZW50X2lkIjoic2FiZXIiLCJleHAiOjE1OTg1OTU4MDAsIm5iZiI6MTU5Nzk5MTAwMH0.JwzMCF8_ljWZqD_Aa_iwSdLFDtuODIRzGfhxk_CUm84
===Headers=== x-forwarded-port : 1888
===Headers=== x-forwarded-for : 127.0.0.1
===Headers=== accept : application/json, text/plain, */*
===Headers=== authorization : Basic c2FiZXI6c2FiZXJfc2VjcmV0
===Headers=== x-forwarded-host : localhost:1888
===Headers=== host : localhost:2828
===Headers=== connection : close
===Headers=== accept-encoding : gzip, deflate, br
===Headers=== user-agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36
================ Request End ================
2020-08-21 14:23:21.029 DEBUG 22200 --- [ XNIO-1 task-18] o.s.core.tenant.BladeTenantSqlParser : Original SQL: SELECT id,code,name,source,sort,tenant_id,create_user,create_dept,create_time,update_user,update_time,status,is_deleted FROM blade_top_menu
WHERE is_deleted=0
ORDER BY sort ASC
2020-08-21 14:23:21.031 DEBUG 22200 --- [ XNIO-1 task-18] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT id, code, name, source, sort, tenant_id, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_top_menu WHERE is_deleted = 0 ORDER BY sort ASC
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.TopMenuMapper.selectList
Execute SQL :SELECT id, code, name, source, sort, tenant_id, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_top_menu WHERE is_deleted = 0 ORDER BY sort ASC
Execute Time:2 ms
============== Sql End ==============
2020-08-21 14:23:21.040 INFO 22200 --- [ XNIO-1 task-18] o.s.core.boot.logger.RequestLogAspect :
================ Response Start ================
===Result=== {"code":200,"success":true,"data":[],"msg":"操作成功"}
<=== GET: /blade-system/menu/top-menu (60 ms)
================ Response End ================
2020-08-21 14:23:21.246 INFO 22200 --- [ XNIO-1 task-19] o.s.core.boot.logger.RequestLogAspect :
================ Request Start ================
===> GET: /blade-system/tenant/info Parameters: {"domain":"http://localhost:1888"}
===Headers=== sec-fetch-mode : cors
===Headers=== referer : http://localhost:1888/
===Headers=== sec-fetch-site : same-origin
===Headers=== blade-auth : bearer eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc
===Headers=== accept-language : zh-CN,zh;q=0.9
===Headers=== x-forwarded-proto : http
===Headers=== cookie : Idea-bf44f9f1=a0dc23bd-13f1-428b-995e-0e30476f8b48; _ga=GA1.1.1179226712.1596441438; saber-access-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc; saber-refresh-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInRva2VuX3R5cGUiOiJyZWZyZXNoX3Rva2VuIiwiY2xpZW50X2lkIjoic2FiZXIiLCJleHAiOjE1OTg1OTU4MDAsIm5iZiI6MTU5Nzk5MTAwMH0.JwzMCF8_ljWZqD_Aa_iwSdLFDtuODIRzGfhxk_CUm84
===Headers=== x-forwarded-port : 1888
===Headers=== x-forwarded-for : 127.0.0.1
===Headers=== accept : application/json, text/plain, */*
===Headers=== authorization : Basic c2FiZXI6c2FiZXJfc2VjcmV0
===Headers=== x-forwarded-host : localhost:1888
===Headers=== host : localhost:2828
===Headers=== connection : close
===Headers=== accept-encoding : gzip, deflate, br
===Headers=== user-agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36
================ Request End ================
2020-08-21 14:23:21.249 INFO 22200 --- [ XNIO-1 task-20] o.s.core.boot.logger.RequestLogAspect :
================ Request Start ================
===> GET: /blade-system/dict/dictionary Parameters: {"code":"flow"}
===Headers=== sec-fetch-mode : cors
===Headers=== referer : http://localhost:1888/
===Headers=== sec-fetch-site : same-origin
===Headers=== blade-auth : bearer eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc
===Headers=== accept-language : zh-CN,zh;q=0.9
===Headers=== x-forwarded-proto : http
===Headers=== cookie : Idea-bf44f9f1=a0dc23bd-13f1-428b-995e-0e30476f8b48; _ga=GA1.1.1179226712.1596441438; saber-access-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc; saber-refresh-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInRva2VuX3R5cGUiOiJyZWZyZXNoX3Rva2VuIiwiY2xpZW50X2lkIjoic2FiZXIiLCJleHAiOjE1OTg1OTU4MDAsIm5iZiI6MTU5Nzk5MTAwMH0.JwzMCF8_ljWZqD_Aa_iwSdLFDtuODIRzGfhxk_CUm84
===Headers=== x-forwarded-port : 1888
===Headers=== x-forwarded-for : 127.0.0.1
===Headers=== accept : application/json, text/plain, */*
===Headers=== authorization : Basic c2FiZXI6c2FiZXJfc2VjcmV0
===Headers=== x-forwarded-host : localhost:1888
===Headers=== host : localhost:2828
===Headers=== connection : close
===Headers=== accept-encoding : gzip, deflate, br
===Headers=== user-agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36
================ Request End ================
2020-08-21 14:23:21.250 DEBUG 22200 --- [ XNIO-1 task-19] o.s.core.tenant.BladeTenantSqlParser : Original SQL: SELECT id,tenant_id,tenant_name,domain,background_url,linkman,contact_number,address,account_number,expire_time,license_key,create_user,create_dept,create_time,update_user,update_time,status,is_deleted FROM blade_tenant
WHERE is_deleted=0
AND (domain = ?)
2020-08-21 14:23:21.250 INFO 22200 --- [ XNIO-1 task-21] o.s.core.boot.logger.RequestLogAspect :
================ Request Start ================
===> GET: /blade-system/menu/routes Parameters: {"topMenuId":null,"user":{"clientId":"saber","userId":1123598821738675201,"account":"admin","userName":"admin","nickName":"管理员","tenantId":"000000","oauthId":"","deptId":"1123598813738675201","postId":"1123598817738675201","roleId":"1123598816738675201","roleName":"administrator"}}
===Headers=== sec-fetch-mode : cors
===Headers=== referer : http://localhost:1888/
===Headers=== sec-fetch-site : same-origin
===Headers=== blade-auth : bearer eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc
===Headers=== accept-language : zh-CN,zh;q=0.9
===Headers=== x-forwarded-proto : http
===Headers=== cookie : Idea-bf44f9f1=a0dc23bd-13f1-428b-995e-0e30476f8b48; _ga=GA1.1.1179226712.1596441438; saber-access-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTU5Nzk5NDYwMCwibmJmIjoxNTk3OTkxMDAwfQ.O06QgLLi-wOjvXaMRcLPtfjMi7LpLt8Juo_miCChsHc; saber-refresh-token=eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInRva2VuX3R5cGUiOiJyZWZyZXNoX3Rva2VuIiwiY2xpZW50X2lkIjoic2FiZXIiLCJleHAiOjE1OTg1OTU4MDAsIm5iZiI6MTU5Nzk5MTAwMH0.JwzMCF8_ljWZqD_Aa_iwSdLFDtuODIRzGfhxk_CUm84
===Headers=== x-forwarded-port : 1888
===Headers=== x-forwarded-for : 127.0.0.1
===Headers=== accept : application/json, text/plain, */*
===Headers=== authorization : Basic c2FiZXI6c2FiZXJfc2VjcmV0
===Headers=== x-forwarded-host : localhost:1888
===Headers=== host : localhost:2828
===Headers=== connection : close
===Headers=== accept-encoding : gzip, deflate, br
===Headers=== user-agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36
================ Request End ================
2020-08-21 14:23:21.252 DEBUG 22200 --- [ XNIO-1 task-19] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT id, tenant_id, tenant_name, domain, background_url, linkman, contact_number, address, account_number, expire_time, license_key, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_tenant WHERE is_deleted = 0 AND (domain = ?)
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.TenantMapper.selectOne
Execute SQL :SELECT id, tenant_id, tenant_name, domain, background_url, linkman, contact_number, address, account_number, expire_time, license_key, create_user, create_dept, create_time, update_user, update_time, status, is_deleted FROM blade_tenant WHERE is_deleted = 0 AND (domain = ?)
Execute Time:0 ms
============== Sql End ==============
2020-08-21 14:23:21.261 INFO 22200 --- [ XNIO-1 task-19] o.s.core.boot.logger.RequestLogAspect :
================ Response Start ================
===Result=== {"code":200,"success":true,"data":{},"msg":"操作成功"}
<=== GET: /blade-system/tenant/info (14 ms)
================ Response End ================
2020-08-21 14:23:21.263 DEBUG 22200 --- [ XNIO-1 task-20] o.s.core.tenant.BladeTenantSqlParser : Original SQL: select code, dict_key, dict_value, sort, remark from blade_dict where code = ? and parent_id > 0 and is_sealed = 0 and is_deleted = 0
2020-08-21 14:23:21.265 DEBUG 22200 --- [ XNIO-1 task-20] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT code, dict_key, dict_value, sort, remark FROM blade_dict WHERE code = ? AND parent_id > 0 AND is_sealed = 0 AND is_deleted = 0
2020-08-21 14:23:21.266 DEBUG 22200 --- [ XNIO-1 task-21] o.s.core.tenant.BladeTenantSqlParser : Original SQL: select * from blade_menu where is_deleted = 0 and category = 1
2020-08-21 14:23:21.267 DEBUG 22200 --- [ XNIO-1 task-21] o.s.core.tenant.BladeTenantSqlParser : parser sql: SELECT * FROM blade_menu WHERE is_deleted = 0 AND category = 1
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.DictMapper.getList
Execute SQL :SELECT code, dict_key, dict_value, sort, remark FROM blade_dict WHERE code = ? AND parent_id > 0 AND is_sealed = 0 AND is_deleted = 0
Execute Time:0 ms
============== Sql End ==============
2020-08-21 14:23:21.271 INFO 22200 --- [ XNIO-1 task-20] o.s.core.boot.logger.RequestLogAspect :
================ Response Start ================
===Result=== {"code":200,"success":true,"data":[{"id":null,"parentId":null,"code":"flow","dictKey":"1","dictValue":"请假流程","sort":1,"remark":"leave","isSealed":null,"isDeleted":null},{"id":null,"parentId":null,"code":"flow","dictKey":"2","dictValue":"报销流程","sort":2,"remark":"expense","isSealed":null,"isDeleted":null},{"id":null,"parentId":null,"code":"flow","dictKey":"3","dictValue":"出差流程","sort":3,"remark":"business_trip","isSealed":null,"isDeleted":null}],"msg":"操作成功"}
<=== GET: /blade-system/dict/dictionary (21 ms)
================ Response End ================
============== Sql Start ==============
Execute ID :com.gzyd.erp.platform.modules.system.mapper.MenuMapper.allMenu
Execute SQL :SELECT * FROM blade_menu WHERE is_deleted = 0 AND category = 1
Execute Time:10 ms
============== Sql End ==============
2020-08-21 14:23:21.311 INFO 22200 --- [ XNIO-1 task-21] o.s.core.boot.logger.RequestLogAspect :
================ Response Start ================
===Result=== {"code":200,"success":true,"data":[{"id":"1123598815738675201","parentId":"0","code":"desk","name":"工作台","alias":"menu","path":"/desk","source":"iconfont iconicon_airplay","sort":1,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"children":[{"id":"1123598815738675202","parentId":"1123598815738675201","code":"notice","name":"通知公告","alias":"menu","path":"/desk/notice","source":"iconfont iconicon_sms","sort":1,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null}],"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675280","parentId":"0","code":"work","name":"我的事务","alias":"menu","path":"/work","source":"iconfont iconicon_notice","sort":2,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"children":[{"id":"1123598815738675281","parentId":"1123598815738675280","code":"work_start","name":"发起事务","alias":"menu","path":"/work/start","source":"iconfont iconicon_compile","sort":1,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675284","parentId":"1123598815738675280","code":"work_claim","name":"待签事务","alias":"menu","path":"/work/claim","source":"iconfont iconicon_ding","sort":2,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675288","parentId":"1123598815738675280","code":"work_todo","name":"待办事务","alias":"menu","path":"/work/todo","source":"iconfont iconicon_savememo","sort":2,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675292","parentId":"1123598815738675280","code":"work_send","name":"已发事务","alias":"menu","path":"/work/send","source":"iconfont iconicon_doc","sort":3,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675295","parentId":"1123598815738675280","code":"work_done","name":"办结事务","alias":"menu","path":"/work/done","source":"iconfont iconicon_dispose","sort":4,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null}],"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675210","parentId":"0","code":"monitor","name":"系统监控","alias":"menu","path":"/monitor","source":"iconfont icon-yanzhengma","sort":3,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"children":[{"id":"1123598815738675211","parentId":"1123598815738675210","code":"doc","name":"接口文档","alias":"menu","path":"http://localhost/doc.html","source":"iconfont iconicon_study","sort":1,"category":1,"action":0,"isOpen":2,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675212","parentId":"1123598815738675210","code":"admin","name":"服务治理","alias":"menu","path":"http://localhost:7002","source":"iconfont icon-canshu","sort":2,"category":1,"action":0,"isOpen":2,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733369658963251","parentId":"1123598815738675210","code":"elk","name":"ELK监控","alias":"menu","path":"http://localhost:5601/","source":"iconfont iconicon_cspace","sort":3,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733369658963252","parentId":"1123598815738675210","code":"zipkin","name":"Zipkin监控","alias":"menu","path":"http://localhost:9411/","source":"iconfont iconicon_task","sort":4,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733369658963253","parentId":"1123598815738675210","code":"turbine","name":"Turbine监控","alias":"menu","path":"http://localhost:7003/hystrix","source":"iconfont iconicon_subordinate","sort":5,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733369658963254","parentId":"1123598815738675210","code":"sentinel","name":"Sentinel管理","alias":"menu","path":"http://localhost:8858","source":"iconfont iconicon_safety","sort":6,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733369658963255","parentId":"1123598815738675210","code":"es","name":"Elasticsearch管理","alias":"menu","path":"http://localhost:9100/","source":"iconfont iconfont iconicon_search","sort":7,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675213","parentId":"1123598815738675210","code":"log","name":"日志管理","alias":"menu","path":"/monitor/log","source":"iconfont iconicon_doc","sort":8,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"children":[{"id":"1123598815738675214","parentId":"1123598815738675213","code":"log_usual","name":"通用日志","alias":"menu","path":"/monitor/log/usual","source":null,"sort":1,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675215","parentId":"1123598815738675213","code":"log_api","name":"接口日志","alias":"menu","path":"/monitor/log/api","source":null,"sort":2,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675216","parentId":"1123598815738675213","code":"log_error","name":"错误日志","alias":"menu","path":"/monitor/log/error","source":null,"sort":3,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null}],"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null}],"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675217","parentId":"0","code":"tool","name":"研发工具","alias":"menu","path":"/tool","source":"iconfont icon-wxbgongju","sort":4,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"children":[{"id":"1123598815738675218","parentId":"1123598815738675217","code":"code","name":"代码生成","alias":"menu","path":"/tool/code","source":"iconfont iconicon_savememo","sort":1,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1161272593873321991","parentId":"1123598815738675217","code":"datasource","name":"数据源管理","alias":"menu","path":"/tool/datasource","source":"iconfont icon-caidanguanli","sort":2,"category":1,"action":0,"isOpen":1,"remark":null,"isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733121140551682","parentId":"1123598815738675217","code":"form","name":"表单设计","alias":"form","path":"https://form.avuejs.com/","source":"iconfont iconicon_compile","sort":3,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733349637844993","parentId":"1123598815738675217","code":"crud","name":"表格设计","alias":"crud","path":"https://crud.avuejs.com/","source":"iconfont iconicon_work","sort":4,"category":1,"action":0,"isOpen":2,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null}],"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675266","parentId":"0","code":"flow","name":"流程管理","alias":"menu","path":"/flow","source":"iconfont iconicon_send","sort":5,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"children":[{"id":"1123598815738675267","parentId":"1123598815738675266","code":"flow_model","name":"模型管理","alias":"menu","path":"/flow/model","source":"iconfont iconicon_discovery","sort":1,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675273","parentId":"1123598815738675266","code":"flow_deploy","name":"流程部署","alias":"menu","path":"/flow/deploy","source":"iconfont iconicon_cspace","sort":2,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675274","parentId":"1123598815738675266","code":"flow_manager","name":"流程管理","alias":"menu","path":"/flow/manager","source":"iconfont iconicon_cloud_history","sort":3,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1123598815738675278","parentId":"1123598815738675266","code":"flow_follow","name":"流程跟踪","alias":"menu","path":"/flow/follow","source":"iconfont iconicon_GPS","sort":4,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null}],"parentName":null,"categoryName":null,"actionName":null,"isOpenName":null},{"id":"1164733399668962208","parentId":"0","code":"business","name":"业务管理"
拿你的代码测试完了,没有问题,我感觉你是对flowable或者activity基础不熟导致的疑问。
首先两个概念再强调一下,之前已经给你看过相关帖子了,估计你没仔细看:
1、待签事务:流程分配给了一个角色组,同属于这个角色组的用户都可以看到这个流程,那么谁先签收(领用)这个流程,那就会把流程分配给自己,到待办事务去。
2、待办事务:明确分配给单个用户的流程,可以是自己主动签收(领用),也可以是流程发起人直接指定
而我看你的流程,第一步就是直接“分配”的用户,所以不用去看“待签模块”有没有数据,因为他根本不会有,具体看下图,你指定的是分配人字段,所以流程发起后,直接会到你指定的用户下面的待办模块。只有到后面的选择了“候选组”,才会跑到“待签模块”让后续的用户进行自行签收。
总结:这些注意点是我第三次和你说明,希望你能看进去,如果对flowable或者activity真的不熟,希望可以找些视频或者文档资料多看几遍,这样后续才会熟练,否则会一直都是这个解决了立马又会碰到另一个难题。
下面给你看下你的写的模块结果,我拿过来直接跑,没有做过修改,没有问题。如果你本地还是不行,那估计是自己写的业务代码有冲突,推荐你把这个模块的代码复制拷贝到一个纯净的BladeX-Boot工程,再跑一跑看看效果,然后再排查现有业务工程的影响之处。
扫一扫访问 Blade技术社区 移动端