flowableModelInfo.yaml 5.51 KB
flowable:
  modelArr:
    - key: "newsBill" # 模型key
      name: "新闻管理" # 名称
      table: "t_sys_news" # 该模型关联的业务主表:用于获取消息通知对象
      msgTemplateArr: #消息模板
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "申请反馈"
          templateContent: "您发起的《{title}》新闻发布申请已通过"

        # 为接收人收到消息
        - templateType: "notice"
          templateTypeName: "新闻查阅"
          templateContent: "新闻《{title}》已发布,请及时查阅"

    - key: "noticeBill"
      name: "公告管理"
      table: "t_sys_notice"
      msgTemplateArr:
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "申请反馈"
          templateContent: "您发起的《{title}》公告发布申请已通过"
        # 为接收人收到消息
        - templateType: "notice"
          templateTypeName: "公告查阅"
          templateContent: "公告《{title}》已发布,请及时查阅"

    - key: "accident_bpm"
      name: "事故上报管理"
      table: "t_accident_report"
      msgTemplateArr:
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "申请反馈"
          templateContent: "您上报的{accidentTypeNameList}事故通过审批"
        # 为接收人收到消息
        - templateType: ""
          templateTypeName: ""
          templateContent: ""

#    - key: "dutyDelete"
#      name: "值班值守-取消审批"
#      table: "t_sys_dutyalter"
#      msgTemplateArr:
#          # 向发起人发送的消息模板
#        - templateType: "approved"
#          templateTypeName: "申请反馈"
#          templateContent: "您取消的{origPerson}{dutyDate}值班申请已通过审批" #您发起的5月12日早班值班人员修改申请已通过。
#          # 为接收人收到消息
#        - templateType: "notice"
#          templateTypeName: "值班调整"
#          templateContent: "您{dutyDate}{classes}值班已取消" #您5月12日早班值班已取消。 或 您已取消5月12日早班值班。

#    - key: "dutyUpdate"
#      name: "值班值守-修改审批"
#      table: "t_sys_dutyalter"
#      msgTemplateArr:
#        # 向发起人发送的消息模板
#        - templateType: "approved"
#          templateTypeName: "申请反馈"
#          templateContent: "您修改值班信息{dutyDate}{classes}{origPersonName}改成{nowPersonName}通过审批" #您修改值班信息5月4日全天班张三改成李四通过审批。
#        # 为接收人收到消息(指定字段的值 为 接收人) 原值班人
#        - templateType: "noticeOrigPerson"
#          templateTypeName: "值班调整"
#          templateReceiverObj: "origPerson" # 接收对象 的 赋值字段 名称 (多个值时英文,分割)
#          templateContent: "您{dutyDate}{classes}值班已取消" #您5月12日早班值班已取消。
#          # 为接收人收到消息(指定字段的值 为 接收人) 现值班人
#        - templateType: "noticeNowPerson"
#          templateTypeName: "值班调整"
#          templateReceiverObj: "nowPerson"
#          templateContent: "请于{dutyDate}进行{classes}值班" #请于5月12日进行早班(8:00~12:00)值班。

#    - key: "dutyAddOne"
#      name: "值班值守-单个新增审批"
#      table: "t_sys_duty"
#      msgTemplateArr:
#        # 向发起人发送的消息模板
#        - templateType: "approved"
#          templateTypeName: "申请反馈"
#          templateContent: "您创建的值班信息{dutyDate}通过审批" #您创建的值班信息5月4号-11号通过审批。
#        # 为接收人收到消息(指定字段的值 为 接收人) 原值班人
#        - templateType: "notice"
#          templateTypeName: "值班调整"
#          templateContent:  "请于{dutyDate}进行{classes}值班" #请于5月12日进行早班(8:00~12:00)值班。

    - key: "monthDuty"
      name: "值班值守-按月新增审批"
      table: "t_sys_duty"
      msgTemplateArr:
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "申请反馈"
          templateContent: "您创建的值班信息{dutyDate}通过审批" #您创建的值班信息5月份通过审批。

    - key: "dutyHandover"
      name: "值班值守-交接班审批"
      table: "t_sys_duty_log"
      msgTemplateArr:
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "交接反馈"
          templateContent: "你提交的{dutyDate}{classes}交接通过审批" #你提交的5月12日全天班交接通过审批

    - key: "checkStandard" # 模型key
      name: "巡检排查标准" # 名称
      table: "t_safe_hazard_standard" # 该模型关联的业务主表:用于获取消息通知对象
      msgTemplateArr: #消息模板
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "申请反馈"
          templateContent: "您创建的排查标准 [{standardName}] 已通过审批。"

    - key: "hiddenDangerReport" # 模型key
      name: "隐患上报" # 名称
      table: "t_safe_hazard_org" # 该模型关联的业务主表:用于获取消息通知对象
      msgTemplateArr: #消息模板
        # 向发起人发送的消息模板
        - templateType: "approved"
          templateTypeName: "申请反馈"
          templateContent: "您创建的隐患上报 [{name}] 已通过审批。"