Advertisement
Evra70

Untitled

Apr 29th, 2020
906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <services-flow xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3.     xmlns="http://www.jleaf.org/jleaf/service-flow"
  4.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.     xsi:schemaLocation="http://www.jleaf.org/jleaf/service-flow service-flow-scheme-jleaf.xsd">
  6.  
  7.     <service name="getTodaySalesmanVisitSummaryBySalesmanId" output="outputDto">
  8.         <informations>
  9.             <description>Get Today Salesman Visit Summary By Salesman Id</description>
  10.             <info-in>
  11.                 <info name="result.header.userLoginId" type="Long" description="User login id"/>
  12.                 <info name="result.header.tenantLoginId" type="Long" description="Tenant login id"/>
  13.                 <info name="result.header.roleLoginId" type="Long" description="Role login id"/>
  14.                 <info name="result.header.datetime" type="String" description="Datetime"/>
  15.                 <info name="result.header.taskName" type="String" description="Task name"/>
  16.            
  17.                 <info name="result.payload.salesmanId" type="Long" description="salesman Id" />
  18.                 <info name="result.payload.apiKey" type="String" description="apiKey" />
  19.                 <info name="result.payload.date" type="String" description="date" />
  20.             </info-in>
  21.            
  22.             <info-out>
  23.                 <info name="result.salesmanVisitSummary" type="" description="salesmanVisitSummary {targetCall, realCall, callLeft, daysLeft, turnoverRealization}" />
  24.             </info-out>
  25.         </informations>
  26.         <mod-dto output="inputDto">
  27.             <key name="userLoginId" type="Long" from="${result.header.userLoginId}" />
  28.             <key name="roleLoginId" type="Long" from="${result.header.roleLoginId}" />
  29.             <key name="tenantLoginId" type="Long" from="${result.header.tenantLoginId}" />
  30.             <key name="datetime" type="String" from="${result.header.datetime}" />
  31.            
  32.             <key name="salesmanId" type="Long" from="${result.payload.salesmanId}" />
  33.             <key name="date" type="String" from="${result.payload.date}" />
  34.         </mod-dto>
  35.        
  36.         <call-bf name="getTodaySalesmanVisitSummaryBySalesmanId" input="${inputDto}" output="outputDto">
  37.             <onsuccess />
  38.             <onerror />
  39.         </call-bf>
  40.     </service>
  41.  
  42. </services-flow>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement