Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
1c7a54a0
Commit
1c7a54a0
authored
Apr 19, 2021
by
王衍超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.beecode.cn:kunlun/xyst_dinas/xyst_dinas_backend into develop
parents
64dc61b7
fbbfe657
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
17 additions
and
737 deletions
+17
-737
FlowChartInfoServiceImpl.java
...z/workflow/internal/service/FlowChartInfoServiceImpl.java
+0
-0
InzWorkflowServiceImpl.java
...inz/workflow/internal/service/InzWorkflowServiceImpl.java
+2
-2
SubmitOrgPathAppointRoleParticipantStrategy.java
...ticipant/SubmitOrgPathAppointRoleParticipantStrategy.java
+0
-0
InzApprovalTaskService.java
.../beecode/inz/workflow/service/InzApprovalTaskService.java
+0
-0
WorkflowBillService.java
...com/beecode/inz/workflow/service/WorkflowBillService.java
+0
-0
InzApprovalTaskController.java
...m/beecode/inz/workflow/web/InzApprovalTaskController.java
+0
-0
CommonParticipant.mk
...com/beecode/inz/workflow/participant/CommonParticipant.mk
+0
-31
DepartmentPicByLevelParticipant.mk
...z/workflow/participant/DepartmentPicByLevelParticipant.mk
+0
-26
FollowerMemberPicParticipant.mk
.../inz/workflow/participant/FollowerMemberPicParticipant.mk
+0
-26
SubmitDeptPathAppointRoleParticipant.mk
...kflow/participant/SubmitDeptPathAppointRoleParticipant.mk
+0
-26
ApprovalTask.mk
...main/model/com/beecode/inz/workflow/query/ApprovalTask.mk
+0
-190
BizProcess.mk
...c/main/model/com/beecode/inz/workflow/query/BizProcess.mk
+0
-146
WorkflowDefinition.mk
...odel/com/beecode/inz/workflow/query/WorkflowDefinition.mk
+0
-161
ApprovalTaskDefinition.mk
...l/com/beecode/inz/workflow/task/ApprovalTaskDefinition.mk
+0
-37
DepartmentPicByLevelParticipant.jmx
.../workflow/participant/DepartmentPicByLevelParticipant.jmx
+0
-26
FollowerMemberPicParticipant.jmx
...inz/workflow/participant/FollowerMemberPicParticipant.jmx
+0
-26
SubmitDeptPathAppointRoleParticipant.jmx
...flow/participant/SubmitDeptPathAppointRoleParticipant.jmx
+0
-26
ApprovalTask.jmx
...resources/com/beecode/inz/workflow/query/ApprovalTask.jmx
+6
-6
DinasTypeDaoImpl.java
...ava/com/xyst/dinas/biz/internal/dao/DinasTypeDaoImpl.java
+9
-5
Station$DinasTypeDetail.jmx
.../com/xyst/dinas/biz/datamodel/Station$DinasTypeDetail.jmx
+0
-3
No files found.
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/internal/service/FlowChartInfoServiceImpl.java
View file @
1c7a54a0
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/internal/service/InzWorkflowServiceImpl.java
View file @
1c7a54a0
...
@@ -83,10 +83,10 @@ public class InzWorkflowServiceImpl implements InzWorkflowService{
...
@@ -83,10 +83,10 @@ public class InzWorkflowServiceImpl implements InzWorkflowService{
private
CommonDao
commonDao
;
private
CommonDao
commonDao
;
@Autowired
@Autowired
p
rivate
StaffService
staffService
;
p
ublic
BapContext
bapContext
;
@Autowired
@Autowired
private
BapContext
bapContext
;
private
StaffService
staffService
;
@Autowired
@Autowired
private
BizTypeWorkflowConfigurationService
bizTypeWorkflowConfigurationService
;
private
BizTypeWorkflowConfigurationService
bizTypeWorkflowConfigurationService
;
...
...
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/participant/SubmitOrgPathAppointRoleParticipantStrategy.java
View file @
1c7a54a0
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/service/InzApprovalTaskService.java
View file @
1c7a54a0
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/service/WorkflowBillService.java
View file @
1c7a54a0
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/web/InzApprovalTaskController.java
View file @
1c7a54a0
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/participant/CommonParticipant.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>bcp.participant.Participant</type>
<package>com.beecode.inz.workflow.participant</package>
<name>CommonParticipant</name>
<title>普通审批参与者策略</title>
<tags></tags>
<description>支持按用户、部门、角色计算参与则,结果为职员</description>
</header>
<content>
<participation-strategy id='4fe95b1b-1a14-4af4-a57a-dc2f8abe4f54'>
<input title='职员'>
<name>staffs</name>
<description>json数组</description>
<type>string</type>
</input>
<input title='部门'>
<name>departments</name>
<description>json数组</description>
<type>string</type>
</input>
<input title='角色'>
<name>roles</name>
<description>json数组</description>
<type>string</type>
</input>
<implementation runtime='java' extension='com.beecode.inz.workflow.participant.CommomParticipantStrategy'></implementation>
</participation-strategy>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/participant/DepartmentPicByLevelParticipant.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>bcp.participant.Participant</type>
<package>com.beecode.inz.workflow.participant</package>
<name>DepartmentPicByLevelParticipant</name>
<title>层级负责人审批</title>
<tags></tags>
<description></description>
</header>
<content>
<participation-strategy id='82fd946d-ec0e-4055-b507-8624e0c57556'>
<input title='提交人Id'>
<name>submitterId</name>
<description></description>
<type>string</type>
</input>
<input title='层级'>
<name>level</name>
<description></description>
<type>int</type>
</input>
<implementation runtime='java' extension='com.beecode.inz.workflow.participant.DepartmentPicByLevelParticipantStrategy'></implementation>
</participation-strategy>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/participant/FollowerMemberPicParticipant.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>bcp.participant.Participant</type>
<package>com.beecode.inz.workflow.participant</package>
<name>FollowerMemberPicParticipant</name>
<title>团队负责人审批</title>
<tags></tags>
<description></description>
</header>
<content>
<participation-strategy id='76357756-6acd-40cb-b230-40e9f2f23bbc'>
<input title='业务类型标识'>
<name>bizTypeName</name>
<description></description>
<type>string</type>
</input>
<input title='业务数据Id'>
<name>bizDataId</name>
<description></description>
<type>uuid</type>
</input>
<implementation runtime='java' extension='com.beecode.inz.workflow.participant.FollowerMemberPicParticipantStrategy'></implementation>
</participation-strategy>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/participant/SubmitDeptPathAppointRoleParticipant.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>bcp.participant.Participant</type>
<package>com.beecode.inz.workflow.participant</package>
<name>SubmitDeptPathAppointRoleParticipant</name>
<title>提交人所在部门路径上指定角色</title>
<tags></tags>
<description></description>
</header>
<content>
<participation-strategy id='11e95b1b-1a14-4af4-a57a-dc2f8abe4f54'>
<input title='提交人Id'>
<name>submitterId</name>
<description></description>
<type>string</type>
</input>
<input title='角色'>
<name>roles</name>
<description>json数组</description>
<type>string</type>
</input>
<implementation runtime='java' extension='com.beecode.inz.workflow.participant.SubmitDeptPathAppointRoleParticipantStrategy'></implementation>
</participation-strategy>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/query/ApprovalTask.mk
deleted
100644 → 0
View file @
64dc61b7
<?xml version="1.0" encoding="UTF-8"?>
<model>
<header>
<type>
inz.query.Query
</type>
<package>
com.beecode.inz.workflow.query
</package>
<name>
ApprovalTask
</name>
<title>
审批任务查询
</title>
<description></description>
</header>
<content>
<customQuery
id=
"857fbab8-2715-4723-8cf7-be4941ba44de"
>
<kclass>
com.beecode.inz.workflow.datamodel.InzApprovalTask
</kclass>
<dataProcessor>
com.beecode.inz.workflow.query.InzApprovalTaskQueryDataProcessor
</dataProcessor>
<innerScene
title=
"待处理"
>
<id>
0c4b92d3-040f-4390-b9c0-8f0747dd0f9c
</id>
<javaImplement>
com.beecode.inz.workflow.internal.scene.ToDoTask
</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene
title=
"已处理"
>
<id>
aae59d63-4cc9-412b-a9d8-604ecf8bfa82
</id>
<javaImplement>
com.beecode.inz.workflow.internal.scene.ProcessedTask
</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<field
title=
"id"
>
<name>
id
</name>
<type>
uuid
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"对象名称"
>
<name>
bizObjectName
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"业务类型标识"
>
<name>
bizTypeName
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
'业务类型标题'
>
<name>
bizTypeTitle_v
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"业务数据id"
>
<name>
bizDataId
</name>
<type>
uuid
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"收到审批时间"
>
<name>
startTime
</name>
<type>
datetime
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"审批流程名称"
>
<name>
startTime
</name>
<type>
datetime
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"结束时间"
>
<name>
finishTime
</name>
<type>
datetime
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"任务名称"
>
<name>
taskName
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"任务标题"
>
<name>
title
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"任务状态"
>
<name>
taskState
</name>
<type>
int
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"任务参数"
>
<name>
parameters
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"审批结果"
>
<name>
result
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"审批意见"
>
<name>
suggestion
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"流程定义标题"
>
<name>
processInstance.workflow.workflowDefinition.title
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"流程实例id"
>
<name>
processInstance.id
</name>
<type>
uuid
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"流程发起人标题"
>
<name>
bizProcess.submitter.name
</name>
<type>
uuid
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field
title=
"流程实例业务类型标识"
>
<name>
bizProcess.bizTypeName
</name>
<type>
string
</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/query/BizProcess.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>inz.query.Query</type>
<package>com.beecode.inz.workflow.query</package>
<name>BizProcess</name>
<title>工作流业务流程查询</title>
<tags></tags>
<description></description>
</header>
<content>
<customQuery id='fa32de24-a3f8-4270-8c6b-7b537e9a119d'>
<kclass>com.beecode.inz.workflow.datamodel.InzBizProcess</kclass>
<dataProcessor>com.beecode.inz.workflow.query.InzBizProcessQueryDataProcessor</dataProcessor>
<innerScene title='进行中'>
<id>ecfb64aa-f7a7-46ea-a705-31cf9e4b7fe9</id>
<javaImplement>com.beecode.inz.workflow.internal.scene.UnderwayProcess</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已结束'>
<id>d5373cb4-4b63-43c4-8a5b-16d3f8079e57</id>
<javaImplement>com.beecode.inz.workflow.internal.scene.FinishedProcess</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<field title='id'>
<name>id</name>
<type>uuid</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='数据模型标识'>
<name>kclass</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='对象名称'>
<name>bizObjectName</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='业务类型标识'>
<name>bizTypeName</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='业务类型标题'>
<name>bizTypeTitle_v</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='触发动作'>
<name>triggerAction_v</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='业务数据id'>
<name>bizDataId</name>
<type>uuid</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='工作流状态'>
<name>workflowState</name>
<type>int</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='提交人名称'>
<name>submitter.name</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='提交时间'>
<name>submitTime</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='流程最后流转时间'>
<name>processInstance.lastTransferTime</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='审批流程标题'>
<name>processInstance.workflow.workflowDefinition.title</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title="流程实例业务类型标识">
<name>bizProcess.bizTypeName</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/query/WorkflowDefinition.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>inz.query.Query</type>
<package>com.beecode.inz.workflow.query</package>
<name>WorkflowDefinition</name>
<title>工作流定义查询</title>
<tags></tags>
<description></description>
</header>
<content>
<customQuery id='8e5dfb20-1b4e-4d6b-a44b-438ef6d09e91'>
<kclass>com.beecode.inz.workflow.datamodel.InzWorkflowDefinition</kclass>
<dataProcessor>com.beecode.inz.workflow.query.InzWorkflowDefinitionQueryDataProcessor</dataProcessor>
<innerScene title="使用中">
<id>0c4b92d3-040f-4390-b9c0-8f0747dd0f9c</id>
<javaImplement>com.beecode.inz.workflow.internal.scene.workflowdefinition.UsingScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title="已停用">
<id>aae59d63-4cc9-412b-a9d8-604ecf8bfa82</id>
<javaImplement>com.beecode.inz.workflow.internal.scene.workflowdefinition.DisabledScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title="已作废">
<id>aae59d63-4c11-412b-a9d8-114ecf8bfa11</id>
<javaImplement>com.beecode.inz.workflow.internal.scene.workflowdefinition.DiscardScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<field title='id'>
<name>id</name>
<type>uuid</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='名称'>
<name>name</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='标题'>
<name>title</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='创建时间'>
<name>createTime</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='创建人名称'>
<name>creator.name</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='修改时间'>
<name>modifyTime</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='修改人名称'>
<name>modifier.name</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='流程定义版本'>
<name>definitionVersion</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='业务类型标识'>
<name>bizTypeName</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='工作流配置'>
<name>workflowConfig</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='流程定义内容'>
<name>definitionContent</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='触发动作'>
<name>triggerAction_v</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='业务类型标题'>
<name>bizTypeTitle_v</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='流程状态'>
<name>definitionState</name>
<type>int</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/model/com/beecode/inz/workflow/task/ApprovalTaskDefinition.mk
deleted
100644 → 0
View file @
64dc61b7
<model>
<header>
<type>bcp.task.Task</type>
<package>com.beecode.inz.workflow.task</package>
<name>ApprovalTaskDefinition</name>
<title>审批任务定义</title>
<tags></tags>
<description></description>
</header>
<content>
<task-definition id='b2a081fe-dcc8-457d-b899-ae6739773095' type='com.beecode.inz.workflow.datamodel.InzApprovalTask' taskEventListener='com.beecode.inz.workflow.listener.TaskEventListenerImpl'>
<parameters>
<input title='业务对象名称'>
<name>bizObjectName</name>
<type>string</type>
<description></description>
</input>
<input title='业务数据id'>
<name>bizDataId</name>
<type>uuid</type>
<description></description>
</input>
<input title='业务类型标识'>
<name>bizTypeName</name>
<type>string</type>
<description></description>
</input>
<output title='审批结果'>
<name>result</name>
<type>int</type>
<description></description>
</output>
</parameters>
</task-definition>
</content>
</model>
\ No newline at end of file
backend/inz.workflow/src/main/resources/com/beecode/inz/workflow/participant/DepartmentPicByLevelParticipant.jmx
deleted
100644 → 0
View file @
64dc61b7
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-participant"
>
<specification>
1.0
</specification>
<id>
82fd946d-ec0e-4055-b507-8624e0c57556
</id>
<name>
com.beecode.inz.workflow.participant.DepartmentPicByLevelParticipant
</name>
<title>
层级负责人审批
</title>
<define>
bcp.participant
</define>
<define-version>
1.0
</define-version>
<content>
<m:participation-strategy>
<m:input>
<m:name>
submitterId
</m:name>
<m:title>
提交人Id
</m:title>
<m:description></m:description>
<m:type>
string
</m:type>
</m:input>
<m:input>
<m:name>
level
</m:name>
<m:title>
层级
</m:title>
<m:description></m:description>
<m:type>
int
</m:type>
</m:input>
<m:implementation
runtime=
"java"
>
com.beecode.inz.workflow.participant.DepartmentPicByLevelParticipantStrategy
</m:implementation>
</m:participation-strategy>
</content>
</metadata>
backend/inz.workflow/src/main/resources/com/beecode/inz/workflow/participant/FollowerMemberPicParticipant.jmx
deleted
100644 → 0
View file @
64dc61b7
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-participant"
>
<specification>
1.0
</specification>
<id>
76357756-6acd-40cb-b230-40e9f2f23bbc
</id>
<name>
com.beecode.inz.workflow.participant.FollowerMemberPicParticipant
</name>
<title>
团队负责人审批
</title>
<define>
bcp.participant
</define>
<define-version>
1.0
</define-version>
<content>
<m:participation-strategy>
<m:input>
<m:name>
bizTypeName
</m:name>
<m:title>
业务类型标识
</m:title>
<m:description></m:description>
<m:type>
string
</m:type>
</m:input>
<m:input>
<m:name>
bizDataId
</m:name>
<m:title>
业务数据Id
</m:title>
<m:description></m:description>
<m:type>
uuid
</m:type>
</m:input>
<m:implementation
runtime=
"java"
>
com.beecode.inz.workflow.participant.FollowerMemberPicParticipantStrategy
</m:implementation>
</m:participation-strategy>
</content>
</metadata>
backend/inz.workflow/src/main/resources/com/beecode/inz/workflow/participant/SubmitDeptPathAppointRoleParticipant.jmx
deleted
100644 → 0
View file @
64dc61b7
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
xmlns:m=
"http://www.beecode.cn/schema/bcp-participant"
>
<specification>
1.0
</specification>
<id>
11e95b1b-1a14-4af4-a57a-dc2f8abe4f54
</id>
<name>
com.beecode.inz.workflow.participant.SubmitDeptPathAppointRoleParticipant
</name>
<title>
提交人所在部门路径上指定角色
</title>
<define>
bcp.participant
</define>
<define-version>
1.0
</define-version>
<content>
<m:participation-strategy>
<m:input>
<m:name>
submitterId
</m:name>
<m:title>
提交人Id
</m:title>
<m:description></m:description>
<m:type>
string
</m:type>
</m:input>
<m:input>
<m:name>
roles
</m:name>
<m:title>
角色
</m:title>
<m:description>
json数组
</m:description>
<m:type>
string
</m:type>
</m:input>
<m:implementation
runtime=
"java"
>
com.beecode.inz.workflow.participant.SubmitDeptPathAppointRoleParticipantStrategy
</m:implementation>
</m:participation-strategy>
</content>
</metadata>
backend/inz.workflow/src/main/resources/com/beecode/inz/workflow/query/ApprovalTask.jmx
View file @
1c7a54a0
...
@@ -190,9 +190,9 @@
...
@@ -190,9 +190,9 @@
<m:desc></m:desc>
<m:desc></m:desc>
</m:field>
</m:field>
<m:field>
<m:field>
<m:name>
bizProcess.
submitter.n
ame
</m:name>
<m:name>
bizProcess.
bizTypeN
ame
</m:name>
<m:title>
流程
发起人标题
</m:title>
<m:title>
流程
实例业务类型标识
</m:title>
<m:type>
uuid
</m:type>
<m:type>
string
</m:type>
<m:ref>
<m:ref>
<m:name></m:name>
<m:name></m:name>
<m:type></m:type>
<m:type></m:type>
...
@@ -200,9 +200,9 @@
...
@@ -200,9 +200,9 @@
<m:desc></m:desc>
<m:desc></m:desc>
</m:field>
</m:field>
<m:field>
<m:field>
<m:name>
bizProcess.
bizTypeName
</m:name>
<m:name>
bizProcess.
id
</m:name>
<m:title>
流程实例业务
类型标识
</m:title>
<m:title>
流程实例业务
id
</m:title>
<m:type>
string
</m:type>
<m:type>
uuid
</m:type>
<m:ref>
<m:ref>
<m:name></m:name>
<m:name></m:name>
<m:type></m:type>
<m:type></m:type>
...
...
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/internal/dao/DinasTypeDaoImpl.java
View file @
1c7a54a0
...
@@ -91,15 +91,19 @@ public class DinasTypeDaoImpl extends AbstractBaseDao implements DinasTypeDao, D
...
@@ -91,15 +91,19 @@ public class DinasTypeDaoImpl extends AbstractBaseDao implements DinasTypeDao, D
// detachedCriteria.add(Restrictions.eq("del", false));
// detachedCriteria.add(Restrictions.eq("del", false));
// detachedCriteria.add(Restrictions.eq("station.id", stationId));
// detachedCriteria.add(Restrictions.eq("station.id", stationId));
KClass
bean
=
Amino
.
getStaticMetadataContext
().
getBean
(
ENTITY
,
KClass
.
class
);
KClass
bean
=
Amino
.
getStaticMetadataContext
().
getBean
(
STATION_DINAS_TYPE_DETAIL_
ENTITY
,
KClass
.
class
);
DetachedCriteria
detachedCriteria
=
DetachedCriteria
.
forEntityName
(
bean
.
getName
());
DetachedCriteria
detachedCriteria
=
DetachedCriteria
.
forEntityName
(
bean
.
getName
());
addRegionalCompanyFilter
(
detachedCriteria
);
addRegionalCompanyFilter
(
detachedCriteria
);
detachedCriteria
.
add
(
Restrictions
.
eq
(
"del"
,
false
));
detachedCriteria
.
add
(
Restrictions
.
eq
(
"del"
,
false
));
detachedCriteria
.
createAlias
(
"station
s
"
,
"station"
);
detachedCriteria
.
createAlias
(
"station"
,
"station"
);
detachedCriteria
.
add
(
Restrictions
.
eq
(
"station.
station.
id"
,
stationId
));
detachedCriteria
.
add
(
Restrictions
.
eq
(
"station.id"
,
stationId
));
detachedCriteria
.
add
(
Restrictions
.
eq
(
"station.del"
,
false
));
detachedCriteria
.
add
(
Restrictions
.
eq
(
"station.del"
,
false
));
detachedCriteria
.
addOrder
(
Order
.
desc
(
"sortOrder"
));
List
<
KObject
>
byCriteria
=
(
List
<
KObject
>)
template
.
findByCriteria
(
detachedCriteria
);
return
(
List
<
KObject
>)
template
.
findByCriteria
(
detachedCriteria
);
ArrayList
<
KObject
>
dinasTypes
=
new
ArrayList
<>();
for
(
KObject
byCriterion
:
byCriteria
)
{
dinasTypes
.
add
(
byCriterion
.
get
(
"dinasType"
));
}
return
dinasTypes
;
}
}
@Override
@Override
...
...
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/Station$DinasTypeDetail.jmx
View file @
1c7a54a0
...
@@ -26,9 +26,6 @@
...
@@ -26,9 +26,6 @@
</m:attribute>
</m:attribute>
<m:attribute>
<m:attribute>
<m:annotations>
<m:annotations>
<m:annotation>
<m:type>
bcp.type.json.JsonIgnore
</m:type>
</m:annotation>
</m:annotations>
</m:annotations>
<m:id>
61699557-6afc-43c2-adeb-fecfeb844536
</m:id>
<m:id>
61699557-6afc-43c2-adeb-fecfeb844536
</m:id>
<m:name>
dinasType
</m:name>
<m:name>
dinasType
</m:name>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment