部署、批量部署模型

 简要描述:模型的部署,列表选中数据点击部署按钮,可以多条数据部署
  • 模型部署的接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 于春辉 2022-08-17 2022-08-17

请求URL:

  • /je/workflow/model/getInfoById

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
Content-Type string 请求类型: application/json
authorization string 请求内容签名

请求参数:

参数名 是否必须 类型 说明
pkValue String 主键信息
tableCode String 表名

返回示例:

正确时返回:

{
      code: "1000"
      data: {SY_MODIFYORGID: "T59SC4A2w0BlMM91Nf4", PROCESSINFO_MODEL_ID: "fd68a9e8-1f9b-11ed-b99e-0242f87b94e8",…}
      JE_WORKFLOW_PROCESSINFO_ID: "2c746706a2444021a302cc214cc3f9ce"
      PROCESSINFO_ATTACHED_FUNC_CODES: ""
      PROCESSINFO_ATTACHED_FUNC_IDS: ""
      PROCESSINFO_ATTACHED_FUNC_NAMES: ""
      PROCESSINFO_CONTENT_TEMPLATE: ""
      PROCESSINFO_DEPLOY: "1"
      PROCESSINFO_DEPLOYMENT_ENVIRONMENT: "YF"
      PROCESSINFO_DESCRIBE: null
      PROCESSINFO_FUNC_CODE: "JE_DEMO_KHXXC"
      PROCESSINFO_FUNC_ID: "eanMSvbbknWkwIYqCdJ"
      PROCESSINFO_FUNC_NAME: "客户信息C"
      PROCESSINFO_KEY: "TrxnYoQUxBHBkBXB1T6"
      PROCESSINFO_MODEL_ID: "fd68a9e8-1f9b-11ed-b99e-0242f87b94e8"
      PROCESSINFO_NAME: "招待费申请"
      PROCESSINFO_RESOURCE_XML_ID: "af65ea30d140465799771e928eeb0792"
      PROCESSINFO_TYPE_CODE: "DEMO"
      PROCESSINFO_TYPE_NAME: "Demo流程"
      PROCESSINFO_VERSION: 1
      SY_COMPANY_ID: "V1R0gp2zJ3SvGFNvJdM"
      SY_COMPANY_NAME: "凯特伟业"
      SY_CREATEORGID: "T59SC4A2w0BlMM91Nf4"
      SY_CREATEORGNAME: "客户成功部"
      SY_CREATETIME: "2022-08-19 16:50:35"
      SY_CREATEUSERID: "b7ad8c798ef14b5993a09a83f704fc63"
      SY_CREATEUSERNAME: "肖海杰"
      SY_GROUP_COMPANY_ID: "8lP9PMNllXGz5FYj5BT"
      SY_GROUP_COMPANY_NAME: "凯特数智集团公司"
      SY_MODIFYORGID: "T59SC4A2w0BlMM91Nf4"
      SY_MODIFYORGNAME: "客户成功部"
      SY_MODIFYTIME: "2022-08-19 16:51:03"
      SY_MODIFYUSERID: "b7ad8c798ef14b5993a09a83f704fc63"
      SY_MODIFYUSERNAME: "肖海杰"
      SY_ORDERINDEX: null
      SY_ORG_ID: "systemdepartment"
      SY_PRODUCT_CODE: "demo"
      SY_PRODUCT_ID: "5d32e6ecbe9f4213801b2767b4eb4a14"
      SY_PRODUCT_NAME: "演示服务"
      SY_STATUS: "1"
      SY_TENANT_ID: "5ps0YOOodFJjTwIPepZ"
      SY_TENANT_NAME: "北京凯特伟业科技有限公司"
      metaInfo: "{\"nodeMaps\":{},\"jebpm\":{\"id\":\"JEBPM\",\"url\":\"http://jepaas.com\"},\"bounds\":{\"lowerRight\":{\"x\":1485,\"y\":700},\"upperLeft\":{\"x\":0,\"y\":0}},\"resourceId\":\"canvas\",\"properties\":{\"JE_WORKFLOW_PROCESSINFO_ID\":\"2c746706a2444021a302cc214cc3f9ce\",\"process_id\":\"TrxnYoQUxBHBkBXB1T6\",\"name\":\"招待费申请\",\"processBasicConfig\":{\"name\":\"招待费申请\",\"funcCode\":\"JE_DEMO_KHXXC\",\"funcName\":\"客户信息C\",\"funcId\":\"eanMSvbbknWkwIYqCdJ\",\"tableCode\":\"JE_DEMO_KHXX\",\"SY_PRODUCT_ID\":\"5d32e6ecbe9f4213801b2767b4eb4a14\",\"SY_PRODUCT_CODE\":\"demo\",\"SY_PRODUCT_NAME\":\"演示服务\",\"attachedFuncCodes\":\"\",\"attachedFuncNames\":\"\",\"attachedFuncIds\":\"\",\"contentModule\":\"\",\"processClassificationName\":\"Demo流程\",\"processClassificationCode\":\"DEMO\",\"processClassificationId\":\"NNRq9AavQCMR5a2vZYh\",\"deploymentEnvironment\":\"YF\"},\"startupSettings\":{\"canEveryoneStart\":\"0\",\"canEveryoneRolesId\":\"\",\"canEveryoneRolesName\":\"\",\"startExpression\":\"\",\"startExpressionFn\":\"\"},\"extendedConfiguration\":{\"canSponsor\":\"1\",\"canRetrieve\":\"1\",\"canReturn\":\"1\",\"canUrged\":\"1\",\"canCancel\":\"1\",\"canInvalid\":\"1\",\"canTransfer\":\"0\",\"canDelegate\":\"0\",\"easyLaunch\":\"0\",\"simpleApproval\":\"0\",\"hideStateInfo\":\"0\",\"hideTimeInfo\":\"0\"},\"customEventListeners\":[],\"messageSetting\":{\"messageDefinitions\":{\"flowBacklog\":\"\",\"title\":\"流程[{@PROCESS_NAME@}]提醒\",\"dwr\":\"流程提醒:由<font color=red>{@USER_NAME@}</font>在{@NOW_TIME@}给您提交了{@PROCESS_NAME@}任务,执行操作:{@SUBMIT_OPERATE@},执行意见:{@SUBMIT_COMMENTS@}\",\"email\":\"你有一条任务需要审批!\\n由{@USER_NAME@}在{@NOW_TIME@}给您提交了{@PROCESS_NAME@}流程任务,执行动作:{@SUBMIT_OPERATE@},执行意见:{@SUBMIT_COMMENTS@}\",\"note\":\"流程提醒:由{@USER_NAME@}在{@NOW_TIME@}给您提交了{@PROCESS_NAME@}任务,请尽快处理!\",\"thirdparty\":\"你有一条任务需要审批!\\n由{@USER_NAME@}在{@NOW_TIME@}给您{@SUBMIT_OPERATE@}了{@PROCESS_NAME@}流程任务,执行动作:{@SUBMIT_OPERATE@},执行意见:{@SUBMIT_COMMENTS@}\"},\"messages\":\"WEB\"},\"processButtonConfig\":[]},\"childShapes\":[{\"child\":[],\"bounds\":{},\"resourceId\":\"linecMozmOqj89Tbs7OOrHg\",\"childShapes\":[],\"stencil\":{\"id\":\"line\"},\"target\":[{\"resourceId\":\"taskovwDeSydJ6y46IdEoA9\"}],\"properties\":{\"resourceId\":\"linecMozmOqj89Tbs7OOrHg\",\"name\":\"\"},\"styleConfig\":{\"dashed\":\"0\",\"strokeColor\":\"\",\"fontSize\":\"12\",\"fontFamily\":\"宋体\",\"fontColor\":\"\"},\"source\":[{\"resourceId\":\"startmTW2wMAe6Ezqm1VlYMQ\"}]},{\"child\":[],\"bounds\":{\"x\":40,\"y\":156,\"width\":48,\"height\":48},\"resourceId\":\"startmTW2wMAe6Ezqm1VlYMQ\",\"childShapes\":[],\"stencil\":{\"id\":\"start\"},\"target\":[{\"resourceId\":\"linecMozmOqj89Tbs7OOrHg\"}],\"properties\":{\"resourceId\":\"startmTW2wMAe6Ezqm1VlYMQ\",\"name\":\"\"}},{\"child\":[],\"bounds\":{\"x\":620,\"y\":156,\"width\":48,\"height\":48},\"resourceId\":\"endbhsx4JcI6BF0ZrGMY7g\",\"childShapes\":[],\"stencil\":{\"id\":\"end\"},\"target\":[],\"properties\":{\"resourceId\":\"endbhsx4JcI6BF0ZrGMY7g\",\"name\":\"\"},\"formConfig\":{\"fieldAssignment\":{},\"fieldControl\":{},\"taskFormButton\":{},\"taskChildFunc\":{}}},{\"child\":[],\"bounds\":{},\"resourceId\":\"lineetyVOA4YNt9snnqBY1c\",\"childShapes\":[],\"stencil\":{\"id\":\"line\"},\"target\":[{\"resourceId\":\"task0WAawF9UcEYigQPtreB\"}],\"properties\":{\"resourceId\":\"lineetyVOA4YNt9snnqBY1c\",\"name\":\"\"},\"styleConfig\":{\"dashed\":\"0\",\"strokeColor\":\"\",\"fontSize\":\"12\",\"fontFamily\":\"宋体\",\"fontColor\":\"\"},\"source\":[{\"resourceId\":\"taskovwDeSydJ6y46IdEoA9\"}]},{\"child\":[],\"bounds\":{\"x\":180,\"y\":160,\"width\":80,\"height\":40},\"resourceId\":\"taskovwDeSydJ6y46IdEoA9\",\"childShapes\":[],\"stencil\":{\"id\":\"task\"},\"target\":[{\"resourceId\":\"lineetyVOA4YNt9snnqBY1c\"}],\"properties\":{\"categorydefinition\":\"kaiteUserTask\",\"name\":\"招待费申请\",\"formSchemeName\":\"\",\"formSchemeId\":\"\",\"listSynchronization\":\"0\",\"retrieve\":\"0\",\"Urge\":\"0\",\"invalid\":\"0\",\"transfer\":\"0\",\"delegate\":\"0\",\"formEditable\":\"0\",\"remind\":\"0\",\"simpleApproval\":\"0\",\"selectAll\":\"0\",\"asynTree\":\"0\",\"jump\":\"0\",\"logicalJudgment\":\"0\"},\"assignmentConfig\":{\"resource\":[{\"entryPath\":\"\",\"type\":\"departmentConfig\",\"name\":\"按部门处理\",\"resourceName\":\"客户成功部,售前客户服务,售后客户服务\",\"resourceCode\":\"300304,SQKHFW,SHKHFW\",\"resourceId\":\"T59SC4A2w0BlMM91Nf4,CIEdoVFw6ubmKVDXyUO,dvikZxDkEIgjEWDddZG\",\"id\":\"XZYAuEMFKfek1VAko0C\",\"__action__\":\"doInsert\",\"_X_ROW_KEY\":\"row_1061\",\"resourceIcon\":\"fal fa-layer-group,fal fa-layer-group,fal fa-layer-group\",\"permission\":{\"company\":\"0\",\"companySupervision\":\"0\",\"dept\":\"0\",\"deptAll\":\"0\",\"directLeader\":\"0\",\"deptLeader\":\"0\",\"supervisionLeader\":\"0\",\"sql\":\"\",\"sqlRemarks\":\"\"},\"sql\":\"\",\"serviceName\":\"\",\"methodName\":\"\"}],\"referToCode\":\"LOGUSER\"},\"commitBreakdown\":[],\"dismissConfig\":{\"enable\":\"0\",\"dismissTaskNames\":\"\",\"dismissTaskIds\":[],\"commitBreakdown\":[],\"directSendAfterDismiss\":\"0\",\"forceCommitAfterDismiss\":\"0\",\"disableSendAfterDismiss\":\"0\",\"noReturn\":\"0\",\"directSendAfterReturn\":\"0\"},\"earlyWarningAndPostponement\":{\"enable\":\"0\",\"resource\":[]},\"passRoundConfig\":{\"enable\":\"0\",\"auto\":\"0\",\"circulationRules\":[]},\"buttonsConfig\":[],\"customEventListeners\":[],\"addSignature\":{\"enable\":\"0\",\"unlimited\":\"0\",\"notCountersigned\":\"0\",\"mandatoryCountersignature\":\"0\",\"circulationRules\":[]},\"approvalNotice\":{\"processInitiator\":\"1\",\"thisNodeApproved\":\"0\",\"thisNodeApprovalDirectlyUnderLeader\":\"0\",\"thisNodeApprovalDeptLeader\":\"0\"},\"formConfig\":{\"fieldAssignment\":{},\"fieldControl\":{},\"taskFormButton\":{},\"taskChildFunc\":{}}},{\"child\":[],\"bounds\":{},\"resourceId\":\"lineFb1Z7x0JbimTGku9s4q\",\"childShapes\":[],\"stencil\":{\"id\":\"line\"},\"target\":[{\"resourceId\":\"endbhsx4JcI6BF0ZrGMY7g\"}],\"properties\":{\"resourceId\":\"lineFb1Z7x0JbimTGku9s4q\",\"name\":\"\"},\"styleConfig\":{\"dashed\":\"0\",\"strokeColor\":\"\",\"fontSize\":\"12\",\"fontFamily\":\"宋体\",\"fontColor\":\"\"},\"source\":[{\"resourceId\":\"task0WAawF9UcEYigQPtreB\"}]},{\"child\":[],\"bounds\":{\"x\":400,\"y\":160,\"width\":80,\"height\":40},\"resourceId\":\"task0WAawF9UcEYigQPtreB\",\"childShapes\":[],\"stencil\":{\"id\":\"task\"},\"target\":[{\"resourceId\":\"lineFb1Z7x0JbimTGku9s4q\"}],\"properties\":{\"categorydefinition\":\"kaiteUserTask\",\"name\":\"领导审批\",\"formSchemeName\":\"\",\"formSchemeId\":\"\",\"listSynchronization\":\"0\",\"retrieve\":\"0\",\"Urge\":\"0\",\"invalid\":\"0\",\"transfer\":\"0\",\"delegate\":\"0\",\"formEditable\":\"0\",\"remind\":\"0\",\"simpleApproval\":\"0\",\"selectAll\":\"0\",\"asynTree\":\"0\",\"jump\":\"0\",\"logicalJudgment\":\"0\"},\"assignmentConfig\":{\"resource\":[{\"entryPath\":\"\",\"type\":\"departmentConfig\",\"name\":\"按部门处理\",\"resourceName\":\"客户成功部,售前客户服务,售后客户服务\",\"resourceCode\":\"300304,SQKHFW,SHKHFW\",\"resourceId\":\"T59SC4A2w0BlMM91Nf4,CIEdoVFw6ubmKVDXyUO,dvikZxDkEIgjEWDddZG\",\"id\":\"xDKdMuCHsmQQOGGUMAy\",\"__action__\":\"doInsert\",\"_X_ROW_KEY\":\"row_1066\",\"resourceIcon\":\"fal fa-layer-group,fal fa-layer-group,fal fa-layer-group\",\"permission\":{\"company\":\"0\",\"companySupervision\":\"0\",\"dept\":\"0\",\"deptAll\":\"0\",\"directLeader\":\"0\",\"deptLeader\":\"0\",\"supervisionLeader\":\"0\",\"sql\":\"\",\"sqlRemarks\":\"\"},\"sql\":\"\",\"serviceName\":\"\",\"methodName\":\"\"}],\"referToCode\":\"LOGUSER\"},\"commitBreakdown\":[],\"dismissConfig\":{\"enable\":\"0\",\"dismissTaskNames\":\"\",\"dismissTaskIds\":[],\"commitBreakdown\":[],\"directSendAfterDismiss\":\"0\",\"forceCommitAfterDismiss\":\"0\",\"disableSendAfterDismiss\":\"0\",\"noReturn\":\"0\",\"directSendAfterReturn\":\"0\"},\"earlyWarningAndPostponement\":{\"enable\":\"0\",\"resource\":[]},\"passRoundConfig\":{\"enable\":\"0\",\"auto\":\"0\",\"circulationRules\":[]},\"buttonsConfig\":[],\"customEventListeners\":[],\"addSignature\":{\"enable\":\"0\",\"unlimited\":\"0\",\"notCountersigned\":\"0\",\"mandatoryCountersignature\":\"0\",\"circulationRules\":[]},\"approvalNotice\":{\"processInitiator\":\"1\",\"thisNodeApproved\":\"0\",\"thisNodeApprovalDirectlyUnderLeader\":\"0\",\"thisNodeApprovalDeptLeader\":\"0\"},\"formConfig\":{\"fieldAssignment\":{},\"fieldControl\":{},\"taskFormButton\":{},\"taskChildFunc\":{}}}]}"
      metaInfoXml: "%3CmxGraphModel%3E%0A%20%20%3Croot%3E%0A%20%20%20
      message: "操作成功"
      rows: null
      success: true
      totalCount: null
}

错误时返回:

{
"errcode": 500,
"errmsg": "invalid appid"
}

返回参数说明:

参数名 类型 说明
group_level int 用户组id,1:超级管理员;2:普通用户

备注:

  • 更多返回错误代码请看首页的错误代码描述
最后编辑: 于春辉  文档更新时间: 2024-08-08 13:51   作者:于春辉