﻿<?xml version="1.0" encoding="utf-8" ?>
<!--
    通用新内容提醒模块注册    
    
    配置说明：
    Parent：此模块父菜单名称
    Name：模块名称
    Desc：模块语音提醒时的播报描述，手持系统会用到,没用到的可以不配
    DLL：继承通知接口的实现类所在的DLL动态库文件名
    Class：具体的实现类，全名称，即命名空间+类名
    Tag：特殊参数，可不配置
    
    内置二个通用通知接口的实现类：
    SQLNotification：
    根据SQL语句查询通知数目，使用{0}作为占位符。可返回新内容的ID表，或者直接返回新内容数目；
    此种配置下，Tag对应的是使用的SQL语句；
    示例如下：
    <WebBizModule>
      <Parent></Parent>
      <Name>示例查询语句</Name>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.SQLNotification</Class>
      <Tag>
        SELECT COUNT(用户ID) FROM FLOW_USERS WHERE 用户ID={0}
      </Tag>
    </WebBizModule>    
    
    ProcedureNotification：
    根据存储过程查询通知数目，要求此存储过程参数为INT类型的userID，返回结果是一张表；
    此种配置下，Tag对应的是使用的存储过程名称；
    示例如下：
    <WebBizModule>
      <Parent></Parent>
      <Name>示例存储过程</Name>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.ProcedureNotification</Class>
      <Tag>MyProcedureName</Tag>
    </WebBizModule>
-->
<Modules>
  <!--手持系统 -->
  <MobileModules>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>即时信息</Name>
      <Desc>短信息</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.SMSNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>计划任务</Name>
      <Desc>计划</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.MyPlanNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>维修养护</Name>
      <Desc>抢修工单</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.FlowCaseNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>检漏工单</Name>
      <Desc>检漏工单</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.LeakTaskNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>维修工单</Name>
      <Desc>维修工单</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.RepairCaseNotification</Class>
    </MobileModule>
  </MobileModules>

  <!--业务系统-->
  <WebBizModules>
    <WebBizModule>
      <Parent></Parent>
      <Name>示例查询语句</Name>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.SQLNotification</Class>
      <Tag>
        select count(main.CaseID)
        from CIV_GD_WX_CASELIST main
        , FLOWDOINGCASE doing
        , FLOWNODE node
        , FLOWCTRLTBL caseInfo
        , LANDFLOWGLOB landNow left join LANDFLOWGLOB landPre on landNow.PRESTEP = landPre.ID0
        , CIV_GD_WX_CASE_FLOW caseJoin
        where landNow.ID0 = doing.ID0
        and doing.活动ID = node.活动ID
        and doing.流程ID = caseInfo.流程ID
        and caseJoin.CaseID = main.CaseID
        and caseJoin.CaseNO = doing.案件编号
        and main.EXIST = 1
        and doing.承办人ID={0}
      </Tag>
    </WebBizModule>
    <WebBizModule>
      <Parent></Parent>
      <Name>示例存储过程</Name>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.ProcedureNotification</Class>
      <Tag>MyProcedureName</Tag>
    </WebBizModule>
  </WebBizModules>

  <!--WebGIS-->
  <WebGISModules>
    <WebGISModule>
      <Parent></Parent>
      <Name></Name>
      <Desc></Desc>
      <DLL></DLL>
      <Class></Class>
    </WebGISModule>
  </WebGISModules>
</Modules>