伊利项目-增加审批中状态
This commit is contained in:
parent
747eaccbcc
commit
0902239d1b
Binary file not shown.
@ -3,9 +3,10 @@
|
||||
<process id="obj_7a8789103bcd4a15bcb6ff4c03e1aac0" name="CoE流程文件发布及废止" isClosed="false" processType="None" isExecutable="true">
|
||||
<documentation/>
|
||||
<extensionElements>
|
||||
<aws:extendProcess accessSecurityType="0" archivesId="0" cancelProcessExclusiveActivities="" cancelProcessExclusiveRule="" defaultInstanceTitle="CoE流程文件发布及废止" extendProperty="" IOBD="" IOR="" IOS="" IOC="" description="" iconFontColor="" iconFontCode="" processLevelType="0" shortMessageNotifyTemplate="" mailNotifyTemplate="" timeDuration="0" timeDurationText="" trackDiagramType="0" taskOpenType="" wariningTimeDuration="0" wariningTimeDurationText="" isFormSummary="false" formSummary="" dataTrigger="" isAutoArchives="false" isCancelProcess="true" isCancelTask="false" isDataShare="false" isDraftRemove="true" isMobileStart="false" isQuickStart="true" isSecurityLayer="false" isTrackForm="false" isWorklistPopMini="true" isTransferPriority="false" isMatrixDistributed="false" isResetLostHistory="true" isTpl="false" tplSource="" tplUpdateLog="" tplLockedInfo="W10=" processAccessPerm="" notifyConfig="" initSecurityLayer="-1" versionId="obj_7a8789103bcd4a15bcb6ff4c03e1aac0" processGroupId="obj_f2903c7c6a2d405a981a87e115d4261e" processGroupName="流程发布审批流程" categoryName="资产库周期管理" engineType="0" processVer="1" versionStatus="0" processAdministrator="admin" createUser="admin" createTime="2018-08-10 17:44:27" updateUser="admin" updateTime="2020-05-17 14:42:13" historyMaxVersion="11" releaseUser="" releaseTime="" messageDigest="" isManaged="false" isIgnoreMapRoleSelect="true" isMapRoleSelectAtStart="false">
|
||||
<aws:extendProcess accessSecurityType="0" archivesId="0" cancelProcessExclusiveActivities="" cancelProcessExclusiveRule="1" defaultInstanceTitle="CoE流程文件发布及废止" extendProperty="" IOBD="" IOR="" IOS="" IOC="" description="" iconFontColor="" iconFontCode="" processLevelType="0" shortMessageNotifyTemplate="" mailNotifyTemplate="" timeDuration="0" timeDurationText="" trackDiagramType="0" taskOpenType="" wariningTimeDuration="0" wariningTimeDurationText="0Days,0Hours,0Minutes,0Seconds,0Milliseconds" isFormSummary="false" formSummary="" dataTrigger="[]" isAutoArchives="false" isCancelProcess="true" isCancelTask="false" isDataShare="false" isDraftRemove="true" isMobileStart="false" isQuickStart="true" isSecurityLayer="false" isTrackForm="false" isWorklistPopMini="true" isTransferPriority="false" isMatrixDistributed="false" isResetLostHistory="true" isTpl="false" tplSource="" tplUpdateLog="" tplLockedInfo="W10=" processAccessPerm="" notifyConfig="{"taskReminder":[]}" initSecurityLayer="-1" versionId="obj_7a8789103bcd4a15bcb6ff4c03e1aac0" processGroupId="obj_f2903c7c6a2d405a981a87e115d4261e" processGroupName="流程发布审批流程" categoryName="资产库周期管理" engineType="0" processVer="1" versionStatus="0" processAdministrator="admin" createUser="admin" createTime="2018-08-10 17:44:27" updateUser="admin" updateTime="2022-07-08 10:34:21" historyMaxVersion="12" releaseUser="" releaseTime="" messageDigest="" isManaged="false" isIgnoreMapRoleSelect="true" isMapRoleSelectAtStart="false">
|
||||
<aws:variable defaultValue="false" variableName="isClose" variableType="String"/>
|
||||
<aws:listener clazz="com.actionsoft.apps.coe.pal.publisher.event.PublishExecuteListenerInterfaceImpl" event="PROCESS_AFTER_COMPLETE"/>
|
||||
<aws:listener clazz="com.actionsoft.apps.coe.pal.publisher.event.PublishProcessAfterDeleteListener" event="PROCESS_AFTER_DELETE"/>
|
||||
</aws:extendProcess>
|
||||
</extensionElements>
|
||||
<sequenceFlow id="obj_de4afbe4a0fe488782f8c26813d5e92b" sourceRef="obj_87371cad5d54457e8c325c805028a56f" targetRef="obj_953f9b786ae7441dad4ce32b7800fbf4">
|
||||
@ -88,7 +89,7 @@
|
||||
<aws:extendUserTask opinionOption="0" commentPosition="0" isBatchComplete="false" rendering="" isCCTask="false" ccTaskButtonLabel="传阅" isClaimTask="false" completeButtonLabel="办理" isDelegateTask="false" delegateTaskButtonLabel="委托办理" dynamicBehaviorType=" 2" isDynamicJump="false" isDynamicTask="true" emailNotifyTemplate="" emailNotifyType="0" isCommentsLib="false" commentsLibFilter="" commentsCycleCoverRule="" commentsStyle="" operatingAuthorization="[{"50ca2129-c252-4524-a63a-8ccc472c85da":{"isFormDataSnapshot":false,"isFormDataRemove":true,"isFormDataModify":true,"isFormDataSnapshotList":false,"isFormDataAdd":true,"isSaveRequired":false},"mainFormID":"50ca2129-c252-4524-a63a-8ccc472c85da"},{"mainFormID":"0f80a723-b7bd-4513-91e8-5c585d734f44","0f80a723-b7bd-4513-91e8-5c585d734f44":{"isFormDataSnapshot":false,"isFormDataRemove":true,"isFormDataModify":false,"isFormDataSnapshotList":false,"isFormDataAdd":true,"isEditSecurity":true,"isSaveRequired":true}}]" addressConfig="eyJmaWx0ZXIiOnsicmVhZG9ubHkiOmZhbHNlLCJhZGRyZXNzU2V0dGluZyI6eyJyb290RGV0cElkIjoiIiwibGF5ZXJGcm9tIjoiIiwibGF5ZXJUbyI6IiIsImlzRGlzcGxheU1hcCI6ZmFsc2UsInJhbmdlIjoiZGVwYXJ0bWVudHxyb2xlfHRlYW0iLCJmaWx0ZXJDbGFzcyI6IiJ9fSwiZm9yUmFuZ2UiOiJhZHJfY2N8YWRyX2RlbHxhZHJfc2lnbnxhZHJfdGVhbSJ9" formToKMSOption="{"cardName":"","cardCreateUser":"@uid","dimensionIdJsonArray":[],"option":"none"}" isHiddenFormToolbar="false" isIgnoreTask="false" no="3" isPrintForm="false" printFormMaxTimes="-1" printConfig="{"printCommentControl":"","printTemplateFormDefId":"","optionName":"不指定","printPageSize":""}" isSupplyComment="true" isShareOpinion="false" isShortMessageNotify="false" isSupplyUnusualTransfer="false" timeDuration="0" timeDurationText="" isTraceOpinion="true" transferRestriction="" transferRestrictionType="0" dwAppSchemaPolicy="" wariningTimeDuration="0" dynamicJumpNums="" wariningTimeDurationText="" extendProperty="" customUniqueId="" notifyMessageTpl="" notifyConfig="{"taskReceived":[],"taskCC":[{"notifyType":"enterpriseWechat"},{"notifyType":"dingTalk"}]}" IOBD="" IOR="" IOS="" IOC="" addUser="false" removeUser="false" incomingGatewayType="Parallel" branchGatewayType="Parallel">
|
||||
<aws:comment actionName="同意" isDefault="true" orderIndex="1" id="obj_4d5348918383486986c5c2ffc2d5eef0" actionType="" isBack="false" targetDefId="" remindType="" remindClazz="" isValidateForm="false" isBackToAll="false" compensateSQL="" defaultMsg=""/>
|
||||
<aws:comment actionName="不同意" isDefault="false" orderIndex="2" id="obj_2d1d3d324717442d82588344d6b01bae" actionType="" isBack="false" targetDefId="" remindType="" remindClazz="" isValidateForm="false" isBackToAll="false" compensateSQL="" defaultMsg=""/>
|
||||
<aws:formSet id="obj_60ea1c7cb8b34316a3988cdb59f8bcd4" formId="0f80a723-b7bd-4513-91e8-5c585d734f44" copyConfig="" orderIndex="0" historyConfig="">
|
||||
<aws:formSet id="obj_60ea1c7cb8b34316a3988cdb59f8bcd4" formId="0f80a723-b7bd-4513-91e8-5c585d734f44" copyConfig="" orderIndex="0" historyConfig="" shareLinkConfig="">
|
||||
<aws:boProperty id="obj_5f29315e2b9f4957bb20d5cdc1bcc295" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="PUBLISHID" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
<aws:boProperty id="obj_4c823916c77a4ee1a81647f9820556cd" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="TEAMID" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
<aws:boProperty id="obj_a4f374d6a4a04b84ababe94937c528ca" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="TEAMNAME" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
@ -124,7 +125,7 @@
|
||||
<userTask id="obj_87371cad5d54457e8c325c805028a56f" name="填写申请" implementation="" isForCompensation="false">
|
||||
<extensionElements>
|
||||
<aws:extendUserTask opinionOption="0" commentPosition="0" isBatchComplete="false" rendering="" isCCTask="false" ccTaskButtonLabel="传阅" isClaimTask="false" completeButtonLabel="办理" isDelegateTask="false" delegateTaskButtonLabel="委托办理" dynamicBehaviorType=" 2" isDynamicJump="false" isDynamicTask="false" emailNotifyTemplate="" emailNotifyType="0" isCommentsLib="false" commentsLibFilter="" commentsCycleCoverRule="" commentsStyle="" operatingAuthorization="[{"50ca2129-c252-4524-a63a-8ccc472c85da":{"isFormDataSnapshot":false,"isFormDataRemove":true,"isFormDataModify":true,"isFormDataSnapshotList":false,"isFormDataAdd":true,"isSaveRequired":false},"mainFormID":"50ca2129-c252-4524-a63a-8ccc472c85da"},{"mainFormID":"0f80a723-b7bd-4513-91e8-5c585d734f44","0f80a723-b7bd-4513-91e8-5c585d734f44":{"isFormDataSnapshot":false,"isFormDataRemove":true,"isFormDataModify":true,"isFormDataSnapshotList":false,"isFormDataAdd":true,"isEditSecurity":true,"isSaveRequired":true}}]" addressConfig="eyJmaWx0ZXIiOnsicmVhZG9ubHkiOmZhbHNlLCJhZGRyZXNzU2V0dGluZyI6eyJyb290RGV0cElkIjoiIiwibGF5ZXJGcm9tIjoiIiwibGF5ZXJUbyI6IiIsImlzRGlzcGxheU1hcCI6ZmFsc2UsImlzRGlzcGxheU90aGVyTWFwIjpmYWxzZSwicmFuZ2UiOiJkZXBhcnRtZW50fHJvbGV8dGVhbSIsImZpbHRlckNsYXNzIjoiIn19LCJmb3JSYW5nZSI6ImFkcl9jY3xhZHJfZGVsfGFkcl9zaWdufGFkcl90ZWFtIn0=" formToKMSOption="{"cardName":"","cardCreateUser":"@uid","dimensionIdJsonArray":[],"option":"none"}" isHiddenFormToolbar="false" isIgnoreTask="false" no="1" isPrintForm="false" printFormMaxTimes="-1" printConfig="{"printCommentControl":"","printTemplateFormDefId":"","optionName":"无","printPageSize":""}" isSupplyComment="true" isShareOpinion="false" isShortMessageNotify="false" isSupplyUnusualTransfer="false" timeDuration="0" timeDurationText="" isTraceOpinion="true" transferRestriction="" transferRestrictionType="0" dwAppSchemaPolicy="" wariningTimeDuration="0" dynamicJumpNums="" wariningTimeDurationText="" extendProperty="" customUniqueId="" notifyMessageTpl="" notifyConfig="" IOBD="" IOR="" IOS="" IOC="" addUser="false" removeUser="false" incomingGatewayType="Parallel" branchGatewayType="Parallel">
|
||||
<aws:formSet id="obj_de0e2adbdd3641ea8d8057afa3280cc0" formId="0f80a723-b7bd-4513-91e8-5c585d734f44" copyConfig="" orderIndex="0" historyConfig="">
|
||||
<aws:formSet id="obj_de0e2adbdd3641ea8d8057afa3280cc0" formId="0f80a723-b7bd-4513-91e8-5c585d734f44" copyConfig="" orderIndex="0" historyConfig="" shareLinkConfig="">
|
||||
<aws:boProperty id="obj_4fadf1aeef584251ae3c1e97046d6142" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="PUBLISHID" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
<aws:boProperty id="obj_b1d9d5d7d5e34845944be4053cef5c02" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="TEAMID" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
<aws:boProperty id="obj_811afd98f0f04664b73511f495069de2" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="TEAMNAME" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
@ -162,7 +163,7 @@
|
||||
<aws:extendUserTask opinionOption="0" commentPosition="0" isBatchComplete="false" rendering="" isCCTask="false" ccTaskButtonLabel="传阅" isClaimTask="false" completeButtonLabel="办理" isDelegateTask="false" delegateTaskButtonLabel="委托办理" dynamicBehaviorType=" 2" isDynamicJump="false" isDynamicTask="true" emailNotifyTemplate="" emailNotifyType="0" isCommentsLib="false" commentsLibFilter="" commentsCycleCoverRule="" commentsStyle="" operatingAuthorization="[{"50ca2129-c252-4524-a63a-8ccc472c85da":{"isFormDataSnapshot":false,"isFormDataRemove":true,"isFormDataModify":true,"isFormDataSnapshotList":false,"isFormDataAdd":true,"isSaveRequired":false},"mainFormID":"50ca2129-c252-4524-a63a-8ccc472c85da"},{"mainFormID":"0f80a723-b7bd-4513-91e8-5c585d734f44","0f80a723-b7bd-4513-91e8-5c585d734f44":{"isFormDataSnapshot":false,"isFormDataRemove":true,"isFormDataModify":false,"isFormDataSnapshotList":false,"isFormDataAdd":true,"isEditSecurity":true,"isSaveRequired":true}}]" addressConfig="eyJmaWx0ZXIiOnsicmVhZG9ubHkiOmZhbHNlLCJhZGRyZXNzU2V0dGluZyI6eyJyb290RGV0cElkIjoiIiwibGF5ZXJGcm9tIjoiIiwibGF5ZXJUbyI6IiIsImlzRGlzcGxheU1hcCI6ZmFsc2UsInJhbmdlIjoiZGVwYXJ0bWVudHxyb2xlfHRlYW0iLCJmaWx0ZXJDbGFzcyI6IiJ9fSwiZm9yUmFuZ2UiOiJhZHJfY2N8YWRyX2RlbHxhZHJfc2lnbnxhZHJfdGVhbSJ9" formToKMSOption="{"cardName":"","cardCreateUser":"@uid","dimensionIdJsonArray":[],"option":"none"}" isHiddenFormToolbar="false" isIgnoreTask="false" no="2" isPrintForm="false" printFormMaxTimes="-1" printConfig="{"printCommentControl":"","printTemplateFormDefId":"","optionName":"不指定","printPageSize":""}" isSupplyComment="true" isShareOpinion="false" isShortMessageNotify="false" isSupplyUnusualTransfer="false" timeDuration="0" timeDurationText="" isTraceOpinion="true" transferRestriction="" transferRestrictionType="0" dwAppSchemaPolicy="" wariningTimeDuration="0" dynamicJumpNums="" wariningTimeDurationText="" extendProperty="" customUniqueId="" notifyMessageTpl="" notifyConfig="{"taskReceived":[],"taskCC":[{"notifyType":"enterpriseWechat"},{"notifyType":"dingTalk"}]}" IOBD="" IOR="" IOS="" IOC="" addUser="false" removeUser="false" incomingGatewayType="Parallel" branchGatewayType="Parallel">
|
||||
<aws:comment actionName="同意" isDefault="true" orderIndex="1" id="obj_c62f279bb4b247fab4794e18626d5e83" actionType="" isBack="false" targetDefId="" remindType="" remindClazz="" isValidateForm="false" isBackToAll="false" compensateSQL="" defaultMsg=""/>
|
||||
<aws:comment actionName="不同意" isDefault="false" orderIndex="2" id="obj_2cd2d2b84f1a4be3b2dbd7367b207df1" actionType="" isBack="false" targetDefId="" remindType="" remindClazz="" isValidateForm="false" isBackToAll="false" compensateSQL="" defaultMsg=""/>
|
||||
<aws:formSet id="obj_12f6e88413194aca97a7820ec3b9eb89" formId="0f80a723-b7bd-4513-91e8-5c585d734f44" copyConfig="" orderIndex="0" historyConfig="">
|
||||
<aws:formSet id="obj_12f6e88413194aca97a7820ec3b9eb89" formId="0f80a723-b7bd-4513-91e8-5c585d734f44" copyConfig="" orderIndex="0" historyConfig="" shareLinkConfig="">
|
||||
<aws:boProperty id="obj_8b6cf4ad1a94443e968cdaac3caaa1e8" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="PUBLISHID" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
<aws:boProperty id="obj_6f284a5ecce9482792bd82e3f2aad914" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="TEAMID" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
<aws:boProperty id="obj_bb55c6f89fbd460fb1e82e6f00432f79" boId="c493accc-61ba-4316-bc35-cee75b4db827" fieldName="TEAMNAME" isDisplay="true" isModify="true" isACSetting="false"/>
|
||||
@ -195,13 +196,20 @@
|
||||
</resourceAssignmentExpression>
|
||||
</potentialOwner>
|
||||
</userTask>
|
||||
<exclusiveGateway id="obj_b82ed46b73bf4ca18feb1d887d68ccf7" name="" default="obj_b24b37b1b1474ac78288dc9b1cf5d518"/>
|
||||
<exclusiveGateway id="obj_bcaa32eb548a4131bc6a0f19e5214989" name="" default="obj_524d645f7b7a4a3785a0b0a6fc181e46"/>
|
||||
<exclusiveGateway id="obj_b82ed46b73bf4ca18feb1d887d68ccf7" name="" default="obj_b24b37b1b1474ac78288dc9b1cf5d518" gatewayDirection="Unspecified">
|
||||
<incoming>obj_e1cd788a051240faaf3f757ee682ee3a</incoming>
|
||||
<outgoing>obj_b24b37b1b1474ac78288dc9b1cf5d518</outgoing>
|
||||
<outgoing>obj_b516fb5949f5427992c23f6040d7ac35</outgoing>
|
||||
</exclusiveGateway>
|
||||
<exclusiveGateway id="obj_bcaa32eb548a4131bc6a0f19e5214989" name="" default="obj_524d645f7b7a4a3785a0b0a6fc181e46" gatewayDirection="Unspecified">
|
||||
<incoming>obj_4722a64e6bba463783b0da3dad877bf3</incoming>
|
||||
<outgoing>obj_2f13faf8f4b6497a805156090ea7792d</outgoing>
|
||||
<outgoing>obj_524d645f7b7a4a3785a0b0a6fc181e46</outgoing>
|
||||
</exclusiveGateway>
|
||||
<exclusiveGateway id="obj_d111c76a31144b0a8948a35de43a4772" name="" default="obj_4ae3cf7420864a5bb976dee7ad4007e6" gatewayDirection="Unspecified">
|
||||
<incoming>obj_6cdeb4173e7f4c9c816c50e56b1567ad</incoming>
|
||||
<incoming>obj_2f13faf8f4b6497a805156090ea7792d</incoming>
|
||||
<incoming>obj_b516fb5949f5427992c23f6040d7ac35</incoming>
|
||||
<incoming>obj_27b273ab1e544fada1359aaa66eecdb2</incoming>
|
||||
<incoming>obj_b516fb5949f5427992c23f6040d7ac35</incoming>
|
||||
<outgoing>obj_4ae3cf7420864a5bb976dee7ad4007e6</outgoing>
|
||||
</exclusiveGateway>
|
||||
</process>
|
||||
|
||||
@ -1 +1 @@
|
||||
{"CheckOutTime":"2020-05-17 14:42:13","CheckOutIP":"0:0:0:0:0:0:0:1","CheckOutUser":"","CheckOutState":"IDLE"}
|
||||
{"CheckOutTime":"2022-07-08 10:34:21","CheckOutIP":"0:0:0:0:0:0:0:1","CheckOutUser":"admin","CheckOutState":"CHECKOUT"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.6 KiB |
@ -3,9 +3,10 @@
|
||||
<process id="obj_d2b56ab6bd96477b9b14fc355f3c5ee9" name="CoE流程发布申请流程" isClosed="false" processType="None" isExecutable="true">
|
||||
<documentation/>
|
||||
<extensionElements>
|
||||
<aws:extendProcess accessSecurityType="0" archivesId="0" cancelProcessExclusiveActivities="" cancelProcessExclusiveRule="1" defaultInstanceTitle="" extendProperty="" IOBD="" IOR="" IOS="" IOC="" description="" iconFontColor="" iconFontCode="" processLevelType="0" shortMessageNotifyTemplate="" mailNotifyTemplate="" timeDuration="0" timeDurationText="" trackDiagramType="0" taskOpenType="" wariningTimeDuration="0" wariningTimeDurationText="0Days,0Hours,0Minutes,0Seconds,0Milliseconds" isFormSummary="false" formSummary="" dataTrigger="[]" isAutoArchives="false" isCancelProcess="true" isCancelTask="false" isDataShare="false" isDraftRemove="true" isMobileStart="false" isQuickStart="true" isSecurityLayer="false" isTrackForm="false" isWorklistPopMini="true" isTransferPriority="false" isMatrixDistributed="false" isResetLostHistory="true" isTpl="false" tplSource="" tplUpdateLog="" tplLockedInfo="" processAccessPerm="" notifyConfig="{"taskReminder":[{"notifyType":"mail","templateId":"d52a7e15-1949-422a-97c0-25c30d820a53"}]}" initSecurityLayer="-1" versionId="obj_d2b56ab6bd96477b9b14fc355f3c5ee9" processGroupId="obj_f2903c7c6a2d405a981a87e115d4261e" processGroupName="流程发布审批流程" categoryName="资产库周期管理" engineType="0" processVer="1" versionStatus="0" processAdministrator="admin" createUser="admin" createTime="2014-08-14 17:12:15" updateUser="admin" updateTime="2021-07-08 14:18:14" historyMaxVersion="102" releaseUser="" releaseTime="" messageDigest="" isManaged="false" isIgnoreMapRoleSelect="true" isMapRoleSelectAtStart="false">
|
||||
<aws:extendProcess accessSecurityType="0" archivesId="0" cancelProcessExclusiveActivities="" cancelProcessExclusiveRule="1" defaultInstanceTitle="" extendProperty="" IOBD="" IOR="" IOS="" IOC="" description="" iconFontColor="" iconFontCode="" processLevelType="0" shortMessageNotifyTemplate="" mailNotifyTemplate="" timeDuration="0" timeDurationText="" trackDiagramType="0" taskOpenType="" wariningTimeDuration="0" wariningTimeDurationText="0Days,0Hours,0Minutes,0Seconds,0Milliseconds" isFormSummary="false" formSummary="" dataTrigger="[]" isAutoArchives="false" isCancelProcess="true" isCancelTask="false" isDataShare="false" isDraftRemove="true" isMobileStart="false" isQuickStart="true" isSecurityLayer="false" isTrackForm="false" isWorklistPopMini="true" isTransferPriority="false" isMatrixDistributed="false" isResetLostHistory="true" isTpl="false" tplSource="" tplUpdateLog="" tplLockedInfo="" processAccessPerm="" notifyConfig="{"taskReminder":[{"notifyType":"mail"}]}" initSecurityLayer="-1" versionId="obj_d2b56ab6bd96477b9b14fc355f3c5ee9" processGroupId="obj_f2903c7c6a2d405a981a87e115d4261e" processGroupName="流程发布审批流程" categoryName="资产库周期管理" engineType="0" processVer="1" versionStatus="0" processAdministrator="admin" createUser="admin" createTime="2014-08-14 17:12:15" updateUser="admin" updateTime="2022-07-08 10:29:30" historyMaxVersion="103" releaseUser="" releaseTime="" messageDigest="" isManaged="false" isIgnoreMapRoleSelect="true" isMapRoleSelectAtStart="false">
|
||||
<aws:variable defaultValue="false" variableName="isClose" variableType="String"/>
|
||||
<aws:listener clazz="com.actionsoft.apps.coe.pal.publisher.event.PublishExecuteListenerInterfaceImpl" event="PROCESS_AFTER_COMPLETE"/>
|
||||
<aws:listener clazz="com.actionsoft.apps.coe.pal.publisher.event.PublishProcessAfterDeleteListener" event="PROCESS_AFTER_DELETE"/>
|
||||
</aws:extendProcess>
|
||||
</extensionElements>
|
||||
<sequenceFlow id="obj_c645abdadb900001434bb15446501460" sourceRef="obj_c645abda52600001fb43199710001410" targetRef="obj_c643c74dc6800001bd741d7e1e40e4b0">
|
||||
|
||||
@ -1 +1 @@
|
||||
{"CheckOutTime":"2021-07-08 14:18:14","CheckOutIP":"0:0:0:0:0:0:0:1","CheckOutUser":"admin","CheckOutState":"CHECKOUT"}
|
||||
{"CheckOutTime":"2022-07-08 10:29:31","CheckOutIP":"0:0:0:0:0:0:0:1","CheckOutUser":"admin","CheckOutState":"CHECKOUT"}
|
||||
@ -1 +1 @@
|
||||
{"versionId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9","chartId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9","userIds":["admin"],"messages":[],"userNames":"管理员","remark":"","updateTime":"2021-07-08 14:18:14","definitionId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9"}
|
||||
{"versionId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9","chartId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9","userIds":["admin"],"messages":[],"userNames":"管理员","remark":"","updateTime":"2022-07-08 10:29:31","definitionId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9"}
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
{"versionId":103,"chartId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9","userIds":["admin"],"messages":[],"userNames":"管理员","remark":"","updateTime":"2021-07-08 14:18:14","definitionId":"obj_d2b56ab6bd96477b9b14fc355f3c5ee9"}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
@ -636,6 +636,18 @@ public class PublisherController {
|
||||
ProcessPublishWeb web = new ProcessPublishWeb(me);
|
||||
return web.querySaveStatus(processInstId);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更改模型文件的审批状态
|
||||
* @param me
|
||||
* @param repositoryIds
|
||||
* @param isApproval
|
||||
* @return
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal.publisher_update_isApproval_status")
|
||||
public String updateRepositoryModelStatus(UserContext me,String repositoryIds,int isApproval){
|
||||
ProcessPublishWeb publishWeb = new ProcessPublishWeb(me);
|
||||
return publishWeb.updateRepositoryModelStatus(repositoryIds,isApproval);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2854,12 +2854,15 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
SDK.getBOAPI().updateByBindId("BO_ACT_COE_PUBLISH", bindId, "SAVESTATUS", 2);
|
||||
String newBoName = "BO_ACT_COE_PUBLISH_N";
|
||||
SDK.getBOAPI().removeByBindId(newBoName, bindId);// 清空
|
||||
PALRepository repositoryDao = new PALRepository();
|
||||
if (!newArray.isEmpty()) {
|
||||
// 存储
|
||||
List<BO> list = new ArrayList<>();
|
||||
for (int i = 0; i < newArray.size(); i++) {
|
||||
JSONObject object = newArray.getJSONObject(i);
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(object.getString("publishFileId"));
|
||||
// 流程发布提交办理时文件状态改为审批中
|
||||
repositoryDao.updateIsApproval(1,model.getId());
|
||||
BO newBo = new BO();
|
||||
newBo.set("PUBLISHFILEID", model.getId());
|
||||
newBo.set("PUBLISHFILENAME", model.getName());
|
||||
@ -2879,6 +2882,8 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
for (int i = 0; i < changeArray.size(); i++) {
|
||||
JSONObject object = changeArray.getJSONObject(i);
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(object.getString("changeFileId"));
|
||||
// 流程发布提交办理时文件状态改为审批中
|
||||
repositoryDao.updateIsApproval(1,model.getId());
|
||||
PALRepositoryModel newModel = null;
|
||||
String newId = object.getString("changedFileIdNew");
|
||||
if (!UtilString.isEmpty(newId)) {
|
||||
@ -2905,6 +2910,8 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
for (int i = 0; i < stopArray.size(); i++) {
|
||||
JSONObject object = stopArray.getJSONObject(i);
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(object.getString("stopFileId"));
|
||||
// 流程发布提交办理时文件状态改为审批中
|
||||
repositoryDao.updateIsApproval(1,model.getId());
|
||||
BO stopBo = new BO();
|
||||
stopBo.set("STOPFILENAME", model.getName());
|
||||
stopBo.set("STOPFILEID", model.getId());
|
||||
@ -3019,4 +3026,16 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
return ro.toString();
|
||||
}
|
||||
|
||||
public String updateRepositoryModelStatus(String repositoryIds,int isApproval){
|
||||
if (UtilString.isEmpty(repositoryIds)) {
|
||||
return ResponseObject.newErrResponse("参数异常").toString();
|
||||
}
|
||||
String[] ids = repositoryIds.split(",");
|
||||
PALRepository repositoryDao = new PALRepository();
|
||||
for (String id : ids) {
|
||||
repositoryDao.updateIsApproval(isApproval,id);
|
||||
}
|
||||
return ResponseObject.newOkResponse().toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,50 @@
|
||||
package com.actionsoft.apps.coe.pal.publisher.event;
|
||||
|
||||
import com.actionsoft.apps.coe.pal.pal.repository.dao.PALRepository;
|
||||
import com.actionsoft.apps.coe.pal.publisher.constant.PublisherConstant;
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.bpmn.engine.core.delegate.ProcessExecutionContext;
|
||||
import com.actionsoft.bpms.bpmn.engine.listener.ExecuteListener;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class PublishProcessAfterDeleteListener extends ExecuteListener {
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "流程实例删除后更改模型文件的状态信息";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getProvider() {
|
||||
return "aws-coe";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(ProcessExecutionContext param) throws Exception {
|
||||
String processInstId = param.getProcessInstance().getId();
|
||||
// 发布的
|
||||
List<BO> bolistN = SDK.getBOAPI().query(PublisherConstant.BOSUBTABLE_N).bindId(processInstId).list();
|
||||
PALRepository repositoryDao = new PALRepository();
|
||||
if (bolistN != null) {
|
||||
for (BO boN : bolistN) {
|
||||
repositoryDao.updateIsApproval(0,boN.get("PUBLISHFILEID").toString());
|
||||
}
|
||||
}
|
||||
// 变更的
|
||||
List<BO> bolistC = SDK.getBOAPI().query(PublisherConstant.BOSUBTABLE_C).bindId(processInstId).list();
|
||||
if (bolistC != null) {
|
||||
for (BO boC : bolistC) {
|
||||
repositoryDao.updateIsApproval(0,boC.get("CHANGEDFILEIDNEW").toString());
|
||||
}
|
||||
}
|
||||
// 停用的
|
||||
List<BO> bolistS = SDK.getBOAPI().query(PublisherConstant.BOSUBTABLE_S).bindId(processInstId).list();
|
||||
if (bolistS != null) {
|
||||
for (BO boS : bolistS) {
|
||||
repositoryDao.updateIsApproval(0,boS.get("STOPFILEID").toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -440,4 +440,8 @@
|
||||
<cmd-bean name="com.actionsoft.apps.coe.pal.publisher_save_status_query">
|
||||
<param name="processInstId"/>
|
||||
</cmd-bean>
|
||||
<cmd-bean name="com.actionsoft.apps.coe.pal.publisher_update_isApproval_status">
|
||||
<param name="repositoryIds"/>
|
||||
<param name="isApproval"/>
|
||||
</cmd-bean>
|
||||
</aws-actions>
|
||||
@ -1348,6 +1348,24 @@ function deleteFile(type) {
|
||||
tempIds.push($(this).attr('data-id'));
|
||||
}
|
||||
});
|
||||
var param = {
|
||||
cmd: 'com.actionsoft.apps.coe.pal.publisher_update_isApproval_status',
|
||||
repositoryIds: JSON.stringify(tempIds),
|
||||
wsId : wsId,
|
||||
sid: sid,
|
||||
isApproval: 0
|
||||
};
|
||||
$.ajax({
|
||||
url : "./jd",
|
||||
type : "POST",
|
||||
dataType : "JSON",
|
||||
async : true,
|
||||
data : param,
|
||||
success : function(r) {},
|
||||
error : function(XMLHttpRequest, textStatus, errorThrown) {
|
||||
$.simpleAlert("", 'error');
|
||||
}
|
||||
});
|
||||
for (var j = 0; j < tempIds.length; j++) {
|
||||
for (var m = 0; m < newTemp.length; m++) {
|
||||
if (tempIds[j] == newTemp[m].publishFileId) {
|
||||
|
||||
Binary file not shown.
@ -908,8 +908,8 @@ public class PALRepository extends DaoObject<PALRepositoryModel> {
|
||||
case "N":// 新发布,变为发布状态
|
||||
repositoryModel = (PALRepositoryModelImpl) PALRepositoryCache.getCache().get(targetId);
|
||||
if (repositoryModel == null) break;
|
||||
sql = "UPDATE " + PALRepositoryModelImpl.DATABASE_ENTITY + " set " + PALRepositoryModelImpl.FIELD_PL_ISPUBLISH + "=?, " + PALRepositoryModelImpl.FIELD_PL_ISSTOP + "=?, " + PALRepositoryModelImpl.FIELD_PL_PUBLISHDATE + "=? where " + PALRepositoryModelImpl.FIELD_UUID + "=?";
|
||||
Object [] args1 = {1, 0, date, targetId};
|
||||
sql = "UPDATE " + PALRepositoryModelImpl.DATABASE_ENTITY + " set " + PALRepositoryModelImpl.FIELD_PL_ISPUBLISH + "=?, " + PALRepositoryModelImpl.FIELD_PL_ISAPPROVAL + "=?, " + PALRepositoryModelImpl.FIELD_PL_ISSTOP + "=?, " + PALRepositoryModelImpl.FIELD_PL_PUBLISHDATE + "=? where " + PALRepositoryModelImpl.FIELD_UUID + "=?";
|
||||
Object [] args1 = {1,0, 0, date, targetId};
|
||||
int r1 = DBSql.update(sql, args1);
|
||||
if (r1 > 0) {
|
||||
repositoryModel.setPublish(true);
|
||||
@ -959,6 +959,21 @@ public class PALRepository extends DaoObject<PALRepositoryModel> {
|
||||
}
|
||||
}
|
||||
|
||||
public void updateIsApproval(int isApproval,String targetId){
|
||||
PALRepositoryModelImpl repositoryModel = (PALRepositoryModelImpl) PALRepositoryCache.getCache().get(targetId);
|
||||
if (repositoryModel == null) return;
|
||||
String sql = "UPDATE " + PALRepositoryModelImpl.DATABASE_ENTITY + " set " + PALRepositoryModelImpl.FIELD_PL_ISAPPROVAL + "=? where " + PALRepositoryModelImpl.FIELD_UUID + "=?";
|
||||
Object [] args1 = {isApproval, targetId};
|
||||
int r1 = DBSql.update(sql, args1);
|
||||
if (r1 > 0) {
|
||||
repositoryModel.setApproval(true);
|
||||
if (isApproval == 0) {
|
||||
repositoryModel.setApproval(false);
|
||||
}
|
||||
PALRepositoryCache.getCache().put(targetId, repositoryModel);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据pid获取 下级数据 获得使用中版本
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user