snakerflow-starter / snakerflow-spring-boot-starter

基于开源SnakerFlow工作流引擎,将其和springboot进行整合成为一个能够快速工程应用的轻量级工作流引擎组件,适用于常见的业务审批流程。本着轻量、简单、灵巧理念设计,定位于简单集成,多环境支持。
571 stars 173 forks source link

snakerflow-spring-boot-starter #12

Open zam121118 opened 3 years ago

zam121118 commented 3 years ago

系统依赖问题没法使用springboot 2.3.5+ 目前只能用2.0.0+版本;对应的使用snakerflow-spring-boot-starter 1.0.3版本,该版本存在问题

snakerEngineService.getEngine()
                .query()
                .getCCWorks(ccPage, new QueryFilter()
                    .setOperators(assignees)
                    .setState(1));

会报错Column 'creator' in field list is ambiguous Query 对应sql = select id,process_Id,order_State,priority,creator,cc.create_Time,end_Time,parent_Id,expire_Time,order_No,variable
from wf_cc_order cc
left join wf_hist_order o on cc.order_id = o.id
where 1=1 and cc.actor_Id in(?,?) and cc.status = 1中creator没有指出具体的表导致问题

bigfish1129 commented 3 years ago

“系统依赖问题没法使用springboot 2.3.5+ 目前只能用2.0.0+版本” 这个只能自己单独引用了snakerFlow

在 2021-06-11 16:50:32,"amy" @.***> 写道:

系统依赖问题没法使用springboot 2.3.5+ 目前只能用2.0.0+版本;对应的使用snakerflow-spring-boot-starter 1.0.3版本,该版本存在问题

snakerEngineService.getEngine()

            .query()

            .getCCWorks(ccPage, new QueryFilter()

                .setOperators(assignees)

                .setState(1));

会报错Column 'creator' in field list is ambiguous Query 对应sql = select id,process_Id,order_State,priority,creator,cc.create_Time,end_Time,parent_Id,expire_Time,order_No,variable from wf_cc_order cc left join wf_hist_order o on cc.order_id = o.id where 1=1 and cc.actor_Id in(?,?) and cc.status = 1中creator没有指出具体的表导致问题

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zam121118 commented 3 years ago

“系统依赖问题没法使用springboot 2.3.5+ 目前只能用2.0.0+版本” 这个只能自己单独引用了snakerFlow 在 2021-06-11 16:50:32,"amy" @.***> 写道: 系统依赖问题没法使用springboot 2.3.5+ 目前只能用2.0.0+版本;对应的使用snakerflow-spring-boot-starter 1.0.3版本,该版本存在问题 snakerEngineService.getEngine() .query() .getCCWorks(ccPage, new QueryFilter() .setOperators(assignees) .setState(1)); 会报错Column 'creator' in field list is ambiguous Query 对应sql = select id,process_Id,order_State,priority,creator,cc.create_Time,end_Time,parent_Id,expire_Time,order_No,variable from wf_cc_order cc left join wf_hist_order o on cc.order_id = o.id where 1=1 and cc.actor_Id in(?,?) and cc.status = 1中creator没有指出具体的表导致问题 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

现在最简单的办法就是能不能修复下1.0.3版本的bug,AbstractDBAccess.java文件的sql中creator改为cc.creator,然后进行发布!